Skip to content

Commit 21cadef

Browse files
authored
BUILD-10889: Migrate GitHub Actions workflows to sonar-*-public runners (#5547)
1 parent cccca83 commit 21cadef

16 files changed

+24
-24
lines changed

.github/workflows/PrepareNextIteration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
Next-Iteration-Job:
1212
name: Next Iteration Job
13-
runs-on: github-ubuntu-latest-s
13+
runs-on: sonar-xs-public
1414
permissions:
1515
pull-requests: write
1616
contents: write

.github/workflows/PullRequestClosed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
PullRequestMerged_job:
99
name: Pull Request Merged
10-
runs-on: github-ubuntu-latest-s
10+
runs-on: sonar-xs-public
1111
permissions:
1212
id-token: write
1313
pull-requests: read

.github/workflows/PullRequestCreated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
PullRequestCreated_job:
99
name: Pull Request Created
10-
runs-on: github-ubuntu-latest-s
10+
runs-on: sonar-xs-public
1111
permissions:
1212
id-token: write
1313
# For external PR, ticket should be created manually

.github/workflows/ReleasabilityCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name: Releasability Check
1414
jobs:
1515
releasability-status:
1616
name: Releasability status
17-
runs-on: github-ubuntu-latest-s
17+
runs-on: sonar-xs-public
1818
permissions:
1919
id-token: write
2020
statuses: write

.github/workflows/RequestReview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
RequestReview_job:
99
name: Request review
10-
runs-on: github-ubuntu-latest-s
10+
runs-on: sonar-xs-public
1111
permissions:
1212
id-token: write
1313
# For external PR, ticket should be moved manually

.github/workflows/SubmitReview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
SubmitReview_job:
99
name: Submit Review
10-
runs-on: github-ubuntu-latest-s
10+
runs-on: sonar-xs-public
1111
permissions:
1212
id-token: write
1313
pull-requests: read

.github/workflows/ToggleLockBranch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
ToggleLockBranch_job:
88
name: Toggle lock branch
9-
runs-on: github-ubuntu-latest-s
9+
runs-on: sonar-xs-public
1010
permissions:
1111
id-token: write
1212
steps:

.github/workflows/UpdateRuleMetadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: workflow_dispatch
44

55
jobs:
66
rule-metadata-update:
7-
runs-on: github-ubuntu-latest-s
7+
runs-on: sonar-xs-public
88
permissions:
99
id-token: write
1010
contents: write

.github/workflows/automated-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
plugin-artifacts-sqs: "java"
5858
plugin-artifacts-sqc: "java"
5959
jira-project-key: "SONARJAVA"
60-
runner-environment: "github-ubuntu-latest-s"
60+
runner-environment: "sonar-xs-public"
6161
rule-props-changed: false
6262
short-description: ${{ github.event.inputs.short-description }}
6363
new-version: ${{ github.event.inputs.new-version }}

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121

2222
jobs:
2323
build:
24-
runs-on: github-ubuntu-latest-m # Public repo uses custom GitHub-hosted runner
24+
runs-on: sonar-m-public
2525
name: Build
2626
permissions:
2727
id-token: write # Required for Vault OIDC authentication
@@ -56,8 +56,8 @@ jobs:
5656
fail-fast: false
5757
matrix:
5858
item:
59-
- { runner: github-ubuntu-latest-m, profile: without-sonarqube-project, sq_version: LATEST_RELEASE }
60-
- { runner: github-ubuntu-latest-m, profile: only-sonarqube-project, sq_version: LATEST_RELEASE }
59+
- { runner: sonar-m-public, profile: without-sonarqube-project, sq_version: LATEST_RELEASE }
60+
- { runner: sonar-m-public, profile: only-sonarqube-project, sq_version: LATEST_RELEASE }
6161
- { runner: github-windows-latest-m, profile: without-sonarqube-project, sq_version: LATEST_RELEASE }
6262
- { runner: github-windows-latest-m, profile: only-sonarqube-project, sq_version: LATEST_RELEASE }
6363
name: Ruling QA
@@ -125,7 +125,7 @@ jobs:
125125
needs:
126126
- build
127127
if: ${{ needs.build.outputs.deployed }}
128-
runs-on: github-ubuntu-latest-m
128+
runs-on: sonar-m-public
129129
permissions:
130130
id-token: write
131131
contents: write
@@ -168,7 +168,7 @@ jobs:
168168
needs:
169169
- build
170170
if: ${{ needs.build.outputs.deployed }}
171-
runs-on: github-ubuntu-latest-m
171+
runs-on: sonar-m-public
172172
permissions:
173173
id-token: write
174174
contents: write
@@ -210,7 +210,7 @@ jobs:
210210
needs:
211211
- build
212212
if: ${{ needs.build.outputs.deployed }}
213-
runs-on: github-ubuntu-latest-l
213+
runs-on: sonar-l-public
214214
permissions:
215215
id-token: write
216216
contents: write
@@ -245,7 +245,7 @@ jobs:
245245
needs:
246246
- build
247247
if: ${{ needs.build.outputs.deployed }}
248-
runs-on: github-ubuntu-latest-m
248+
runs-on: sonar-m-public
249249
permissions:
250250
id-token: write
251251
contents: write
@@ -292,7 +292,7 @@ jobs:
292292
needs:
293293
- build
294294
if: ${{ needs.build.outputs.deployed }}
295-
runs-on: github-ubuntu-latest-m
295+
runs-on: sonar-m-public
296296
permissions:
297297
id-token: write
298298
contents: write
@@ -383,7 +383,7 @@ jobs:
383383
- autoscan
384384
- qa-os-win
385385
if: ${{ needs.build.outputs.deployed }}
386-
runs-on: github-ubuntu-latest-s # Public repo uses custom GitHub-hosted runners
386+
runs-on: sonar-s-public
387387
name: Promote
388388
permissions:
389389
id-token: write

0 commit comments

Comments
 (0)