Skip to content

Commit

Permalink
Remove alpine n-1 leg
Browse files Browse the repository at this point in the history
  • Loading branch information
ellahathaway committed Jan 17, 2025
1 parent e531d20 commit b8ab115
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 36 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ jobs:
fi
if [[ '${{ parameters.withPreviousSDK }}' == 'True' ]]; then
# Source-built artifacts are from CentOS 9 Stream or Alpine 3.19. We want to download them without
# Source-built artifacts are from CentOS 9 Stream. We want to download them without
# downloading portable versions from the internet.
customPrepArgs="${customPrepArgs} --no-sdk --no-bootstrap"
prepSdk=false
Expand Down
42 changes: 12 additions & 30 deletions eng/pipelines/templates/stages/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,39 +107,39 @@ stages:
- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
buildName: ${{ format('{0}_Offline_MsftSdk', variables.alpineName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.centOSStreamContainer }}
container: ${{ variables.alpineContainer }}
targetRid: ${{ variables.alpineX64Rid }}
buildFromArchive: false # 🚫
buildSourceOnly: true #
enablePoison: false # 🚫
enablePoison: true #
excludeOmniSharpTests: true #
runOnline: true #
runOnline: false # 🚫
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫
reuseBuildArtifactsFrom: ${{ format('{0}_Online_MsftSdk', variables.centOSStreamName) }}


- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Offline_PreviousSourceBuiltSdk', variables.alpinePreviousName) }}
buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
artifactsRid: ${{ variables.alpinePreviousX64Rid }}
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.alpinePreviousContainer }}
targetRid: ${{ variables.alpinePreviousX64Rid }}
container: ${{ variables.centOSStreamContainer }}
buildFromArchive: false # 🚫
buildSourceOnly: true #
enablePoison: true #
enablePoison: false # 🚫
excludeOmniSharpTests: true #
runOnline: false # 🚫
runOnline: true #
useMonoRuntime: false # 🚫
withPreviousSDK: true #
withPreviousSDK: false # 🚫
reuseBuildArtifactsFrom: ${{ format('{0}_Online_MsftSdk', variables.centOSStreamName) }}

### Additional jobs for full build ###
- ${{ if in(parameters.scope, 'full') }}:
Expand All @@ -163,24 +163,6 @@ stages:
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫

- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Online_MsftSdk', variables.alpineLatestName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.alpineLatestContainer }}
targetRid: ${{ variables.alpineLatestX64Rid }}
buildFromArchive: false # 🚫
buildSourceOnly: true #
enablePoison: false # 🚫
excludeOmniSharpTests: true #
runOnline: true #
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫

- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
Expand Down
4 changes: 1 addition & 3 deletions eng/pipelines/templates/variables/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ variables:

- name: almaLinuxName
value: AlmaLinux8
- name: alpineLatestName
- name: alpineName
value: Alpine321
- name: alpinePreviousName
value: Alpine320
- name: centOSStreamName
value: CentOSStream9
- name: fedoraName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:

- template: templates/jobs/sdk-diff-tests.yml
parameters:
buildName: ${{ format('{0}_Online_MsftSdk', variables.alpineLatestName) }}
targetRid: ${{ variables.alpineLatestX64Rid }}
buildName: ${{ format('{0}_Offline_MsftSdk', variables.alpineName) }}
targetRid: ${{ variables.alpineX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}

Expand Down

0 comments on commit b8ab115

Please sign in to comment.