Skip to content

Commit 4c0c060

Browse files
1ES Migration (#369)
- Remove useless lines - New SC for npm - Migrate the pipeline to another pool and org
1 parent ed71272 commit 4c0c060

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

azure-pipelines.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool.
2-
# Please make sure to check all the converted content, it is your team's responsibility to make sure that the pipeline is still valid and functions as expected.
32
# This pipeline will be extended to the OneESPT template
4-
# If you are not using the E+D shared hosted pool with windows-2022, replace the pool section with your hosted pool, os, and image name. If you are using a Linux image, you must specify an additional windows image for SDL: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sdlanalysis/overview#how-to-specify-a-windows-pool-for-the-sdl-source-analysis-stage
5-
# The Task 'PublishPipelineArtifact@1' has been converted to an output named 'Publish _build artifact' in the templateContext section.
3+
64
trigger:
75
- master
86
- releases/*
@@ -16,8 +14,8 @@ parameters:
1614
- name: imageList
1715
type: object
1816
default:
19-
windows: 'windows-latest'
20-
ubuntu: 'ubuntu-latest'
17+
windows: 'abtt-windows-2022'
18+
ubuntu: 'abtt-ubuntu-2204'
2119
- name: publishToNpm
2220
displayName: Publish to npm
2321
type: boolean
@@ -32,9 +30,11 @@ extends:
3230
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
3331
parameters:
3432
sdl:
33+
sbom:
34+
enabled: false
3535
sourceAnalysisPool:
36-
name: Azure-Pipelines-1ESPT-ExDShared
37-
image: windows-2022
36+
name: 1ES-ABTT-Shared-Pool
37+
image: abtt-windows-2022
3838
os: windows
3939
customBuildTags:
4040
- ES365AIMigrationTooling
@@ -45,8 +45,8 @@ extends:
4545
- job: Build_and_Publish
4646
displayName: Build and Publish artifact
4747
pool:
48-
name: Azure-Pipelines-1ESPT-ExDShared
49-
image: ubuntu-latest
48+
name: 1ES-ABTT-Shared-Pool
49+
image: abtt-ubuntu-2204
5050
os: linux
5151
templateContext:
5252
outputs:
@@ -72,7 +72,7 @@ extends:
7272
- job: Node_os_${{ nodeVersion }}_${{ image.key }}
7373
displayName: Node.js ${{ nodeVersion }} on ${{ image.key }}
7474
pool:
75-
name: Azure-Pipelines-1ESPT-ExDShared
75+
name: 1ES-ABTT-Shared-Pool
7676
image: ${{ image.value }}
7777
os: ${{ image.key }}
7878
steps:
@@ -98,8 +98,8 @@ extends:
9898
- job: Publish_package
9999
displayName: Publish npm package
100100
pool:
101-
name: Azure-Pipelines-1ESPT-ExDShared
102-
image: ubuntu-latest
101+
name: 1ES-ABTT-Shared-Pool
102+
image: abtt-ubuntu-2204
103103
os: linux
104104
steps:
105105
- task: DownloadPipelineArtifact@2
@@ -113,7 +113,7 @@ extends:
113113
command: publish
114114
workingDir: '_build'
115115
publishRegistry: useExternalRegistry
116-
publishEndpoint: NPM-Automation-Token
116+
publishEndpoint: btt-npm-publish-token
117117
continueOnError: true
118118
- script: npm install
119119
displayName: npm install

0 commit comments

Comments
 (0)