1
Fork 0

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:
Lucas Schwiderski 2024-08-26 16:21:20 +02:00
parent 39eb09456b
commit 29faf1e86c
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8
2 changed files with 20 additions and 21 deletions

View file

@ -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

View file

@ -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