Compare commits
2 commits
a9bc340f7d
...
29faf1e86c
Author | SHA1 | Date | |
---|---|---|---|
29faf1e86c | |||
39eb09456b |
2 changed files with 28 additions and 25 deletions
|
@ -16,36 +16,36 @@
|
||||||
|
|
||||||
{% macro jobs() -%}
|
{% macro jobs() -%}
|
||||||
- name: rust-xwin
|
- name: rust-xwin
|
||||||
|
serial: true
|
||||||
plan:
|
plan:
|
||||||
- get: repo
|
- get: repo
|
||||||
trigger: true
|
trigger: true
|
||||||
- in_parallel:
|
- task: build-rust-xwin
|
||||||
fail_fast: true
|
file: repo/tasks/build-image.yml
|
||||||
steps:
|
privileged: true
|
||||||
- task: build-rust-xwin
|
vars:
|
||||||
file: repo/tasks/build-image.yml
|
context: repo/images/rust-xwin
|
||||||
privileged: true
|
target: rust-xwin
|
||||||
vars:
|
dockerfile: ''
|
||||||
context: repo/images/rust-xwin
|
output_mapping:
|
||||||
target: rust-xwin
|
image: image-rust-xwin
|
||||||
dockerfile: ''
|
- task: build-rust-xwin-ci
|
||||||
output_mapping:
|
file: repo/tasks/build-image.yml
|
||||||
image: image-rust-xwin
|
privileged: true
|
||||||
- task: build-rust-xwin-ci
|
vars:
|
||||||
file: repo/tasks/build-image.yml
|
context: repo/images/rust-xwin
|
||||||
privileged: true
|
target: rust-xwin-ci
|
||||||
vars:
|
dockerfile: ''
|
||||||
context: repo/images/rust-xwin
|
output_mapping:
|
||||||
target: rust-xwin-ci
|
image: image-rust-xwin-ci
|
||||||
dockerfile: ''
|
|
||||||
output_mapping:
|
|
||||||
image: image-rust-xwin-ci
|
|
||||||
- in_parallel:
|
- in_parallel:
|
||||||
steps:
|
steps:
|
||||||
- put: image-rust-xwin
|
- put: image-rust-xwin
|
||||||
params:
|
inputs: detect
|
||||||
image: image-rust-xwin/image.tar
|
params: { image: image-rust-xwin/image.tar }
|
||||||
|
no_get: true
|
||||||
- put: image-rust-xwin-ci
|
- put: image-rust-xwin-ci
|
||||||
params:
|
inputs: detect
|
||||||
image: image-rust-xwin-ci/image.tar
|
params: { image: image-rust-xwin-ci/image.tar }
|
||||||
|
no_get: true
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{% macro jobs(job) -%}
|
{% macro jobs(job) -%}
|
||||||
- name: {{ job.name }}
|
- name: {{ job.name }}
|
||||||
|
serial: true
|
||||||
plan:
|
plan:
|
||||||
- get: repo
|
- get: repo
|
||||||
trigger: true
|
trigger: true
|
||||||
|
@ -17,5 +18,7 @@
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
- put: image-{{ job.name }}
|
- put: image-{{ job.name }}
|
||||||
|
inputs: detect
|
||||||
params: { image: image/image.tar }
|
params: { image: image/image.tar }
|
||||||
|
no_get: true
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue