Skip to content

Commit

Permalink
Update CI to Ubuntu 24.04 runner images (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley authored Jul 15, 2024
1 parent b63e943 commit 724edfc
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_buildpacks-prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ on:
description: The GitHub Actions runner to use to run jobs that require IP allow-list privileges
type: string
required: false
default: pub-hk-ubuntu-22.04-small
default: pub-hk-ubuntu-24.04-ip
languages_cli_branch:
description: The branch to install the Languages CLI from (FOR TESTING)
type: string
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_buildpacks-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
description: The GitHub Actions runner to use to run jobs that require IP allow-list privileges
type: string
required: false
default: pub-hk-ubuntu-22.04-small
default: pub-hk-ubuntu-24.04-ip
languages_cli_branch:
description: The branch to install the Languages CLI from (FOR TESTING)
type: string
Expand Down Expand Up @@ -60,7 +60,7 @@ env:
jobs:
compile:
name: Compile Buildpacks
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
buildpacks: ${{ steps.generate-buildpack-matrix.outputs.buildpacks }}
version: ${{ steps.generate-buildpack-matrix.outputs.version }}
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
publish-docker:
name: Publish → Docker - ${{ matrix.buildpack_id }}
needs: [compile]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -338,7 +338,7 @@ jobs:
publish-cnb-registry:
name: Publish → CNB Registry - ${{ matrix.buildpack_id }}
needs: [compile, publish-docker]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_classic-buildpack-prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defaults:
jobs:
prepare-release:
name: Prepare Release
runs-on: pub-hk-ubuntu-22.04-small
runs-on: pub-hk-ubuntu-24.04-ip
steps:
# We use our GitHub App's access token instead of GITHUB_TOKEN since otherwise other
# workflows (such as CI) won't automatically run on any PRs opened by this workflow:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:

test:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:
jobs:
prepare:
name: Release
runs-on: pub-hk-ubuntu-22.04-small
runs-on: pub-hk-ubuntu-24.04-ip
steps:
- name: Get token for GH application (Linguist)
uses: actions/create-github-app-token@v1
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ jobs:

#### Inputs

| Name | Description | Required | Default |
|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-----------------------------|
| `app_id` | Application ID of GitHub application (e.g. the Linguist App) | true | |
| `bump` | Which component of the version to increment (major, minor, or patch) | true | |
| `declarations_starting_version` | Only needed if existing releases have been published but there is no matching release tag in Git. If this is the case, the first git tag that matches a version from your CHANGELOG should be supplied. | false | |
| `ip_allowlisted_runner` | The GitHub Actions runner to use to run jobs that require IP allow-list privileges | false | `pub-hk-ubuntu-22.04-small` |
| `languages_cli_branch` | The branch to install the Languages CLI from (FOR TESTING) | false | `main` |
| Name | Description | Required | Default |
|---------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|--------------------------|
| `app_id` | Application ID of GitHub application (e.g. the Linguist App) | true | |
| `bump` | Which component of the version to increment (major, minor, or patch) | true | |
| `declarations_starting_version` | Only needed if existing releases have been published but there is no matching release tag in Git. If this is the case, the first git tag that matches a version from your CHANGELOG should be supplied. | false | |
| `ip_allowlisted_runner` | The GitHub Actions runner to use to run jobs that require IP allow-list privileges | false | `pub-hk-ubuntu-24.04-ip` |
| `languages_cli_branch` | The branch to install the Languages CLI from (FOR TESTING) | false | `main` |

#### Secrets

Expand Down Expand Up @@ -132,12 +132,12 @@ jobs:
#### Inputs

| Name | Description | Required | Default |
|-------------------------|-----------------------------------------------------------------------------------------------------|----------|-----------------------------|
| `app_id` | Application ID of GitHub application (e.g. the Linguist App) | true | |
| `dry_run` | Flag used for testing purposes to prevent actions that perform publishing operations from executing | false | false |
| `ip_allowlisted_runner` | The GitHub Actions runner to use to run jobs that require IP allow-list privileges | false | `pub-hk-ubuntu-22.04-small` |
| `languages_cli_branch` | The branch to install the Languages CLI from (FOR TESTING) | false | `main` |
| Name | Description | Required | Default |
|-------------------------|-----------------------------------------------------------------------------------------------------|----------|--------------------------|
| `app_id` | Application ID of GitHub application (e.g. the Linguist App) | true | |
| `dry_run` | Flag used for testing purposes to prevent actions that perform publishing operations from executing | false | false |
| `ip_allowlisted_runner` | The GitHub Actions runner to use to run jobs that require IP allow-list privileges | false | `pub-hk-ubuntu-24.04-ip` |
| `languages_cli_branch` | The branch to install the Languages CLI from (FOR TESTING) | false | `main` |

#### Secrets

Expand Down

0 comments on commit 724edfc

Please sign in to comment.