Skip to content

Commit fc6840c

Browse files
author
Mateusz
committed
changes to workflows - release and checks
install steps in cheks now wait for resources, archive is no longer in the branch - it is pulled during the tests and release.
1 parent 138f84e commit fc6840c

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

.github/workflows/checks.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
run: |
4141
helm repo add opentelemetry-collector https://open-telemetry.github.io/opentelemetry-helm-charts
4242
43+
- name: Build chart dependencies
44+
run: |
45+
helm dependency build charts/netdata
46+
4347
- name: Check documentation is up-to-date
4448
run: |
4549
./generate-documentation.sh
@@ -56,7 +60,7 @@ jobs:
5660
if: steps.list-changed.outputs.changed == 'true'
5761

5862
- name: Run chart-testing (install)
59-
run: ct install --target-branch ${{ github.event.repository.default_branch }}
63+
run: ct install --target-branch ${{ github.event.repository.default_branch }} --helm-extra-args "--wait --timeout 5m --debug"
6064

6165
- name: Run chart-testing (install with OpenTelemetry)
62-
run: ct install --target-branch ${{ github.event.repository.default_branch }} --helm-extra-set-args "--set netdataOpentelemetry.enabled=true --set otel-collector.enabled=true"
66+
run: ct install --target-branch ${{ github.event.repository.default_branch }} --helm-extra-set-args "--set netdataOpentelemetry.enabled=true --set otel-collector.enabled=true" --helm-extra-args "--wait --timeout 5m --debug"

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ jobs:
2929
git config --global user.name Netdatabot
3030
git config --global user.email bot@netdata.cloud
3131
32+
- name: Set up Helm
33+
uses: azure/setup-helm@v4
34+
with:
35+
version: v3.12.0
36+
37+
- name: Add helm repo for dependencies
38+
run: |
39+
helm repo add opentelemetry-collector https://open-telemetry.github.io/opentelemetry-helm-charts
40+
41+
- name: Build chart dependencies
42+
run: |
43+
helm dependency build charts/netdata
44+
3245
- name: Get current version
3346
id: get_current_var
3447
run: echo "current_version=$(.github/scripts/update_versions.py get_chart_version)" >> $GITHUB_OUTPUT
-31 KB
Binary file not shown.

0 commit comments

Comments
 (0)