Compare commits
10 Commits
update-cha
...
gh-pages
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d276d74b2 | ||
|
|
eafee415c7 | ||
|
|
3be250feb8 | ||
|
|
6ecbbe1fb4 | ||
|
|
e22230207f | ||
|
|
86c7631417 | ||
|
|
ece70f1a37 | ||
|
|
b5831bf03f | ||
|
|
09cf122d68 | ||
|
|
568c38b174 |
101
.github/workflows/docker-buildx.yml
vendored
Normal file
101
.github/workflows/docker-buildx.yml
vendored
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
name: Docker Image BuildX CI and Publish
|
||||||
|
|
||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '19 16 * * *'
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
# Publish semver tags as releases.
|
||||||
|
tags: [ 'v*.*.*' ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
# Use docker.io for Docker Hub if empty
|
||||||
|
REGISTRY: ghcr.io
|
||||||
|
# github.repository as <account>/<repo>
|
||||||
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
# This is used to complete the identity challenge
|
||||||
|
# with sigstore/fulcio when running outside of PRs.
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
# Install the cosign tool except on PR
|
||||||
|
# https://github.com/sigstore/cosign-installer
|
||||||
|
- name: Install cosign
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0
|
||||||
|
with:
|
||||||
|
cosign-release: 'v1.13.1'
|
||||||
|
|
||||||
|
-
|
||||||
|
# Add support for more platforms with QEMU (optional)
|
||||||
|
# https://github.com/docker/setup-qemu-action
|
||||||
|
name: Set up QEMU
|
||||||
|
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
|
||||||
|
# https://github.com/docker/login-action
|
||||||
|
- name: Log into registry ${{ env.REGISTRY }}
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
|
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
|
||||||
|
with:
|
||||||
|
registry: ${{ env.REGISTRY }}
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# Extract metadata (tags, labels) for Docker
|
||||||
|
# https://github.com/docker/metadata-action
|
||||||
|
- name: Extract Docker metadata
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
|
with:
|
||||||
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
|
# Build and push Docker image with Buildx (don't push on PR)
|
||||||
|
# https://github.com/docker/build-push-action
|
||||||
|
- name: Build and push Docker image
|
||||||
|
id: build-and-push
|
||||||
|
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
cache-from: type=gha
|
||||||
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
|
|
||||||
|
# Sign the resulting Docker image digest except on PRs.
|
||||||
|
# This will only write to the public Rekor transparency log when the Docker
|
||||||
|
# repository is public to avoid leaking data. If you would like to publish
|
||||||
|
# transparency data even for private images, pass --force to cosign below.
|
||||||
|
# https://github.com/sigstore/cosign
|
||||||
|
- name: Sign the published Docker image
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
|
env:
|
||||||
|
COSIGN_EXPERIMENTAL: "true"
|
||||||
|
# This step uses the identity token to provision an ephemeral certificate
|
||||||
|
# against the sigstore community Fulcio instance.
|
||||||
|
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
include:
|
|
||||||
- project: 'ericvh/gitlab-ci-arm-template'
|
|
||||||
file: '/.gitlab-ci.yml'
|
|
||||||
|
|
||||||
variables:
|
|
||||||
CI_BUILDX_ARCHS: "linux/amd64,linux/arm64"
|
|
||||||
@@ -2,7 +2,7 @@ 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://gitlab.com/smarter-project/smarter-device-manager/helm
|
||||||
version: 0.0.2
|
version: 0.0.3
|
||||||
appVersion: v1.20.11
|
appVersion: v1.20.11
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.application.appName }}
|
name: {{ .Values.application.appName }}
|
||||||
namespace: {{ .Values.application.namespace }}
|
|
||||||
labels:
|
labels:
|
||||||
name: {{ .Values.application.appName }}
|
name: {{ .Values.application.appName }}
|
||||||
role: agent
|
role: agent
|
||||||
@@ -20,7 +19,11 @@ spec:
|
|||||||
node.kubernetes.io/bootstrap-checkpoint: "true"
|
node.kubernetes.io/bootstrap-checkpoint: "true"
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml .Values.configuration.nodeSelector | nindent 8 }}
|
{{- if .Values.nodeSelector }}
|
||||||
|
{{- toYaml .Values.nodeSelector | nindent 8 }}
|
||||||
|
{{- else }}
|
||||||
|
smarter.device-manager: enabled
|
||||||
|
{{- end }}
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "smarter.type"
|
- key: "smarter.type"
|
||||||
operator: "Equal"
|
operator: "Equal"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.application.appName }}
|
name: {{ .Values.application.appName }}
|
||||||
namespace: {{ .Values.application.namespace }}
|
|
||||||
data:
|
data:
|
||||||
conf.yaml: |
|
conf.yaml: |
|
||||||
{{- toYaml .Values.config | nindent 4 }}
|
{{- toYaml .Values.config | nindent 4 }}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
application:
|
application:
|
||||||
namespace: smarter
|
|
||||||
appName: smarter-device-manager
|
appName: smarter-device-manager
|
||||||
|
|
||||||
image:
|
image:
|
||||||
@@ -10,10 +9,6 @@ image:
|
|||||||
tag: ""
|
tag: ""
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
configuration:
|
|
||||||
nodeSelector:
|
|
||||||
smarter.device-manager: enabled
|
|
||||||
|
|
||||||
# If a specific configurations is used it can be provided by uncommenting this lines
|
# If a specific configurations is used it can be provided by uncommenting this lines
|
||||||
# config:
|
# config:
|
||||||
# - devicematch: ^snd$
|
# - devicematch: ^snd$
|
||||||
|
|||||||
181
index.yaml
Normal file
181
index.yaml
Normal file
@@ -0,0 +1,181 @@
|
|||||||
|
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