|
| 1 | +parameters: |
| 2 | +- name: channel |
| 3 | + default: 'preview' |
| 4 | +- name: channelPath |
| 5 | + default: '' |
| 6 | +- name: vmImage |
| 7 | + default: PSMMSUbuntu20.04-Secure |
| 8 | +stages: |
| 9 | +- stage: StageGenerateBuild_lts |
| 10 | + dependsOn: ['StageResolveVersionandYaml'] |
| 11 | + displayName: Build lts |
| 12 | + jobs: |
| 13 | + - template: /.vsts-ci/releasePhase.yml@self |
| 14 | + parameters: |
| 15 | + archName: 'Build_linux_amd64' |
| 16 | + imageName: alpine316 |
| 17 | + artifactSuffix: alpine316 |
| 18 | + poolOS: 'linux' |
| 19 | + poolHostArchitecture: 'amd64' |
| 20 | + buildKitValue: 1 |
| 21 | + channel: ${{ parameters.channel }} |
| 22 | + channelPath: ${{ parameters.channelPath }} |
| 23 | + - template: /.vsts-ci/releasePhase.yml@self |
| 24 | + parameters: |
| 25 | + archName: 'Build_linux_amd64' |
| 26 | + imageName: alpine317 |
| 27 | + artifactSuffix: alpine317 |
| 28 | + poolOS: 'linux' |
| 29 | + poolHostArchitecture: 'amd64' |
| 30 | + buildKitValue: 1 |
| 31 | + channel: ${{ parameters.channel }} |
| 32 | + channelPath: ${{ parameters.channelPath }} |
| 33 | + - template: /.vsts-ci/releasePhase.yml@self |
| 34 | + parameters: |
| 35 | + archName: 'Build_linux_amd64' |
| 36 | + imageName: debian11 |
| 37 | + artifactSuffix: debian11 |
| 38 | + poolOS: 'linux' |
| 39 | + poolHostArchitecture: 'amd64' |
| 40 | + buildKitValue: 1 |
| 41 | + channel: ${{ parameters.channel }} |
| 42 | + channelPath: ${{ parameters.channelPath }} |
| 43 | + - template: /.vsts-ci/releasePhase.yml@self |
| 44 | + parameters: |
| 45 | + archName: 'Build_linux_amd64' |
| 46 | + imageName: mariner2 |
| 47 | + artifactSuffix: mariner2 |
| 48 | + poolOS: 'linux' |
| 49 | + poolHostArchitecture: 'amd64' |
| 50 | + buildKitValue: 1 |
| 51 | + channel: ${{ parameters.channel }} |
| 52 | + channelPath: ${{ parameters.channelPath }} |
| 53 | + - template: /.vsts-ci/releasePhase.yml@self |
| 54 | + parameters: |
| 55 | + archName: 'Build_linux_amd64' |
| 56 | + imageName: ubi8 |
| 57 | + artifactSuffix: ubi8 |
| 58 | + poolOS: 'linux' |
| 59 | + poolHostArchitecture: 'amd64' |
| 60 | + buildKitValue: 1 |
| 61 | + channel: ${{ parameters.channel }} |
| 62 | + channelPath: ${{ parameters.channelPath }} |
| 63 | + - template: /.vsts-ci/releasePhase.yml@self |
| 64 | + parameters: |
| 65 | + archName: 'Build_linux_amd64' |
| 66 | + imageName: ubuntu20.04 |
| 67 | + artifactSuffix: ubuntu2004 |
| 68 | + poolOS: 'linux' |
| 69 | + poolHostArchitecture: 'amd64' |
| 70 | + buildKitValue: 1 |
| 71 | + channel: ${{ parameters.channel }} |
| 72 | + channelPath: ${{ parameters.channelPath }} |
| 73 | + - template: /.vsts-ci/releasePhase.yml@self |
| 74 | + parameters: |
| 75 | + archName: 'Build_linux_amd64' |
| 76 | + imageName: ubuntu22.04 |
| 77 | + artifactSuffix: ubuntu2204 |
| 78 | + poolOS: 'linux' |
| 79 | + poolHostArchitecture: 'amd64' |
| 80 | + buildKitValue: 1 |
| 81 | + channel: ${{ parameters.channel }} |
| 82 | + channelPath: ${{ parameters.channelPath }} |
| 83 | + - template: /.vsts-ci/releasePhase.yml@self |
| 84 | + parameters: |
| 85 | + archName: 'Build_linux_arm32' |
| 86 | + imageName: ubuntu20.04-arm32v7 |
| 87 | + artifactSuffix: ubuntu2004_arm32v7 |
| 88 | + poolOS: 'linux' |
| 89 | + poolHostArchitecture: 'arm64' |
| 90 | + buildKitValue: 1 |
| 91 | + channel: ${{ parameters.channel }} |
| 92 | + channelPath: ${{ parameters.channelPath }} |
| 93 | + - template: /.vsts-ci/releasePhase.yml@self |
| 94 | + parameters: |
| 95 | + archName: 'Build_linux_arm32' |
| 96 | + imageName: ubuntu22.04-arm32v7 |
| 97 | + artifactSuffix: ubuntu2204_arm32v7 |
| 98 | + poolOS: 'linux' |
| 99 | + poolHostArchitecture: 'arm64' |
| 100 | + buildKitValue: 1 |
| 101 | + channel: ${{ parameters.channel }} |
| 102 | + channelPath: ${{ parameters.channelPath }} |
| 103 | + - template: /.vsts-ci/releasePhase.yml@self |
| 104 | + parameters: |
| 105 | + archName: 'Build_windows_amd64' |
| 106 | + imageName: nanoserver1809 |
| 107 | + artifactSuffix: nanoserver1809 |
| 108 | + poolOS: 'windows' |
| 109 | + maxParallel: 3 |
| 110 | + channel: ${{ parameters.channel }} |
| 111 | + channelPath: ${{ parameters.channelPath }} |
| 112 | + - template: /.vsts-ci/releasePhase.yml@self |
| 113 | + parameters: |
| 114 | + archName: 'Build_windows_amd64' |
| 115 | + imageName: nanoserver2022 |
| 116 | + artifactSuffix: nanoserver2022 |
| 117 | + poolOS: 'windows' |
| 118 | + poolHostVersion: '1ESWindows2022' |
| 119 | + windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest' |
| 120 | + maxParallel: 3 |
| 121 | + channel: ${{ parameters.channel }} |
| 122 | + channelPath: ${{ parameters.channelPath }} |
| 123 | + - template: /.vsts-ci/releasePhase.yml@self |
| 124 | + parameters: |
| 125 | + archName: 'Build_windows_amd64' |
| 126 | + imageName: windowsserver2022 |
| 127 | + artifactSuffix: windowsserver2022 |
| 128 | + poolOS: 'windows' |
| 129 | + poolHostVersion: '1ESWindows2022' |
| 130 | + windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest' |
| 131 | + maxParallel: 3 |
| 132 | + channel: ${{ parameters.channel }} |
| 133 | + channelPath: ${{ parameters.channelPath }} |
| 134 | + - template: /.vsts-ci/releasePhase.yml@self |
| 135 | + parameters: |
| 136 | + archName: 'Build_windows_amd64' |
| 137 | + imageName: windowsservercore2022 |
| 138 | + artifactSuffix: windowsservercore2022 |
| 139 | + poolOS: 'windows' |
| 140 | + poolHostVersion: '1ESWindows2022' |
| 141 | + windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest' |
| 142 | + maxParallel: 3 |
| 143 | + channel: ${{ parameters.channel }} |
| 144 | + channelPath: ${{ parameters.channelPath }} |
| 145 | + - template: /.vsts-ci/releasePhase.yml@self |
| 146 | + parameters: |
| 147 | + archName: 'Build_linux_amd64' |
| 148 | + imageName: alpine316\test-deps |
| 149 | + artifactSuffix: alpine316_test_deps |
| 150 | + poolOS: 'linux' |
| 151 | + poolHostArchitecture: 'amd64' |
| 152 | + buildKitValue: 1 |
| 153 | + channel: ${{ parameters.channel }} |
| 154 | + channelPath: ${{ parameters.channelPath }} |
| 155 | + - template: /.vsts-ci/releasePhase.yml@self |
| 156 | + parameters: |
| 157 | + archName: 'Build_linux_amd64' |
| 158 | + imageName: alpine317\test-deps |
| 159 | + artifactSuffix: alpine317_test_deps |
| 160 | + poolOS: 'linux' |
| 161 | + poolHostArchitecture: 'amd64' |
| 162 | + buildKitValue: 1 |
| 163 | + channel: ${{ parameters.channel }} |
| 164 | + channelPath: ${{ parameters.channelPath }} |
| 165 | + - template: /.vsts-ci/releasePhase.yml@self |
| 166 | + parameters: |
| 167 | + archName: 'Build_linux_amd64' |
| 168 | + imageName: debian11\test-deps |
| 169 | + artifactSuffix: debian11_test_deps |
| 170 | + poolOS: 'linux' |
| 171 | + poolHostArchitecture: 'amd64' |
| 172 | + buildKitValue: 1 |
| 173 | + channel: ${{ parameters.channel }} |
| 174 | + channelPath: ${{ parameters.channelPath }} |
| 175 | + - template: /.vsts-ci/releasePhase.yml@self |
| 176 | + parameters: |
| 177 | + archName: 'Build_linux_amd64' |
| 178 | + imageName: ubi8\test-deps |
| 179 | + artifactSuffix: ubi8_test_deps |
| 180 | + poolOS: 'linux' |
| 181 | + poolHostArchitecture: 'amd64' |
| 182 | + buildKitValue: 1 |
| 183 | + channel: ${{ parameters.channel }} |
| 184 | + channelPath: ${{ parameters.channelPath }} |
| 185 | + - template: /.vsts-ci/releasePhase.yml@self |
| 186 | + parameters: |
| 187 | + archName: 'Build_linux_amd64' |
| 188 | + imageName: ubuntu20.04\test-deps |
| 189 | + artifactSuffix: ubuntu2004_test_deps |
| 190 | + poolOS: 'linux' |
| 191 | + poolHostArchitecture: 'amd64' |
| 192 | + buildKitValue: 1 |
| 193 | + channel: ${{ parameters.channel }} |
| 194 | + channelPath: ${{ parameters.channelPath }} |
| 195 | + - template: /.vsts-ci/releasePhase.yml@self |
| 196 | + parameters: |
| 197 | + archName: 'Build_linux_amd64' |
| 198 | + imageName: ubuntu22.04\test-deps |
| 199 | + artifactSuffix: ubuntu2204_test_deps |
| 200 | + poolOS: 'linux' |
| 201 | + poolHostArchitecture: 'amd64' |
| 202 | + buildKitValue: 1 |
| 203 | + channel: ${{ parameters.channel }} |
| 204 | + channelPath: ${{ parameters.channelPath }} |
0 commit comments