Switch to download_artifact_type

download_artifact_name has been removed:

http://lists.zuul-ci.org/pipermail/zuul-announce/2019-July/000046.html

Change-Id: I2500bcf3755c7a78682c742eefa3d0a6a970ea1a
This commit is contained in:
James E. Blair 2019-08-12 07:29:32 -07:00
parent 46b1fe06bd
commit 21dd341155
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

@ -418,9 +418,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
@ -441,7 +442,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:
@ -459,7 +460,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