Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
release-please:
runs-on: akua-x64-ci-v2
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ concurrency:

jobs:
package:
runs-on: akua-heavy-ci-v2
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.release-matrix.outputs.matrix }}
commit: ${{ steps.release-ref.outputs.commit }}
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:

publish:
needs: [package, install-smoke]
runs-on: akua-x64-ci-v2
runs-on: ubuntu-24.04
env:
EXPECTED_COMMIT: ${{ needs.package.outputs.commit }}
permissions:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:

tap-update:
needs: publish
runs-on: akua-x64-ci-v2
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
Expand Down
13 changes: 13 additions & 0 deletions test/workflows.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ describe("distribution workflows", () => {
expect(packageJob).toContain("runs-on: ubuntu-24.04");
});

test("release control-plane jobs use available GitHub-hosted Linux runners", async () => {
const [releasePlease, release] = await Promise.all([
readFile(".github/workflows/release-please.yml", "utf8"),
readFile(".github/workflows/release.yml", "utf8"),
]);

expect(releasePlease).toContain("runs-on: ubuntu-latest");
expect(release).toContain("runs-on: ubuntu-24.04");
expect(`${releasePlease}\n${release}`).not.toMatch(
/^\s+runs-on: akua-(?:x64|heavy)-ci-v2$/m,
);
});

test("the release workflow consumes the complete release target matrix", async () => {
const workflow = await readFile(".github/workflows/release.yml", "utf8");

Expand Down
Loading