Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch platform workflows from ubuntu-latest to ubuntu-24.04 #74

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/platform-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -112,4 +112,3 @@ jobs:
environment: ${{ inputs.environment }}
platform: ${{ inputs.platform }}
release: ${{ inputs.release }}

4 changes: 1 addition & 3 deletions .github/workflows/platform-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
Expand Down Expand Up @@ -111,5 +111,3 @@ jobs:
environment: ${{ inputs.environment }}
platform: ${{ inputs.platform }}
release: ${{ inputs.release }}


2 changes: 1 addition & 1 deletion .github/workflows/platform-environment-feature-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
generate:
name: generate
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.generate-matrix.outputs.matrix }}
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/platform-environment-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
generate:
name: generate
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.generate-matrix.outputs.matrix }}
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
name: Generate Matrix
run: |
# generate matrix
YAML_FILE=environments/environments.yaml
YAML_FILE=environments/environments.yaml
include_all="${{ inputs.include_all }}"
environment="${{ inputs.environment }}"
include_release="${{ inputs.include_release }}"
Expand Down Expand Up @@ -65,8 +65,8 @@ jobs:
allowed=true
elif [ ! -e "${environment}" ] && echo "$env" | grep -wq "^${environment}$"; then
allowed=true
fi
fi

if [ "${allowed}" == true ]; then
if [ "${include_release}" == true ]; then
e+="{\"environment\":\"$(yq .environment "${f}")\",\"platform\":\"$(yq .platform.vendor "${f}")\",\"release\":\"$(yq .release "${f}")\"},"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/platform-execute-command.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:
jobs:
developer-platform:
name: ${{ inputs.feature }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
concurrency: ${{ inputs.environment }}-${{ github.ref }}
environment: ${{ inputs.environment }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/platform-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:

jobs:
publish-pkg:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: github.ref_type == 'tag'
permissions:
contents: write
Expand All @@ -42,7 +42,7 @@ jobs:
git push origin "pkg/${{ github.ref_name }}"

generate:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

permissions:
contents: read
Expand Down
Loading