Skip to content

Commit 1f1f6a8

Browse files
authored
Convert documentation and charts to reference github versus gitlab (#4)
* add helm action * Fix demo charts to point to github * Update paths to github packages * Fix up README and remove namespace values * Add minimal post-deployment notes to our charts Signed-off-by: Eric Van Hensbergen <[email protected]>
1 parent 6546b7e commit 1f1f6a8

File tree

14 files changed

+111
-50
lines changed

14 files changed

+111
-50
lines changed

.github/workflows/helm.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# release.yaml
2+
name: Release Charts
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Configure Git
19+
run: |
20+
git config user.name "$GITHUB_ACTOR"
21+
git config user.email "[email protected]"
22+
23+
# Optional step if GPG signing is used
24+
- name: Prepare GPG key
25+
run: |
26+
gpg_dir=.cr-gpg
27+
mkdir "$gpg_dir"
28+
keyring="$gpg_dir/secring.gpg"
29+
base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
30+
passphrase_file="$gpg_dir/passphrase"
31+
echo "$GPG_PASSPHRASE" > "$passphrase_file"
32+
echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
33+
echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
34+
echo "sign: true" > cr.yaml
35+
echo "key: Smarter Project" >> cr.yaml
36+
env:
37+
GPG_KEYRING_BASE64: "${{ secrets.GPG_KEYRING_BASE64 }}"
38+
GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE }}"
39+
40+
- name: Run chart-releaser
41+
uses: helm/[email protected]
42+
with:
43+
config: cr.yaml
44+
env:
45+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
46+

charts/demo/Chart.yaml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: smarter-demo
33
description: smarter edge demo deployment chart
4-
4+
home: https://getsmarter.io
55
# A chart can be either an 'application' or a 'library' chart.
66
#
77
# Application charts are a collection of templates that can be packaged into versioned archives
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.1.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
@@ -32,24 +32,23 @@ dependencies:
3232
repository: https://fluent.github.io/helm-charts
3333
alias: fluent-bit
3434
- name: smarter-gstreamer
35-
version: 0.0.1
36-
repository: https://smarter-project.github.io/documentation/charts
35+
version: 0.0.2
36+
repository: https://smarter-project.github.io/gstreamer
3737
- name: smarter-pulseaudio
38-
version: 0.0.1
39-
repository: https://fluent.github.io/helm-charts/documentation/charts
38+
version: 0.0.2
39+
repository: https://smarter-project.github.io/pulseaudio
4040
- name: smarter-image-detector
41-
version: 0.0.1
42-
repository: https://fluent.github.io/helm-charts/documentation/charts
41+
version: 0.0.2
42+
repository: https://smarter-project.github.io/image-detector
4343
- name: smarter-audio-client
44-
version: 0.0.1
45-
repository: https://fluent.github.io/helm-charts/documentation/charts
46-
- name: smarter-admission-controller
47-
version: 0.0.1
48-
repository: https://fluent.github.io/helm-charts/documentation/charts
49-
44+
version: 0.0.2
45+
repository: https://smarter-project.github.io/audio-client
46+
- name: smarter-inference
47+
version: 0.0.2
48+
repository: https://smarter-project.github.io/smarter-inference
49+
icon: https://gitlab.com/uploads/-/system/group/avatar/59012546/ARM1636_Project_Logo_ST2_RGB_V1.png
5050
sources:
51-
- https://gitlab.com/smarter-project/documentation
52-
51+
- https://github.com/smarter-project/documentation
5352
annotations:
5453
artifacthub.io/changes: |
5554
- Initial release
@@ -59,5 +58,5 @@ annotations:
5958
6059
artifacthub.io/prerelease: "false"
6160
artifacthub.io/signKey: |
62-
fingerprint: 9696F0D196A59098A4CAD15188FFD5FB4A5FFF98
63-
url: https://keybase.io/ericvh/pgp_keys.asc
61+
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
62+
url: https://smarter-project.github.io/documentation/pgp_keys.asc

charts/demo/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ For more information on smarter go to https://getsmarter.io
77
## TL;DR
88

99
```console
10-
helm repo add smarter https://smarter-project.gitlab.io/documentation/charts
11-
helm install --set domain=example.com demo smarter/demo
10+
helm install --set domain=example.com demo charts/demo
1211
```
1312

1413
# Overview

charts/demo/templates/NOTES.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Your SMARTER edge demo applications have been provisioned.
2+
If you edge-nodes are labeled correctly with the node
3+
4selectors as defined in values.yaml then the smarter edge demo daemonsets
4+
will be automatically deployed to your edge nodes and forward data to your
5+
cloud instance to be visualized in grafana.
6+
7+
If you haven't already done so, provision your cloud side infrastructure to
8+
be able to receive data from your edgem nodes.
9+
10+
For more details and instructions go to https://getsmarter.io
11+

charts/demo/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Declare variables to be passed into your templates.
44

55
global:
6-
domain: d.getsmarter.io
6+
domain: example.com
77

88
fluent-bit:
99
fluentd:

charts/smarter-cloud/Chart.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: smarter-cloud
3-
description: smarter cloud deploymnent chart
3+
description: smarter cloud deployment chart
44

55
home: https://gitlab.com/smarter-project/documentation
66

@@ -17,14 +17,13 @@ type: application
1717
# This is the chart version. This version number should be incremented each time you make changes
1818
# to the chart and its templates, including the app version.
1919
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20-
version: 0.1.0
20+
version: 0.1.1
2121

2222
# This is the version number of the application being deployed. This version number should be
2323
# incremented each time you make changes to the application. Versions are not expected to
2424
# follow Semantic Versioning. They should reflect the version the application is using.
2525
# It is recommended to use it with quotes.
2626
appVersion: "2.0.0"
27-
logo: https://gitlab.com/uploads/-/system/group/avatar/6339043/ARM1636_Project_Logo_ST2_RGB_V1.png
2827
kubeVersion: ">=1.18.0-0"
2928

3029
dependencies:
@@ -59,5 +58,5 @@ annotations:
5958
6059
artifacthub.io/prerelease: "false"
6160
artifacthub.io/signKey: |
62-
fingerprint: 9696F0D196A59098A4CAD15188FFD5FB4A5FFF98
63-
url: https://keybase.io/ericvh/pgp_keys.asc
61+
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
62+
url: https://smarter-project.github.io/documentation/pgp_keys.asc

charts/smarter-cloud/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ For more information on smarter go to https://getsmarter.io
1313
## TL;DR
1414

1515
```console
16-
helm repo add smarter https://smarter-project.gitlab.io/documentation/charts
17-
helm install --set domain=example.com --set [email protected] my-smarter-cloud smarter-cloud
16+
helm install --set domain=example.com --set [email protected] smarter-cloud charts/smarter-cloud
1817
```
1918

2019
# Overview
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Your SMARTER cloud instance has been deployed. Next deploy an edge server and edge nodes to connect to it.
2+
For more details and instructions go to https://getsmarter.io
3+
4+
If you deployed your instance correctly, you should be able to log into grafana at
5+
https://grafana.{{ .Values.domain }} with the username admin and the password {{ .Values.prometheus.grafana.adminPassword }}
6+

charts/smarter-cloud/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

5-
namespace: smarter-cloud
6-
75
domain: example.com
86

97
cert-manager:

charts/smarter-edge/Chart.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: smarter-edge
3-
description: smarter edge deploymnent chart
3+
description: smarter edge deployment chart
44

5-
home: https://gitlab.com/smarter-project/documentation
5+
home: https://getsmarter.io
66

77
# A chart can be either an 'application' or a 'library' chart.
88
#
@@ -17,7 +17,7 @@ type: application
1717
# This is the chart version. This version number should be incremented each time you make changes
1818
# to the chart and its templates, including the app version.
1919
# Versions are expected to follow Semantic Versioning (https://semver.org/)
20-
version: 0.0.2
20+
version: 0.0.3
2121

2222
# This is the version number of the application being deployed. This version number should be
2323
# incremented each time you make changes to the application. Versions are not expected to
@@ -30,17 +30,17 @@ kubeVersion: ">=1.18.0-0"
3030
dependencies:
3131
- name: smarter-cni
3232
version: 0.0.2
33-
repository: https://smarter-project.gitlab.io/documentation/charts
33+
repository: https://smarter-project.github.io/smarter-cni
3434
- name: smarter-dns
3535
version: 0.0.2
36-
repository: https://smarter-project.gitlab.io/documentation/charts
36+
repository: https://smarter-project.github.io/smarter-dns
3737
- name: smarter-device-manager
38-
version: 0.0.3
39-
repository: https://smarter-project.gitlab.io/documentation/charts
38+
version: 0.0.7
39+
repository: https://smarter-project.github.io/smarter-device-manager
4040

4141
icon: https://gitlab.com/uploads/-/system/group/avatar/59012546/ARM1636_Project_Logo_ST2_RGB_V1.png
4242
sources:
43-
- https://gitlab.com/smarter-project/documentation
43+
- https://github.com/smarter-project/documentation
4444

4545
annotations:
4646
artifacthub.io/changes: |
@@ -51,5 +51,5 @@ annotations:
5151
5252
artifacthub.io/prerelease: "false"
5353
artifacthub.io/signKey: |
54-
fingerprint: 9696F0D196A59098A4CAD15188FFD5FB4A5FFF98
55-
url: https://keybase.io/ericvh/pgp_keys.asc
54+
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
55+
url: https://smarter-project.github.io/documentation/pgp_keys.asc

0 commit comments

Comments
 (0)