Skip to content

Commit

Permalink
[ci] Migrate ubuntu and sonicbld agent pool to fix S360 alert. (#19099)…
Browse files Browse the repository at this point in the history
… (#19157)

Migrate agent pool to fix S360 ticket.

Microsoft ADO (number only): 27889786
  • Loading branch information
liushilongbuaa authored Jun 8, 2024
1 parent a278f10 commit 1e8c79a
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ schedules:
- 202012
always: true

pool: sonicbld
pool: sonicbld-1es

stages:
- stage: Build
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-UpgrateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resources:
ref: master
endpoint: sonic-net

pool: sonicbld
pool: sonicbld-1es

parameters:
- name: jobFilters
Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ parameters:
- name: pool
type: string
values:
- sonicbld
- sonicbld-1es
- sonicbld_8c
default: sonicbld
default: sonicbld-1es

- name: dbg_image
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/docker-sonic-mgmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ stages:
- stage: Build
jobs:
- job: Build
pool: sonicbld
pool: sonicbld-1es
timeoutInMinutes: 360
steps:
- template: cleanup.yml
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/docker-sonic-slave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ stages:
- ${{ each arch in parameters.arches }}:
- template: .azure-pipelines/docker-sonic-slave-template.yml@buildimage
parameters:
pool: sonicbld
pool: sonicbld-1es
arch: ${{ arch }}
dist: ${{ dist }}
${{ if ne(arch, 'amd64') }}:
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/dpkg-cache-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pr: none

jobs:
- job: Build
pool: sonicbld
pool: sonicbld-1es
timeoutInMinutes: 5
steps:
- checkout: none
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/official-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ variables:

stages:
- stage: Build
pool: sonicbld
pool: sonicbld-1es
variables:
CACHE_MODE: wcache
${{ if eq(variables['Build.SourceBranchName'], '202012') }}:
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/template-commonlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- job: Build_${{ arch }}
timeoutInMinutes: 120
${{ if eq(arch,'amd64') }}:
pool: sonicbld
pool: sonicbld-1es
${{ else }}:
pool: sonicbld-${{ arch }}
variables:
Expand Down
20 changes: 10 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ variables:

stages:
- stage: BuildVS
pool: sonicbld
pool: sonicbld-1es
variables:
CACHE_MODE: rcache
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker'
Expand All @@ -56,7 +56,7 @@ stages:
- name: vs

- stage: Build
pool: sonicbld
pool: sonicbld-1es
dependsOn: []
variables:
CACHE_MODE: rcache
Expand Down Expand Up @@ -134,9 +134,9 @@ stages:
testRunTitle: vstest

- job: t0_elastictest
pool: ubuntu-20.04
pool: sonic-ubuntu-1c
displayName: "kvmtest-t0 by Elastictest"
timeoutInMinutes: 240
timeoutInMinutes: 400
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
Expand All @@ -147,9 +147,9 @@ stages:
MGMT_BRANCH: "202012"

- job: t0_2vlans_elastictest
pool: ubuntu-20.04
pool: sonic-ubuntu-1c
displayName: "kvmtest-t0-2vlans by Elastictest"
timeoutInMinutes: 240
timeoutInMinutes: 400
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
Expand All @@ -162,9 +162,9 @@ stages:
MGMT_BRANCH: "202012"

- job: t1_lag_elastictest
pool: ubuntu-20.04
pool: sonic-ubuntu-1c
displayName: "kvmtest-t1-lag by Elastictest"
timeoutInMinutes: 240
timeoutInMinutes: 400
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
Expand All @@ -175,9 +175,9 @@ stages:
MGMT_BRANCH: "202012"

- job: dualtor_elastictest
pool: ubuntu-20.04
pool: sonic-ubuntu-1c
displayName: "kvmtest-dualtor-t0 by Elastictest"
timeoutInMinutes: 240
timeoutInMinutes: 400
continueOnError: false
steps:
- template: .azure-pipelines/run-test-elastictest-template.yml@sonic-mgmt
Expand Down

0 comments on commit 1e8c79a

Please sign in to comment.