Skip to content

Commit e0bc443

Browse files
anamnaviTravisEz13
andauthored
Add LTS tag and push manifest lists for LTS (#532)
Co-authored-by: Travis Plunk <[email protected]> Co-authored-by: Travis Plunk <[email protected]>
1 parent f81b241 commit e0bc443

File tree

10 files changed

+34
-8
lines changed

10 files changed

+34
-8
lines changed

Diff for: .vsts-ci/manifestSteps.yml

-7
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@ steps:
2121
displayName: 'docker login'
2222

2323
- pwsh: |
24-
if($env:$(Channel) -eq 'true')
25-
{
2624
./createAllManifests.ps1 -Registry '$(dockerHost)/$(dockerNamespace)' -Channel $(Channel)
27-
}
28-
else
29-
{
30-
Write-Host 'Current channel disabled, skipping ...'
31-
}
3225
displayName: 'Create $(Channel) Manifest Lists'
3326

3427
- powershell: 'docker logout $(dockerHost)'

Diff for: .vsts-ci/releasebuild.yml

+14
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@ stages:
5858
steps:
5959
- template: manifestSteps.yml
6060

61+
- job: LtsManifestPhase
62+
variables:
63+
releaseTag: $(ltsReleaseTag)
64+
channel: LTS
65+
66+
displayName: Create Lts Manifest Lists
67+
condition: succeededOrFailed()
68+
pool:
69+
vmImage: windows-latest
70+
timeoutInMinutes: 30
71+
72+
steps:
73+
- template: manifestSteps.yml
74+
6175
- job: StableManifestPhase
6276
variables:
6377
releaseTag: $(stableReleaseTag)

Diff for: build.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ param(
125125
$StableVersion,
126126

127127
[Parameter(ParameterSetName="GenerateMatrixJson")]
128+
[Parameter(ParameterSetName="GenerateManifestLists")]
128129
[Parameter(ParameterSetName="GenerateTagsYaml")]
129130
[ValidatePattern('(\d+\.){2}\d(-\w+(\.\d+)?)?')]
130131
[string]

Diff for: createAllManifests.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ param (
77
[string]
88
$Registry = 'microsoft',
99

10-
[ValidateSet('stable','preview','servicing')]
10+
[ValidateSet('stable','preview','servicing', 'lts')]
1111
[Parameter(Mandatory)]
1212
[string]
1313
$Channel='stable',

Diff for: release/lts/nanoserver1809/meta.json

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"lts-nanoserver-#shorttag#",
1212
"lts-nanoserver-1809-#fulltag#"
1313
],
14+
"manifestLists": [
15+
"nanoserver-lts"
16+
],
1417
"Base64EncodePackageUrl": true,
1518
"TestProperties": {
1619
"size": 1

Diff for: release/lts/nanoserver1909/meta.json

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"lts-nanoserver-#shorttag#",
1212
"lts-nanoserver-1909-#fulltag#"
1313
],
14+
"manifestLists": [
15+
"nanoserver-lts"
16+
],
1417
"Base64EncodePackageUrl": true,
1518
"TestProperties": {
1619
"size": 1

Diff for: release/lts/nanoserver2004/meta.json

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"lts-nanoserver-#shorttag#",
1212
"lts-nanoserver-2004-#fulltag#"
1313
],
14+
"manifestLists": [
15+
"nanoserver-lts"
16+
],
1417
"Base64EncodePackageUrl": true,
1518
"TestProperties": {
1619
"size": 1

Diff for: release/lts/ubuntu18.04/meta.json

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"tagTemplates": [
88
"lts-ubuntu-#shorttag#"
99
],
10+
"manifestLists": [
11+
"lts"
12+
],
1013
"shortTags": [
1114
{"Tag": "bionic"},
1215
{"Tag": "18.04"}

Diff for: release/lts/windowsservercore1909/meta.json

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"lts-windowsservercore-#shorttag#",
1313
"lts-windowsservercore-1909-#fulltag#"
1414
],
15+
"manifestLists": [
16+
"lts"
17+
],
1518
"TestProperties": {
1619
"size": 1
1720
},

Diff for: release/lts/windowsservercore2004/meta.json

+3
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@
1515
"TestProperties": {
1616
"size": 1
1717
},
18+
"manifestLists": [
19+
"lts"
20+
],
1821
"UseAcr": true
1922
}

0 commit comments

Comments
 (0)