From 10bcaf820e76cb477a3d698cdcbf3aede081f276 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Thu, 12 Oct 2023 09:25:06 +0200 Subject: [PATCH] Updates on ci and update chart to run the exemple flow (#56) * update ci jobs Signed-off-by: cpanato * bump chart to run the entire flow Signed-off-by: cpanato --------- Signed-off-by: cpanato --- .github/workflows/lint-test.yaml | 16 +++++++--------- .github/workflows/release.yaml | 8 ++++---- charts/example-v1/Chart.yaml | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 756c2d7..06cedba 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -7,26 +7,24 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.1.0 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: fetch-depth: 0 - name: Set up Helm - uses: azure/setup-helm@v3 + uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5 with: - version: v3.8.1 + version: v3.13.0 # Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and # yamllint (https://github.com/adrienverge/yamllint) which require Python - name: Set up Python - uses: actions/setup-python@v4.1.0 + uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 with: - python-version: 3.7 + python-version: 3.x - name: Set up chart-testing - uses: helm/chart-testing-action@v2.2.1 - with: - version: v3.5.1 + uses: helm/chart-testing-action@e8788873172cb653a90ca2e819d79d65a66d4e76 # v2.4.0 - name: Run chart-testing (list-changed) id: list-changed @@ -40,7 +38,7 @@ jobs: run: ct lint --config ct.yaml - name: Create kind cluster - uses: helm/kind-action@v1.7.0 + uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 if: steps.list-changed.outputs.changed == 'true' - name: Run chart-testing (install) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 187ae05..5b49a30 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3.1.0 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 with: fetch-depth: 0 @@ -24,9 +24,9 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Install Helm - uses: azure/setup-helm@v3 + uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5 with: - version: v3.8.1 + version: v3.13.0 # Optional step if GPG signing is used - name: Prepare GPG key @@ -51,7 +51,7 @@ jobs: helm repo add bitnami https://charts.bitnami.com/bitnami - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.4.0 + uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968 # v1.5.0 with: charts_dir: charts config: cr.yaml diff --git a/charts/example-v1/Chart.yaml b/charts/example-v1/Chart.yaml index 2a7fb4d..41d0760 100644 --- a/charts/example-v1/Chart.yaml +++ b/charts/example-v1/Chart.yaml @@ -8,4 +8,4 @@ maintainers: name: example-v1 sources: - https://github.com/helm/helm -version: 0.1.11 +version: 0.1.12