1
Fork 0

Speed up image uploads

As long as the image isn't used later on, there is no point in the
automatic `get` after `put`.

Also limit the inputs that each `put` step uses.

Closes: #29
This commit is contained in:
Lucas Schwiderski 2024-08-26 16:09:06 +02:00
parent a9bc340f7d
commit 39eb09456b
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8
2 changed files with 8 additions and 4 deletions

View file

@ -43,9 +43,11 @@
- 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 %}

View file

@ -17,5 +17,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 -%}