Skip to content

Commit 3f6d1e5

Browse files
Make golang version configurable (#2137)
* Make golang version configurable * Make golang version configurable * Update azure-pipelines.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines
1 parent f488abd commit 3f6d1e5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

azure-pipelines.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
variables:
2+
AZCOPY_GOLANG_VERSION: $(AZCOPY_GO_VER)
3+
14
trigger:
25
branches:
36
include:
@@ -29,7 +32,7 @@ jobs:
2932
env:
3033
GO111MODULE: 'on'
3134
inputs:
32-
version: '1.19.2'
35+
version: $(AZCOPY_GOLANG_VERSION)
3336

3437
- script: |
3538
echo 'Running GO Vet'
@@ -112,7 +115,7 @@ jobs:
112115
steps:
113116
- task: GoTool@0
114117
inputs:
115-
version: '1.19.2'
118+
version: $(AZCOPY_GOLANG_VERSION)
116119

117120
# Running E2E Tests on Linux - AMD64
118121
- script: |
@@ -210,7 +213,7 @@ jobs:
210213
- task: GoTool@0
211214
name: 'Set_up_Golang'
212215
inputs:
213-
version: '1.19.2'
216+
version: $(AZCOPY_GOLANG_VERSION)
214217
- task: DownloadSecureFile@1
215218
name: ciGCSServiceAccountKey
216219
displayName: 'Download GCS Service Account Key'

0 commit comments

Comments
 (0)