Compare commits
2 Commits
gh-pages
...
smarter-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f3778f438 | ||
|
|
3b4636fa30 |
25
.github/workflows/docker-buildx.yml
vendored
25
.github/workflows/docker-buildx.yml
vendored
@@ -14,7 +14,8 @@ on:
|
|||||||
tags: [ 'v*.*.*' ]
|
tags: [ 'v*.*.*' ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Use docker.io for Docker Hub if empty
|
# Use docker.io for Docker Hub if empty
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
@@ -50,12 +51,6 @@ jobs:
|
|||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
# Workaround: https://github.com/docker/build-push-action/issues/461
|
|
||||||
- name: Setup Docker buildx
|
|
||||||
uses: docker/setup-buildx-action@v2.2.1
|
|
||||||
with:
|
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
|
||||||
|
|
||||||
# Login against a Docker registry except on PR
|
# Login against a Docker registry except on PR
|
||||||
# https://github.com/docker/login-action
|
# https://github.com/docker/login-action
|
||||||
- name: Log into registry ${{ env.REGISTRY }}
|
- name: Log into registry ${{ env.REGISTRY }}
|
||||||
@@ -65,27 +60,35 @@ jobs:
|
|||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Extract metadata (tags, labels) for Docker
|
# Extract metadata (tags, labels) for Docker
|
||||||
# https://github.com/docker/metadata-action
|
# https://github.com/docker/metadata-action
|
||||||
- name: Extract Docker metadata
|
- name: Extract Docker metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
|
# Workaround: https://github.com/docker/build-push-action/issues/461
|
||||||
|
- name: Setup Docker buildx
|
||||||
|
uses: docker/setup-buildx-action@v2.2.1
|
||||||
|
with:
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
# Build and push Docker image with Buildx (don't push on PR)
|
# Build and push Docker image with Buildx (don't push on PR)
|
||||||
# https://github.com/docker/build-push-action
|
# https://github.com/docker/build-push-action
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: build-and-push
|
id: build-and-push
|
||||||
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
context: .
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
#- name: Build
|
||||||
|
# run: |
|
||||||
|
# docker build --platform "linux/amd64,linux/arm64" --push . --file Dockerfile --tag ${{ steps.meta.outputs.tags }} --tag ${{ steps.meta.outputs.labels }} # will run buil
|
||||||
|
|
||||||
# Sign the resulting Docker image digest except on PRs.
|
# Sign the resulting Docker image digest except on PRs.
|
||||||
# This will only write to the public Rekor transparency log when the Docker
|
# This will only write to the public Rekor transparency log when the Docker
|
||||||
|
|||||||
46
.github/workflows/helm.yml
vendored
Normal file
46
.github/workflows/helm.yml
vendored
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# release.yaml
|
||||||
|
name: Release Charts
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Configure Git
|
||||||
|
run: |
|
||||||
|
git config user.name "$GITHUB_ACTOR"
|
||||||
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||||
|
|
||||||
|
# Optional step if GPG signing is used
|
||||||
|
- name: Prepare GPG key
|
||||||
|
run: |
|
||||||
|
gpg_dir=.cr-gpg
|
||||||
|
mkdir "$gpg_dir"
|
||||||
|
keyring="$gpg_dir/secring.gpg"
|
||||||
|
base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
|
||||||
|
passphrase_file="$gpg_dir/passphrase"
|
||||||
|
echo "$GPG_PASSPHRASE" > "$passphrase_file"
|
||||||
|
echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
|
||||||
|
echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
|
||||||
|
echo "sign: true" > cr.yaml
|
||||||
|
echo "key: Smarter Project" >> cr.yaml
|
||||||
|
env:
|
||||||
|
GPG_KEYRING_BASE64: "${{ secrets.GPG_KEYRING_BASE64 }}"
|
||||||
|
GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE }}"
|
||||||
|
|
||||||
|
- name: Run chart-releaser
|
||||||
|
uses: helm/chart-releaser-action@v1.4.1
|
||||||
|
with:
|
||||||
|
config: cr.yaml
|
||||||
|
env:
|
||||||
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: smarter-device-manager
|
name: smarter-device-manager
|
||||||
description: smarter-device-manager chart for SMARTER edge devices
|
description: smarter-device-manager chart for SMARTER edge devices
|
||||||
home: https://gitlab.com/smarter-project/smarter-device-manager/helm
|
home: https://github.com/smarter-device-manager
|
||||||
version: 0.0.3
|
version: 0.0.5
|
||||||
appVersion: v1.20.11
|
appVersion: v1.20.11
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
@@ -10,11 +10,7 @@ keywords:
|
|||||||
- device
|
- device
|
||||||
- hardware
|
- hardware
|
||||||
sources:
|
sources:
|
||||||
- https://gitlab.com/smarter-project/smarter-device-manager
|
- https://github.com/smarter-project/smarter-device-manager
|
||||||
#dependencies:
|
|
||||||
# - name: smarter-common
|
|
||||||
# repository: https://gitlab.com/smarter-project/documentation
|
|
||||||
# version: 0.0.1
|
|
||||||
|
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
@@ -26,5 +22,5 @@ annotations:
|
|||||||
email: alexandref75@gmail.com
|
email: alexandref75@gmail.com
|
||||||
artifacthub.io/prerelease: "false"
|
artifacthub.io/prerelease: "false"
|
||||||
artifacthub.io/signKey: |
|
artifacthub.io/signKey: |
|
||||||
fingerprint: 82AD709FEC4ECA4C84B093889BDC9DE410CFC23B
|
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
|
||||||
url: https://keybase.io/alexandref75/pgp_keys.asc
|
url: https://smarter-project.github.io/documentation/pgp_keys.asc
|
||||||
181
index.yaml
181
index.yaml
@@ -1,181 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
entries:
|
|
||||||
smarter-device-manager:
|
|
||||||
- annotations:
|
|
||||||
artifacthub.io/changes: |
|
|
||||||
- Fix template
|
|
||||||
- Add annotations
|
|
||||||
artifacthub.io/license: Apache-2.0
|
|
||||||
artifacthub.io/maintainers: |
|
|
||||||
- name: Alexandre Ferreira
|
|
||||||
email: alexandref75@gmail.com
|
|
||||||
artifacthub.io/prerelease: "false"
|
|
||||||
artifacthub.io/signKey: |
|
|
||||||
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
|
|
||||||
url: https://smarter-project.github.io/documentation/pgp_keys.asc
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: v1.20.12
|
|
||||||
created: "2022-11-22T14:42:55.980442932Z"
|
|
||||||
description: smarter-device-manager chart for SMARTER edge devices
|
|
||||||
digest: 9550de7af8b37ca7645c6b0db99a1e71ec3e2ee28f0e128b0daa09e1d8f34b45
|
|
||||||
home: https://getsmarter.io
|
|
||||||
icon: https://github.com/smarter-project/documentation/raw/main/ARM1636_Project_Logo_ST2_RGB_V1.png
|
|
||||||
keywords:
|
|
||||||
- kubernetes
|
|
||||||
- device
|
|
||||||
- hardware
|
|
||||||
kubeVersion: '>=1.16.0-0'
|
|
||||||
name: smarter-device-manager
|
|
||||||
sources:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager
|
|
||||||
urls:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager/releases/download/smarter-device-manager-0.0.9/smarter-device-manager-0.0.9.tgz
|
|
||||||
version: 0.0.9
|
|
||||||
- annotations:
|
|
||||||
artifacthub.io/changes: |
|
|
||||||
- Fix template
|
|
||||||
- Add annotations
|
|
||||||
artifacthub.io/license: Apache-2.0
|
|
||||||
artifacthub.io/maintainers: |
|
|
||||||
- name: Alexandre Ferreira
|
|
||||||
email: alexandref75@gmail.com
|
|
||||||
artifacthub.io/prerelease: "false"
|
|
||||||
artifacthub.io/signKey: |
|
|
||||||
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
|
|
||||||
url: https://smarter-project.github.io/documentation/pgp_keys.asc
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: v1.20.11
|
|
||||||
created: "2022-11-16T20:55:06.650821157Z"
|
|
||||||
description: smarter-device-manager chart for SMARTER edge devices
|
|
||||||
digest: e078454a543055896cd3a67c287a820e9595e6f56eb47db4ddbff77203f86d5f
|
|
||||||
home: https://getsmarter.io
|
|
||||||
icon: https://github.com/smarter-project/documentation/raw/main/ARM1636_Project_Logo_ST2_RGB_V1.png
|
|
||||||
keywords:
|
|
||||||
- kubernetes
|
|
||||||
- device
|
|
||||||
- hardware
|
|
||||||
kubeVersion: '>=1.16.0-0'
|
|
||||||
name: smarter-device-manager
|
|
||||||
sources:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager
|
|
||||||
urls:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager/releases/download/smarter-device-manager-0.0.8/smarter-device-manager-0.0.8.tgz
|
|
||||||
version: 0.0.8
|
|
||||||
- annotations:
|
|
||||||
artifacthub.io/changes: |
|
|
||||||
- Fix template
|
|
||||||
- Add annotations
|
|
||||||
artifacthub.io/license: Apache-2.0
|
|
||||||
artifacthub.io/maintainers: |
|
|
||||||
- name: Alexandre Ferreira
|
|
||||||
email: alexandref75@gmail.com
|
|
||||||
artifacthub.io/prerelease: "false"
|
|
||||||
artifacthub.io/signKey: |
|
|
||||||
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
|
|
||||||
url: https://smarter-project.github.io/documentation/pgp_keys.asc
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: v1.20.11
|
|
||||||
created: "2022-11-07T19:56:15.435518519Z"
|
|
||||||
description: smarter-device-manager chart for SMARTER edge devices
|
|
||||||
digest: 8d94e673a9302af53230a1e1d39dbedea111e08e63d03969079d566534dda725
|
|
||||||
home: https://getsmarter.io
|
|
||||||
icon: https://gitlab.com/uploads/-/system/group/avatar/59012546/ARM1636_Project_Logo_ST2_RGB_V1.png
|
|
||||||
keywords:
|
|
||||||
- kubernetes
|
|
||||||
- device
|
|
||||||
- hardware
|
|
||||||
kubeVersion: '>=1.16.0-0'
|
|
||||||
name: smarter-device-manager
|
|
||||||
sources:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager
|
|
||||||
urls:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager/releases/download/smarter-device-manager-0.0.7/smarter-device-manager-0.0.7.tgz
|
|
||||||
version: 0.0.7
|
|
||||||
- annotations:
|
|
||||||
artifacthub.io/changes: |
|
|
||||||
- Fix template
|
|
||||||
- Add annotations
|
|
||||||
artifacthub.io/license: Apache-2.0
|
|
||||||
artifacthub.io/maintainers: |
|
|
||||||
- name: Alexandre Ferreira
|
|
||||||
email: alexandref75@gmail.com
|
|
||||||
artifacthub.io/prerelease: "false"
|
|
||||||
artifacthub.io/signKey: |
|
|
||||||
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
|
|
||||||
url: https://smarter-project.github.io/documentation/pgp_keys.asc
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: v1.20.11
|
|
||||||
created: "2022-11-07T19:44:10.642325237Z"
|
|
||||||
description: smarter-device-manager chart for SMARTER edge devices
|
|
||||||
digest: 53fd6d0507516880af0535c4f1944310e743e670da2426597a1d3ec12b556dc9
|
|
||||||
home: https://github.com/smarter-device-manager
|
|
||||||
keywords:
|
|
||||||
- kubernetes
|
|
||||||
- device
|
|
||||||
- hardware
|
|
||||||
kubeVersion: '>=1.16.0-0'
|
|
||||||
name: smarter-device-manager
|
|
||||||
sources:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager
|
|
||||||
urls:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager/releases/download/smarter-device-manager-0.0.6/smarter-device-manager-0.0.6.tgz
|
|
||||||
version: 0.0.6
|
|
||||||
- annotations:
|
|
||||||
artifacthub.io/changes: |
|
|
||||||
- Fix template
|
|
||||||
- Add annotations
|
|
||||||
artifacthub.io/license: Apache-2.0
|
|
||||||
artifacthub.io/maintainers: |
|
|
||||||
- name: Alexandre Ferreira
|
|
||||||
email: alexandref75@gmail.com
|
|
||||||
artifacthub.io/prerelease: "false"
|
|
||||||
artifacthub.io/signKey: |
|
|
||||||
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
|
|
||||||
url: https://smarter-project.github.io/documentation/pgp_keys.asc
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: v1.20.11
|
|
||||||
created: "2022-11-07T19:35:56.132977927Z"
|
|
||||||
description: smarter-device-manager chart for SMARTER edge devices
|
|
||||||
digest: 94189b7b88ae07c91ec98672c87c9883b233dbfdbd68c853aa86ac4b49b6aec4
|
|
||||||
home: https://github.com/smarter-device-manager
|
|
||||||
keywords:
|
|
||||||
- kubernetes
|
|
||||||
- device
|
|
||||||
- hardware
|
|
||||||
kubeVersion: '>=1.16.0-0'
|
|
||||||
name: smarter-device-manager
|
|
||||||
sources:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager
|
|
||||||
urls:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager/releases/download/smarter-device-manager-0.0.5/smarter-device-manager-0.0.5.tgz
|
|
||||||
version: 0.0.5
|
|
||||||
- annotations:
|
|
||||||
artifacthub.io/changes: |
|
|
||||||
- Fix template
|
|
||||||
- Add annotations
|
|
||||||
artifacthub.io/license: Apache-2.0
|
|
||||||
artifacthub.io/maintainers: |
|
|
||||||
- name: Alexandre Ferreira
|
|
||||||
email: alexandref75@gmail.com
|
|
||||||
artifacthub.io/prerelease: "false"
|
|
||||||
artifacthub.io/signKey: |
|
|
||||||
fingerprint: 82AD709FEC4ECA4C84B093889BDC9DE410CFC23B
|
|
||||||
url: https://keybase.io/alexandref75/pgp_keys.asc
|
|
||||||
apiVersion: v2
|
|
||||||
appVersion: v1.20.11
|
|
||||||
created: "2022-11-07T18:52:52.020327868Z"
|
|
||||||
description: smarter-device-manager chart for SMARTER edge devices
|
|
||||||
digest: 2eab7b2ac3aa00e0e4f05dcb91c71fe8095ed1700a6540f5797e44f63f185d6a
|
|
||||||
home: https://gitlab.com/smarter-project/smarter-device-manager/helm
|
|
||||||
keywords:
|
|
||||||
- kubernetes
|
|
||||||
- device
|
|
||||||
- hardware
|
|
||||||
kubeVersion: '>=1.16.0-0'
|
|
||||||
name: smarter-device-manager
|
|
||||||
sources:
|
|
||||||
- https://gitlab.com/smarter-project/smarter-device-manager
|
|
||||||
urls:
|
|
||||||
- https://github.com/smarter-project/smarter-device-manager/releases/download/smarter-device-manager-0.0.4/smarter-device-manager-0.0.4.tgz
|
|
||||||
version: 0.0.4
|
|
||||||
generated: "2022-11-22T14:42:55.980469032Z"
|
|
||||||
Reference in New Issue
Block a user