Skip to content

Commit

Permalink
[deps] DevOps: Update ubuntu to v24
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Sep 30, 2024
1 parent c66879e commit 0352dfd
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_move_finalization_db_scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
setup:
name: Setup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
migration_filename_prefix: ${{ steps.prefix.outputs.prefix }}
copy_finalization_scripts: ${{ steps.check-finalization-scripts-existence.outputs.copy_finalization_scripts }}
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
move-finalization-db-scripts:
name: Move finalization database scripts
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: setup
if: ${{ needs.setup.outputs.copy_finalization_scripts == 'true' }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automatic-issue-responses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
close-issue:
name: Close issue with automatic response
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
issues: write
steps:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -29,7 +29,7 @@ jobs:

build-artifacts:
name: Build artifacts
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- lint
strategy:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:

build-docker:
name: Build Docker images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
security-events: write
needs: build-artifacts
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:

upload:
name: Upload
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build-docker
steps:
- name: Check out repo
Expand Down Expand Up @@ -452,7 +452,7 @@ jobs:

build-mssqlmigratorutility:
name: Build MSSQL migrator utility
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: lint
defaults:
run:
Expand Down Expand Up @@ -502,7 +502,7 @@ jobs:

self-host-build:
name: Trigger self-host build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build-docker
steps:
- name: Log in to Azure - CI subscription
Expand Down Expand Up @@ -535,7 +535,7 @@ jobs:
trigger-k8s-deploy:
name: Trigger k8s deploy
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build-docker
steps:
- name: Log in to Azure - CI subscription
Expand Down Expand Up @@ -569,7 +569,7 @@ jobs:
check-failures:
name: Check for failures
if: always()
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- lint
- build-artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-after-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
build-docker:
name: Remove branch-specific Docker images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Log in to Azure - production subscription
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-rc-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
delete-rc:
name: Delete RC Branch
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Login to Azure - CI Subscription
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code-references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
check-ld-secret:
name: Check for LD secret
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
available: ${{ steps.check-ld-secret.outputs.available }}
permissions:
Expand All @@ -24,7 +24,7 @@ jobs:
refs:
name: Code reference collection
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: check-ld-secret
if: ${{ needs.check-ld-secret.outputs.available == 'true' }}
permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/container-registry-purge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
purge:
name: Purge old images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Log in to Azure
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
check-failures:
name: Check for failures
if: always()
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [purge]
steps:
- name: Check if any job failed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
enforce-label:
if: ${{ contains(github.event.*.labels.*.name, 'hold') || contains(github.event.*.labels.*.name, 'needs-qa') || contains(github.event.*.labels.*.name, 'DB-migrations-changed') }}
name: Enforce label
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- name: Check for label
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/protect-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
changed-files:
name: Check for file changes
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
changes: ${{steps.check-changes.outputs.changes_detected}}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:
jobs:
setup:
name: Setup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
branch-name: ${{ steps.branch.outputs.branch-name }}
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

publish-docker:
name: Publish Docker images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: setup
env:
_RELEASE_VERSION: ${{ needs.setup.outputs.release-version }}
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:

update-deployment:
name: Update Deployment Status
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- setup
- publish-docker
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
setup:
name: Setup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
release_version: ${{ steps.version.outputs.version }}
branch-name: ${{ steps.branch.outputs.branch-name }}
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
release:
name: Create GitHub release
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: setup
steps:
- name: Download latest release Docker stubs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

sast:
name: SAST scan
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: check-run
permissions:
contents: read
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:

quality:
name: Quality scan
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: check-run
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
stale:
name: Check for stale issues and PRs
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
jobs:
test:
name: Run tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:

validate:
name: Run validation
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
check-test-secrets:
name: Check for test secrets
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
available: ${{ steps.check-test-secrets.outputs.available }}
permissions:
Expand All @@ -34,7 +34,7 @@ jobs:
testing:
name: Run tests
if: ${{ startsWith(github.head_ref, 'version_bump_') == false }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: check-test-secrets
permissions:
checks: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
bump_version:
name: Bump Version
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
version: ${{ steps.set-final-version-output.outputs.version }}
steps:
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
name: Cut RC branch
if: ${{ inputs.cut_rc_branch == true }}
needs: bump_version
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Check out branch
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down

0 comments on commit 0352dfd

Please sign in to comment.