Skip to content

Commit aec2350

Browse files
committed
CI: move images out of task.yml into pipeline
1 parent 081fe23 commit aec2350

3 files changed

Lines changed: 14 additions & 10 deletions

File tree

ci/pipeline.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,11 @@ jobs:
138138
- get: bosh-deployment
139139
trigger: true
140140
- get: warden-ubuntu-noble-stemcell
141+
- get: bosh-warden-cpi-image
141142
- task: test-main-warden-cpi
142143
timeout: 2h
143144
file: bosh-deployment/ci/tasks/test-main-warden-cpi.yml
145+
image: bosh-warden-cpi-image
144146
input_mapping:
145147
stemcell: warden-ubuntu-noble-stemcell
146148
privileged: true
@@ -153,9 +155,11 @@ jobs:
153155
- get: bosh-deployment
154156
trigger: true
155157
- get: warden-ubuntu-noble-stemcell
158+
- get: bosh-docker-cpi-image
156159
- task: test-main-docker-cpi
157160
timeout: 2h
158161
file: bosh-deployment/ci/tasks/test-main-docker-cpi.yml
162+
image: bosh-docker-cpi-image
159163
input_mapping:
160164
stemcell: warden-ubuntu-noble-stemcell
161165
privileged: true
@@ -1240,6 +1244,16 @@ resources:
12401244
source:
12411245
repository: ghcr.io/cloudfoundry/ubuntu-noble-stemcell
12421246

1247+
- name: bosh-docker-cpi-image
1248+
type: registry-image
1249+
source:
1250+
repository: ghcr.io/cloudfoundry/bosh/docker-cpi
1251+
1252+
- name: bosh-warden-cpi-image
1253+
type: registry-image
1254+
source:
1255+
repository: ghcr.io/cloudfoundry/bosh/warden-cpi
1256+
12431257
resource_types:
12441258
- name: github-status
12451259
type: registry-image

ci/tasks/test-main-docker-cpi.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
---
22
platform: linux
33

4-
image_resource:
5-
type: registry-image
6-
source:
7-
repository: ghcr.io/cloudfoundry/bosh/docker-cpi
8-
94
inputs:
105
- name: bosh-deployment
116
- name: stemcell

ci/tasks/test-main-warden-cpi.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
---
22
platform: linux
33

4-
image_resource:
5-
type: registry-image
6-
source:
7-
repository: ghcr.io/cloudfoundry/bosh/warden-cpi
8-
94
inputs:
105
- name: bosh-deployment
116
- name: stemcell

0 commit comments

Comments
 (0)