Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1ES Migration #369

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading