Skip to content

Commit 034afae

Browse files
committed
CI: use GOPROXY when bumping deps
- fetch, and use bosh/golang-release image explicitly - pipeline uses non-JSON syntax
1 parent 7629a60 commit 034afae

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

ci/pipeline.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,22 @@ jobs:
2222
serial: true
2323
plan:
2424
- in_parallel:
25+
- get: golang-release-image
2526
- get: weekly
2627
trigger: true
2728
- get: bosh-utils
2829
- get: golang-release
2930
- get: bosh-utils-image
3031
- task: bump-deps
3132
file: golang-release/ci/tasks/shared/bump-deps.yml
33+
tags: [windows-nimbus]
34+
image: golang-release-image
3235
input_mapping:
3336
input_repo: bosh-utils
3437
output_mapping:
3538
output_repo: bumped-bosh-utils
39+
params:
40+
GOPROXY: https://((broadcom_artifactory_mirrors.username)):((broadcom_artifactory_mirrors.password))@((broadcom_artifactory_mirrors.golang)),off
3641
- in_parallel:
3742
- task: test-unit
3843
input_mapping:
@@ -43,8 +48,7 @@ jobs:
4348
input_mapping:
4449
bosh-utils: bumped-bosh-utils
4550
file: bosh-utils/ci/tasks/test-unit-windows.yml
46-
tags:
47-
- windows-nimbus
51+
tags: [windows-nimbus]
4852
- put: bosh-utils
4953
inputs: detect
5054
params:
@@ -59,16 +63,16 @@ jobs:
5963
- get: bosh-utils-registry-image
6064
trigger: true
6165
- get: version-semver
62-
params: {bump: patch}
66+
params:
67+
bump: patch
6368
- get: bosh-utils-image
6469
- in_parallel:
6570
- task: test-unit
6671
image: bosh-utils-image
6772
file: bosh-utils/ci/tasks/test-unit.yml
6873
- task: test-unit-windows
6974
file: bosh-utils/ci/tasks/test-unit-windows.yml
70-
tags:
71-
- windows-nimbus
75+
tags: [windows-nimbus]
7276
- put: bosh-utils-commit-status
7377
inputs: detect
7478
params:
@@ -82,7 +86,8 @@ jobs:
8286
tag: version-semver/version
8387
- put: version-semver
8488
inputs: detect
85-
params: { file: version-semver/version }
89+
params:
90+
file: version-semver/version
8691

8792
- name: publish-multidigest-binary
8893
serial: true
@@ -97,13 +102,15 @@ jobs:
97102
passed: [test-unit]
98103
- task: build-multidigest-binary-linux
99104
file: bosh-utils/ci/tasks/build-multidigest-binary.yml
100-
output_mapping: { out: compiled-linux }
105+
output_mapping:
106+
out: compiled-linux
101107
params:
102108
GOOS: linux
103109
GOARCH: amd64
104110
- put: release-bucket-linux
105111
inputs: detect
106-
params: {file: compiled-linux/verify-multidigest-*-linux-amd64}
112+
params:
113+
file: compiled-linux/verify-multidigest-*-linux-amd64
107114

108115
- name: build-bosh-utils-image
109116
serial: true
@@ -165,6 +172,12 @@ resources:
165172
type: git
166173
source:
167174
uri: https://github.com/cloudfoundry/bosh-package-golang-release.git
175+
- name: golang-release-image
176+
type: registry-image
177+
source:
178+
repository: bosh/golang-release
179+
username: ((docker.username))
180+
password: ((docker.password))
168181

169182
- name: release-bucket-linux
170183
type: gcs

0 commit comments

Comments
 (0)