Run builds in series
Since they I/O bound off of the same hardware, and sometimes also CPU bound when compiling things, running them in parallel only slows things down. Closes: #28
This commit is contained in:
parent
39eb09456b
commit
29faf1e86c
2 changed files with 20 additions and 21 deletions
|
@ -16,30 +16,28 @@
|
||||||
|
|
||||||
{% 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue