Skip to content

Commit

Permalink
Update kubectl and helm versions (#862)
Browse files Browse the repository at this point in the history
Co-authored-by: Yevhen Ivantsov <yivantsov@atlassian.com>
  • Loading branch information
bianchi2 and Yevhen Ivantsov authored Aug 13, 2024
1 parent d8c6cef commit f726f92
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e-tf-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ jobs:
- name: Pin Kubectl version
uses: azure/setup-kubectl@v3.0
with:
version: 'v1.24.0'
version: 'v1.30.0'

- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.7.1
version: v3.15.3

- name: Execute helm dependency update for Helm charts
run: |
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
role-to-assume: ${{ secrets.AWS_IAM_ROLE }}
role-session-name: DCTerraformHelmSession
role-duration-seconds: 7200

- name: Deploy the infrastructure, install helm charts, run E2E tests, and cleanup
id: e2e-test
working-directory: tf/test/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
- name: Pin Kubectl version
uses: azure/setup-kubectl@v3.0
with:
version: 'v1.25.3'
version: 'v1.30.0'

- name: Pin Helm version
uses: azure/setup-helm@v3
with:
version: v3.13.3
version: v3.15.3

- name: Create KinD cluster
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.13.3
version: v3.15.3

- name: Execute helm dependency update for bamboo chart
run: helm dependency update src/main/charts/bamboo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.9.4
version: v3.15.3

- name: Setup Python environment
uses: actions/setup-python@v5
Expand Down Expand Up @@ -67,4 +67,4 @@ jobs:
git add -A
git commit -m "Prepare release ${GITHUB_REF_NAME##*/}"
git push origin ${GITHUB_REF_NAME}
gh pr create --title "Release/${GITHUB_REF_NAME##*/}" --body "Prepare to release ${GITHUB_REF_NAME##*/}" --base main --head ${GITHUB_REF_NAME}
gh pr create --title "Release/${GITHUB_REF_NAME##*/}" --body "Prepare to release ${GITHUB_REF_NAME##*/}" --base main --head ${GITHUB_REF_NAME}
8 changes: 4 additions & 4 deletions .github/workflows/release-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.9.4
version: v3.15.3

- name: Setup Python environment
uses: actions/setup-python@v5
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
gpg --export > ~/.gnupg/pubring.gpg
gpg --export-secret-keys > ~/.gnupg/secring.gpg
gpg --output src/main/scripts/helm_key.pub --export ${{ secrets.HELM_SIGNING_KEY_EMAIL }}
- name: Release Helm Charts
run: |
src/main/scripts/generate_chart_repo.sh ${GH_TOKEN}
Expand All @@ -90,13 +90,13 @@ jobs:
git commit -m "Update index.yaml post release"
git push origin update-index-yaml-${GITHUB_RUN_ID}
gh pr create --title "Update index.yaml" --body "Update index.yaml after release" --base main --head update-index-yaml-${GITHUB_RUN_ID}
- name: Upload Public Key To Release Assets
run: |
cd src/main/scripts
export RELEASE_VERSION=$(python3 -W ignore -c "import prepare_release; print (prepare_release.get_chart_versions(\"${GITHUB_WORKSPACE}/src/main/charts\"))" | sed "s/'/\"/g" | python -c 'import sys, json; print (json.load(sys.stdin)["bamboo"]["version"])')
./github_asset_uploader.sh ${RELEASE_VERSION}
- name: Cleanup
if: always()
run: |
Expand Down

0 comments on commit f726f92

Please sign in to comment.