File tree 6 files changed +17
-13
lines changed 6 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"matrix" : {
3
3
"Agent" : {
4
- "ubuntu-20.04 " : {
4
+ "ubuntu_go " : {
5
5
"OSVmImage" : " env:LINUXVMIMAGE" ,
6
6
"Pool" : " env:LINUXPOOL"
7
7
},
8
- "windows-2022 " : {
8
+ "windows_go " : {
9
9
"OSVmImage" : " env:WINDOWSVMIMAGE" ,
10
10
"Pool" : " env:WINDOWSPOOL"
11
11
}
12
12
},
13
13
"GoVersion" : [
14
- " 1.23.7 " ,
15
- " 1.24.1 "
14
+ " env:GO_VERSION_LATEST " ,
15
+ " env:GO_VERSION_PREVIOUS "
16
16
]
17
17
}
18
18
}
Original file line number Diff line number Diff line change 76
76
77
77
- ${{ if parameters.UseFederatedAuth }} :
78
78
- task : AzurePowerShell@5
79
- displayName : Run Tests (Federated Auth)
79
+ displayName : Run Tests - v$(GoVersion) (Federated Auth)
80
80
inputs :
81
81
azureSubscription : ${{ parameters.ServiceConnection }}
82
82
azurePowerShellVersion : LatestVersion
@@ -116,7 +116,7 @@ steps:
116
116
117
117
- ${{ else }} :
118
118
- task : PowerShell@2
119
- displayName : ' Run Tests'
119
+ displayName : Run Tests - v$(GoVersion)
120
120
inputs :
121
121
targetType : ' filePath'
122
122
filePath : ./eng/scripts/run_tests.ps1
Original file line number Diff line number Diff line change @@ -20,3 +20,7 @@ variables:
20
20
21
21
# disable code coverage redesign until it's been fixed (causes inadvertent deflation of CC numbers)
22
22
GOEXPERIMENT : nocoverageredesign
23
+
24
+ # Supported versions for testing. These variables are referenced in test matrix files.
25
+ GO_VERSION_LATEST : 1.24.1
26
+ GO_VERSION_PREVIOUS : 1.23.7
Original file line number Diff line number Diff line change 9
9
}
10
10
},
11
11
"GoVersion" : [
12
- " 1.22.1 "
12
+ " env:GO_VERSION_PREVIOUS "
13
13
],
14
14
"IDENTITY_IMDS_AVAILABLE" : " 1"
15
15
}
Original file line number Diff line number Diff line change 5
5
"include" : [
6
6
{
7
7
"Agent" : {
8
- "ubuntu-20.04 " : {
8
+ "ubuntu_go " : {
9
9
"OSVmImage" : " env:LINUXVMIMAGE" ,
10
10
"Pool" : " env:LINUXPOOL"
11
11
}
12
12
},
13
- "ArmTemplateParameters " : " @{ enableHsm = $true } " ,
14
- "GoVersion " : [ " 1.23.7 " ]
13
+ "GoVersion " : [ " env:GO_VERSION_PREVIOUS " ] ,
14
+ "ArmTemplateParameters " : " @{ enableHsm = $true } "
15
15
}
16
16
]
17
17
}
Original file line number Diff line number Diff line change 5
5
"include" : [
6
6
{
7
7
"Agent" : {
8
- "ubuntu-20.04 " : {
8
+ "ubuntu_go " : {
9
9
"OSVmImage" : " env:LINUXVMIMAGE" ,
10
10
"Pool" : " env:LINUXPOOL"
11
11
}
12
12
},
13
- "ArmTemplateParameters " : " @{ enableHsm = $true } " ,
14
- "GoVersion " : [ " 1.23.7 " ]
13
+ "GoVersion " : [ " env:GO_VERSION_PREVIOUS " ] ,
14
+ "ArmTemplateParameters " : " @{ enableHsm = $true } "
15
15
}
16
16
]
17
17
}
You can’t perform that action at this time.
0 commit comments