Skip to content

Commit

Permalink
[Misc] Workflow: cleanup + runner version updated
Browse files Browse the repository at this point in the history
Update workflows to use latest ubuntu 24.04 runners and remove fixed helm version.
  • Loading branch information
Pavan-SAP committed Dec 9, 2024
1 parent 9895bb6 commit b474648
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
build:
name: Build and Test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:

- name: Check out code into the Go module directory
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
name: Analyze with Sonar Cloud
if: github.repository_owner == 'sap'
needs: build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:

- name: Check out code for Sonar Analysis
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defaults:
jobs:
docker_build_and_push:
name: Docker build and push
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defaults:
jobs:
generate_manifest:
name: Generate manifest
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Checkout
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/publish-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ on:
workflow_dispatch

env:
HELM_VERSION: v3.11.3
REGISTRY: ghcr.io
CHART_DIRECTORY: chart
RELEASE_TAG_PREFIX: helm

jobs:
create_release_tag:
name: Create release tag
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
tag: ${{ steps.get_tag.outputs.tag }}
upload_url: ${{ steps.create_release.outputs.upload_url }}
Expand All @@ -21,8 +20,6 @@ jobs:
uses: actions/checkout@v4

- uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}

- name: Determine target commit
id: get_target_commit
Expand Down Expand Up @@ -58,7 +55,7 @@ jobs:

publish-to-pages:
name: Publish chart to github pages
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: create_release_tag
permissions:
contents: write
Expand All @@ -80,9 +77,7 @@ jobs:
path: website
token: ${{ secrets.WORKFLOW_USER_TOKEN }}

- uses: azure/setup-helm@v3
with:
version: ${{ env.HELM_VERSION }}
- uses: azure/setup-helm@v4

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down Expand Up @@ -121,7 +116,7 @@ jobs:
publish-to-packages:
name: Publish chart to github packages
needs: create_release_tag
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
Expand All @@ -131,8 +126,6 @@ jobs:
uses: actions/checkout@v4

- uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}

- name: Create package
run: |
Expand Down

0 comments on commit b474648

Please sign in to comment.