Skip to content

Commit

Permalink
1ES Migration (#369)
Browse files Browse the repository at this point in the history
- Remove useless lines
- New SC for npm
- Migrate the pipeline to another pool and org
  • Loading branch information
DmitriiBobreshev committed Mar 8, 2024
1 parent ed71272 commit 4c0c060
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool.
# 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.
# This pipeline will be extended to the OneESPT template
# 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
# The Task 'PublishPipelineArtifact@1' has been converted to an output named 'Publish _build artifact' in the templateContext section.

trigger:
- master
- releases/*
Expand All @@ -16,8 +14,8 @@ parameters:
- name: imageList
type: object
default:
windows: 'windows-latest'
ubuntu: 'ubuntu-latest'
windows: 'abtt-windows-2022'
ubuntu: 'abtt-ubuntu-2204'
- name: publishToNpm
displayName: Publish to npm
type: boolean
Expand All @@ -32,9 +30,11 @@ extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
sdl:
sbom:
enabled: false
sourceAnalysisPool:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-2022
name: 1ES-ABTT-Shared-Pool
image: abtt-windows-2022
os: windows
customBuildTags:
- ES365AIMigrationTooling
Expand All @@ -45,8 +45,8 @@ extends:
- job: Build_and_Publish
displayName: Build and Publish artifact
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: ubuntu-latest
name: 1ES-ABTT-Shared-Pool
image: abtt-ubuntu-2204
os: linux
templateContext:
outputs:
Expand All @@ -72,7 +72,7 @@ extends:
- job: Node_os_${{ nodeVersion }}_${{ image.key }}
displayName: Node.js ${{ nodeVersion }} on ${{ image.key }}
pool:
name: Azure-Pipelines-1ESPT-ExDShared
name: 1ES-ABTT-Shared-Pool
image: ${{ image.value }}
os: ${{ image.key }}
steps:
Expand All @@ -98,8 +98,8 @@ extends:
- job: Publish_package
displayName: Publish npm package
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: ubuntu-latest
name: 1ES-ABTT-Shared-Pool
image: abtt-ubuntu-2204
os: linux
steps:
- task: DownloadPipelineArtifact@2
Expand All @@ -113,7 +113,7 @@ extends:
command: publish
workingDir: '_build'
publishRegistry: useExternalRegistry
publishEndpoint: NPM-Automation-Token
publishEndpoint: btt-npm-publish-token
continueOnError: true
- script: npm install
displayName: npm install
Expand Down

0 comments on commit 4c0c060

Please sign in to comment.