Skip to content

Commit

Permalink
feat(datasource/github-runners): support ubuntu arm partner images (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Jan 24, 2025
1 parent 12a62cc commit 1e9c00b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/modules/datasource/github-runners/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ describe('modules/datasource/github-runners/index', () => {
{ version: '16.04', isDeprecated: true },
{ version: '18.04', isDeprecated: true },
{ version: '20.04', isDeprecated: true },
{ version: '22.04-arm', isStable: false },
{ version: '22.04' },
{ version: '24.04-arm', isStable: false },
{ version: '24.04' },
],
sourceUrl: 'https://github.com/actions/runner-images',
Expand Down
3 changes: 3 additions & 0 deletions lib/modules/datasource/github-runners/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ export class GithubRunnersDatasource extends Datasource {
* Deprecated runners must have the `isDeprecated: true` property.
* Stable runners should have no extra properties.
* For more details, read the github-runners datasource readme.
* Check https://github.blog/changelog/label/actions/ for stable and deprecation dates.
*/
private static readonly releases: Record<string, Release[] | undefined> = {
ubuntu: [
{ version: '24.04' },
{ version: '24.04-arm', isStable: false },
{ version: '22.04' },
{ version: '22.04-arm', isStable: false },
{ version: '20.04', isDeprecated: true },
{ version: '18.04', isDeprecated: true },
{ version: '16.04', isDeprecated: true },
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/datasource/github-runners/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This datasource returns a list of all runners that are hosted by GitHub.
The datasource is based on [GitHub's `runner-images` repository](https://github.com/actions/runner-images).
The datasource is based on GitHub's [`runner-images`](https://github.com/actions/runner-images) and [`partner-runner-images`](https://github.com/actions/partner-runner-images) repositories.

Examples: `windows-2022` / `ubuntu-24.04` / `macos-14`

Expand Down

0 comments on commit 1e9c00b

Please sign in to comment.