Merge "Switch to download_artifact_type"

This commit is contained in:
Zuul 2019-08-12 14:43:04 +00:00 committed by Gerrit Code Review
commit da3a4641f1
2 changed files with 6 additions and 5 deletions

View File

@ -10,7 +10,7 @@
vars:
# download_artifact_job: provided by zuul job
download_artifact_api: "https://zuul.opendev.org/api/tenant/{{ zuul.tenant }}"
download_artifact_name: docs_archive
download_artifact_type: docs_archive
download_artifact_pipeline: gate
- name: Create working directory
file:

View File

@ -419,9 +419,10 @@
The name of the job which built the artifacts which this
job should download and promote.
.. zuul:jobvar:: download_artifact_name
.. zuul:jobvar:: download_artifact_type
The name of the artifact.
The type of the artifact to download (as specified in the
``type`` attribute of the artifact metadata).
.. zuul:jobvar:: artifact_extra_name
@ -442,7 +443,7 @@
sdist and wheel(s) built in the gate pipeline.
vars:
download_artifact_job: build-python-release
download_artifact_name:
download_artifact_type:
- python_sdist
- python_wheel
secrets:
@ -460,7 +461,7 @@
javascript content archive built in the gate pipeline.
vars:
download_artifact_job: build-javascript-content-tarball
download_artifact_name: javascript_content
download_artifact_type: javascript_content
artifact_extra_name: js-content
secrets:
- secret: opendev-zuul-tarballs