File tree 5 files changed +96
-4
lines changed
5 files changed +96
-4
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) Magistrala
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ name : Lint and Test Charts
5
+
6
+ on : pull_request
7
+
8
+ jobs :
9
+ lint-test :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout Code
13
+ uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - name : Set up Helm
18
+
19
+ with :
20
+ version : v3.15.4
21
+
22
+ - uses : actions/setup-python@v5
23
+ with :
24
+ python-version : " 3.x"
25
+ check-latest : true
26
+
27
+ - name : Set up chart-testing
28
+
29
+
30
+ - name : Run chart-testing (list-changed)
31
+ id : list-changed
32
+ run : |
33
+ changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
34
+ if [[ -n "$changed" ]]; then
35
+ echo "changed=true" >> "$GITHUB_OUTPUT"
36
+ fi
37
+
38
+ - name : Run chart-testing (lint)
39
+ if : steps.list-changed.outputs.changed == 'true'
40
+ run : ct lint --target-branch ${{ github.event.repository.default_branch }}
41
+
42
+ - name : Create kind cluster
43
+ if : steps.list-changed.outputs.changed == 'true'
44
+
45
+
46
+ - name : Run chart-testing (install)
47
+ if : steps.list-changed.outputs.changed == 'true'
48
+ run : ct install --target-branch ${{ github.event.repository.default_branch }}
Original file line number Diff line number Diff line change
1
+ # Copyright (c) Magistrala
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ name : Release Charts
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ release :
13
+ permissions :
14
+ contents : write
15
+
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout Code
19
+ uses : actions/checkout@v4
20
+ with :
21
+ fetch-depth : 0
22
+
23
+ - name : Configure Git
24
+ run : |
25
+ git config user.name "$GITHUB_ACTOR"
26
+ git config user.email "[email protected] "
27
+
28
+ - name : Set up Helm
29
+
30
+ with :
31
+ version : v3.15.4
32
+
33
+ - name : Add Dependencies
34
+ run : |
35
+ helm repo add stable https://charts.helm.sh/stable
36
+ helm repo add bitnami https://charts.bitnami.com/bitnami
37
+ helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
38
+ helm repo add hashicorp https://helm.releases.hashicorp.com
39
+ helm repo add nats https://nats-io.github.io/k8s/helm/charts/
40
+ helm repo update
41
+
42
+ - name : Run chart-releaser
43
+
44
+ env :
45
+ CR_TOKEN : " ${{ secrets.HELM_RELEASE_TOKEN }}"
Original file line number Diff line number Diff line change 1
1
## DevOps
2
2
3
- DevOps scripts for Magistrala IoT platform.
3
+ DevOps scripts for Magistrala IoT platform
4
4
5
5
## Install
6
6
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ name: magistrala
6
6
description : Magistrala IoT Platform
7
7
icon : https://avatars1.githubusercontent.com/u/13207490
8
8
type : application
9
- version : 1.0.3
10
- appVersion : " 0.12.1 "
9
+ version : 1.0.4 # Incremented chart version if the chart is updated
10
+ appVersion : " 0.12.2 " # Update application version if the app is updated
11
11
home : https://abstractmachines.fr/magistrala.html
12
12
sources :
13
13
- https://hub.docker.com/u/magistrala
Original file line number Diff line number Diff line change @@ -309,4 +309,3 @@ Magistrala IoT Platform
309
309
| users.secretKey | string | ` "secretKey" ` | |
310
310
| users.tokenResetEndpoint | string | ` "/reset-request" ` | |
311
311
| vault.enabled | bool | ` false ` | |
312
-
You can’t perform that action at this time.
0 commit comments