File tree Expand file tree Collapse file tree 10 files changed +109
-56
lines changed Expand file tree Collapse file tree 10 files changed +109
-56
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- pool :
2- vmImage : ' ubuntu-latest'
3- variables :
4- NodeVersion : 18
5- FORCE_COLOR : 1
6- steps :
7- - checkout : self
8- persistCredentials : true
9- - template : templates/build.yaml
10- - script : ' node common/scripts/install-run-rush.js version --bump --version-policy BOGUS --target-branch $(Build.SourceBranchName)'
11- displayName : ' Rush Version'
12- - script : ' node common/scripts/install-run-rush.js publish --apply --publish --include-all --npm-auth-token $(npmToken)'
13- displayName : ' Rush Publish'
1+ resources :
2+ repositories :
3+ - repository : RushstackMainRepo
4+ type : github
5+ name : Microsoft/rushstack
6+ endpoint : ' GitHub (Rushbot)'
7+ - repository : 1esPipelines
8+ type : git
9+ name : 1ESPipelineTemplates/1ESPipelineTemplates
10+ ref : refs/tags/release
11+
12+ extends :
13+ template : v1/1ES.Official.PipelineTemplate.yml@1esPipelines
14+ parameters :
15+ pool :
16+ name : Azure-Pipelines-1ESPT-ExDShared
17+ os : windows
18+ stages :
19+ - stage :
20+ jobs :
21+ - job :
22+ pool :
23+ name : publish-rushstack
24+ os : linux
25+ templateContext :
26+ outputs :
27+ - output : pipelineArtifact
28+ targetPath : $(Build.ArtifactStagingDirectory)/published-versions
29+ artifactName : published-versions
30+ steps :
31+ - checkout : self
32+ persistCredentials : true
33+ path : tsdoc
34+
35+ - template : /common/config/azure-pipelines/templates/install-node.yaml@self
36+
37+ - template : /common/config/azure-pipelines/templates/build.yaml@self
38+
39+ - template : /common/config/azure-pipelines/templates/publish.yaml@self
40+
41+ - template : /common/config/azure-pipelines/templates/record-published-versions.yaml@self
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 steps :
1818 - checkout : self
1919
20- - template : ./templates/build.yaml
20+ - template : /common/config/azure-pipelines/templates/install-node.yaml@self
21+
22+ - template : /common/config/azure-pipelines/templates/build.yaml@self
2123
2224 - publish : playground/dist
2325 artifact : ' playground'
Original file line number Diff line number Diff line change 11steps :
2- - task : NodeTool@0
3- displayName : ' Use Node $(NodeVersion).x'
4- inputs :
5- versionSpec : ' $(NodeVersion).x'
6- checkLatest : true
7- - template : ./configure-git.yaml
2+ - script : ' git config --local user.email rushbot@users.noreply.github.com'
3+ displayName : ' git config email'
4+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc'
5+
6+ - script : ' git config --local user.name Rushbot'
7+ displayName : ' git config name'
8+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc'
9+
810 - script : ' node common/scripts/install-run-rush.js change --verify'
911 displayName : ' Verify Change Logs'
10- - script : ' node common/scripts/install-run-rush.js check '
11- displayName : ' Rush Check '
12+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc '
13+
1214 - script : ' node common/scripts/install-run-rush.js install'
1315 displayName : ' Rush Install'
16+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc'
17+
1418 - script : ' node common/scripts/install-run-rush.js retest --verbose --production'
1519 displayName : ' Rush retest'
16- env :
17- # Prevent time-based browserslist update warning
18- # See https://github.com/microsoft/rushstack/issues/2981
19- BROWSERSLIST_IGNORE_OLD_DATA : 1
20+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ parameters :
2+ - name : NodeMajorVersion
3+ type : number
4+ default : 18
5+
6+ steps :
7+ - task : NodeTool@0
8+ inputs :
9+ versionSpec : ' ${{ parameters.NodeMajorVersion }}.x'
10+ displayName : ' Install Node.js ${{ parameters.NodeMajorVersion }}'
Original file line number Diff line number Diff line change 1+ steps :
2+ - script : ' node common/scripts/install-run-rush.js version --bump --version-policy tsdoc --target-branch $(Build.SourceBranchName)'
3+ displayName : ' Rush Version'
4+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc'
5+
6+ - script : ' node common/scripts/install-run-rush.js publish --apply --publish --include-all --target-branch $(Build.SourceBranchName) --add-commit-details --set-access-level public'
7+ displayName : ' Rush Publish'
8+ env :
9+ NPM_AUTH_TOKEN : $(npmToken)
10+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc'
Original file line number Diff line number Diff line change 1+ steps :
2+ - checkout : RushstackMainRepo
3+ path : rushstack
4+
5+ - script : ' git config --local user.email rushbot@users.noreply.github.com'
6+ displayName : ' git config email'
7+ workingDirectory : ' $(Agent.BuildDirectory)/rushstack'
8+
9+ - script : ' git config --local user.name Rushbot'
10+ displayName : ' git config name'
11+ workingDirectory : ' $(Agent.BuildDirectory)/rushstack'
12+
13+ - script : ' node common/scripts/install-run-rush.js install --to repo-toolbox'
14+ displayName : ' Rush Install (rushstack)'
15+ workingDirectory : ' $(Agent.BuildDirectory)/rushstack'
16+
17+ - script : ' node common/scripts/install-run-rush.js build --verbose --production --to repo-toolbox'
18+ displayName : ' Rush Rebuild (rushstack)'
19+ workingDirectory : ' $(Agent.BuildDirectory)/rushstack'
20+
21+ - script : ' node $(Agent.BuildDirectory)/rushstack/repo-scripts/repo-toolbox/lib/start.js record-versions --out-file $(Build.ArtifactStagingDirectory)/published-versions/published-versions.json'
22+ displayName : ' Record Published Versions'
23+ workingDirectory : ' $(Agent.BuildDirectory)/tsdoc'
24+
25+ # Published by the 1ES template
26+ # - publish: $(Build.ArtifactStagingDirectory)/published-versions
27+ # artifact: published-versions
28+ # displayName: 'Publish Artifact: published-versions'
Original file line number Diff line number Diff line change 1818#
1919# //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
2020#
21+
22+ registry=https://registry.npmjs.org/
23+ always-auth=true
24+ //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
You can’t perform that action at this time.
0 commit comments