Skip to content

Commit

Permalink
replicate template
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite authored and jt-nti committed Mar 8, 2021
1 parent 3ed241d commit 7565306
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,7 @@ stages:
- task: NodeTool@0
inputs:
versionSpec: $(node_version_spec)
- script: |
set -ev
export RELEASE_VERSION=${VERSION}-unstable.${COMMIT_ID:0:7}
find . \(-wholename "./apis/**/package.json" -or -wholename "./libraries/**/package.json" -or -wholename "./test/**/package.json" \) -exec node ci/updatePackageJson.js {} \;
node common/scripts/install-run-rush.js update
env:
COMMIT_ID: $(Build.SourceVersion)
VERSION: $(VERSION)
- template: templates/nightly-version-update.yaml
condition: and(succeeded(), eq(variables['Build.Reason'], 'Schedule')) # only run on the scheduled builds
- task: DownloadPipelineArtifact@2
inputs:
Expand Down Expand Up @@ -214,14 +207,7 @@ stages:
inputs:
artifact: node-tgz
path: $(Build.SourcesDirectory)/build
- script: |
set -ev
export RELEASE_VERSION=${VERSION}--unstable.${COMMIT_ID:0:7}
find . \(-wholename "./apis/**/package.json" -or -wholename "./libraries/**/package.json" -or -wholename "./test/**/package.json" \) -exec node ci/updatePackageJson.js {} \;
condition: and(succeeded(), eq(variables['Build.Reason'], 'Schedule')) # only run on the scheduled build
env:
COMMIT_ID: $(Build.SourceVersion)
VERSION: $(VERSION)
- template: templates/nightly-version-update.yaml
- script: |
node common/scripts/install-run-rush.js install
node common/scripts/install-run-rush.js start-verdaccio # script will check for the ci variable and use built images
Expand Down

0 comments on commit 7565306

Please sign in to comment.