Skip to content

Commit 4739a9f

Browse files
committed
fixup! Update Variables to Generated Values
1 parent 62fa159 commit 4739a9f

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.pipelines/build/binaries.jobs.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,23 @@ jobs:
1313
type: linux
1414
${{ if eq(job_data.job, 'linux_arm64') }}:
1515
hostArchitecture: arm64
16+
vmImage: 'onebranch.azurecr.io/linux/ubuntu-2004-arm64:latest'
17+
${{ else }}:
18+
vmImage: 'onebranch.azurecr.io/linux/ubuntu-2204:latest'
19+
1620
variables:
1721
ob_outputDirectory: $(Build.ArtifactStagingDirectory)/out
1822
ob_artifactSuffix: _$(artifact)
1923
ob_git_checkout: false
2024
REPO_ROOT: $(Build.SourcesDirectory)/${{ job_data.templateContext.repositoryArtifact }}
2125
${{ if eq(job_data.job, 'linux_amd64') }}:
22-
LinuxContainerImage: $(LinuxContainerImage2)
2326
ARCH: amd64
2427
OS: linux
2528
${{ elseif eq(job_data.job, 'windows_amd64') }}:
26-
LinuxContainerImage: $(LinuxContainerImage2)
2729
ob_enable_qemu: true
2830
ARCH: amd64
2931
OS: windows
3032
${{ elseif eq(job_data.job, 'linux_arm64') }}:
31-
LinuxContainerImage: $(LinuxContainerImage3)
3233
ob_enable_qemu: true
3334
ARCH: arm64
3435
OS: linux

.pipelines/build/manifests.jobs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ jobs:
2424
pool:
2525
type: docker
2626
os: linux
27-
vmImage: $(LinuxContainerImage)
27+
vmImage: 'mcr.microsoft.com/onebranch/azurelinux/build:3.0'
2828
variables:
29-
LinuxContainerImage: $(LinuxContainerImage)
3029
ob_outputDirectory: $(Build.SourcesDirectory)/out
3130
ob_git_checkout: false
3231

.pipelines/run-pipeline.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ stages:
114114
pool:
115115
os: linux
116116
type: docker
117+
vmImage: 'onebranch.azurecr.io/linux/ubuntu-2204:latest'
117118
variables:
118119
ob_outputDirectory: $(Build.SourcesDirectory)/out
119120
ob_artifactSuffix: _$(name)_linux_amd64
@@ -174,6 +175,7 @@ stages:
174175
pool:
175176
os: linux
176177
type: docker
178+
vmImage: 'onebranch.azurecr.io/linux/ubuntu-2204:latest'
177179
variables:
178180
ob_outputDirectory: $(Build.SourcesDirectory)/out
179181
ob_artifactSuffix: _$(name)_windows_amd64
@@ -193,28 +195,24 @@ stages:
193195
imageTag: $(Build.BuildNumber)
194196
cni:
195197
name: cni
196-
osVersion: ltsc2022
197198
dockerfilePath: $(ACN_DIR)/cni
198199
extraArgs: '--build-arg CNI_AI_PATH=$(CNI_AI_PATH) --build-arg CNI_AI_ID=$(CNI_AI_ID)'
199200
archiveName: azure-cni
200201
archiveVersion: $(CNI_VERSION)
201202
imageTag: $(Build.BuildNumber)
202203
cns:
203204
name: cns
204-
osVersion: ltsc2022
205205
dockerfilePath: $(ACN_DIR)/cns
206206
extraArgs: '--build-arg CNS_AI_PATH=$(CNS_AI_PATH) --build-arg CNS_AI_ID=$(CNS_AI_ID)'
207207
archiveName: azure-cns
208208
archiveVersion: $(CNS_VERSION)
209209
imageTag: $(Build.BuildNumber)
210210
npm:
211211
name: npm
212-
osVersion: ltsc2022
213212
dockerfilePath: $(ACN_DIR)/npm-windows
214213
extraArgs: '--build-arg NPM_AI_PATH=$(NPM_AI_PATH) --build-arg NPM_AI_ID=$(NPM_AI_ID)'
215214
archiveName: azure-npm
216215
archiveVersion: $(NPM_VERSION)
217-
# Note: Double check, I didn't notice a windows platform tag for npm in the Makefile
218216
imageTag: $(Build.BuildNumber)
219217
steps:
220218
- template: build/image.steps.yaml
@@ -233,10 +231,8 @@ stages:
233231
os: linux
234232
type: docker
235233
hostArchitecture: arm64
234+
vmImage: 'onebranch.azurecr.io/linux/ubuntu-2004-arm64:latest'
236235
variables:
237-
# Use if Mariner does not work.
238-
# This agent has qemu enabled, so it should be ok.
239-
#LinuxContainerImage: $(LinuxContainerImage3)
240236
ob_outputDirectory: $(Build.SourcesDirectory)/out
241237
ob_artifactSuffix: _$(name)_linux_arm64
242238
ob_build_container: true

0 commit comments

Comments
 (0)