Skip to content

Commit 657f52a

Browse files
committed
CI: remove unnecesary tags
- use YAML anchor for tag
1 parent 5239161 commit 657f52a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ci/pipeline.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
vars:
3+
- &worker_tag_windows windows-nimbus
4+
25
groups:
36
- name: test-and-release
47
jobs:
@@ -30,7 +33,6 @@ jobs:
3033
- get: bosh-utils-image
3134
- task: bump-deps
3235
file: golang-release/ci/tasks/shared/bump-deps.yml
33-
tags: [windows-nimbus]
3436
image: golang-release-image
3537
input_mapping:
3638
input_repo: bosh-utils
@@ -49,7 +51,7 @@ jobs:
4951
input_mapping:
5052
bosh-utils: bumped-bosh-utils
5153
file: bosh-utils/ci/tasks/test-unit-windows.yml
52-
tags: [windows-nimbus]
54+
tags: [*worker_tag_windows]
5355
- put: bosh-utils
5456
inputs: detect
5557
params:
@@ -73,7 +75,7 @@ jobs:
7375
file: bosh-utils/ci/tasks/test-unit.yml
7476
- task: test-unit-windows
7577
file: bosh-utils/ci/tasks/test-unit-windows.yml
76-
tags: [windows-nimbus]
78+
tags: [*worker_tag_windows]
7779
- put: bosh-utils-commit-status
7880
inputs: detect
7981
params:

0 commit comments

Comments
 (0)