Skip to content

Commit 58907b7

Browse files
[main] Update common Docker engineering infrastructure with latest (#1169)
1 parent c546db6 commit 58907b7

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

eng/common/templates/jobs/publish.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
value: $(artifactsPath)/imageInfo
2929
- name: sourceBuildIdOutputDir
3030
value: $(Build.ArtifactStagingDirectory)/sourceBuildId
31-
- name: imageInfoRawContentUrl
32-
value: https://raw.githubusercontent.com/$(gitHubVersionsRepoInfo.org)/$(gitHubVersionsRepoInfo.repo)/$(gitHubVersionsRepoInfo.branch)/$(gitHubImageInfoVersionsPath)
3331
- ${{ parameters.customPublishVariables }}
3432
steps:
3533
- template: /eng/common/templates/steps/retain-build.yml@self
@@ -106,10 +104,8 @@ jobs:
106104
parameters:
107105
dryRunArg: $(dryRunArg)
108106
condition: and(succeeded(), eq(variables['publishReadme'], 'true'))
109-
- script: |
110-
mkdir -p $(Build.ArtifactStagingDirectory)/eol-annotation-data
111-
curl -fSL --output $(Build.ArtifactStagingDirectory)/eol-annotation-data/image-info-old.json $(imageInfoRawContentUrl)
112-
displayName: Download Original Image Info File
107+
- script: mkdir -p $(Build.ArtifactStagingDirectory)/eol-annotation-data
108+
displayName: Create EOL Annotation Data Directory
113109
- script: >
114110
$(runImageBuilderCmd) publishImageInfo
115111
'$(imageInfoContainerDir)/image-info.json'
@@ -120,12 +116,12 @@ jobs:
120116
--git-repo '$(gitHubVersionsRepoInfo.repo)'
121117
--git-branch '$(gitHubVersionsRepoInfo.branch)'
122118
--git-path '$(gitHubImageInfoVersionsPath)'
119+
--image-info-orig-path '$(artifactsPath)/eol-annotation-data/image-info-old.json'
120+
--image-info-update-path '$(artifactsPath)/eol-annotation-data/image-info-new.json'
123121
$(dryRunArg)
124122
$(imageBuilder.commonCmdArgs)
125123
condition: and(succeeded(), eq(variables['publishImageInfo'], 'true'))
126124
displayName: Publish Image Info
127-
- script: curl -fSL --output $(Build.ArtifactStagingDirectory)/eol-annotation-data/image-info-new.json $(imageInfoRawContentUrl)
128-
displayName: Download Updated Image Info File
129125
- template: /eng/common/templates/steps/run-imagebuilder.yml@self
130126
parameters:
131127
displayName: Ingest Kusto Image Info
@@ -154,8 +150,8 @@ jobs:
154150
'$(artifactsPath)/eol-annotation-data/eol-annotation-data.json'
155151
'$(artifactsPath)/eol-annotation-data/image-info-old.json'
156152
'$(artifactsPath)/eol-annotation-data/image-info-new.json'
157-
'$(publishRepoPrefix)'
158153
'$(acr.server)'
154+
'$(publishRepoPrefix)'
159155
$(generateEolAnnotationDataExtraOptions)
160156
$(dryRunArg)
161157
- template: /eng/common/templates/steps/publish-artifact.yml@self

eng/common/templates/variables/docker-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variables:
2-
imageNames.imageBuilderName: mcr.microsoft.com/dotnet-buildtools/image-builder:2532486
2+
imageNames.imageBuilderName: mcr.microsoft.com/dotnet-buildtools/image-builder:2543116
33
imageNames.imageBuilder: $(imageNames.imageBuilderName)
44
imageNames.imageBuilder.withrepo: imagebuilder-withrepo:$(Build.BuildId)-$(System.JobId)
55
imageNames.testRunner: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner2.0-docker-testrunner

0 commit comments

Comments
 (0)