From 21dd341155c33b3565aac6629d3dd6fa3c65ce73 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 12 Aug 2019 07:29:32 -0700 Subject: [PATCH] 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 --- playbooks/docs/promote.yaml | 2 +- zuul.d/jobs.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/playbooks/docs/promote.yaml b/playbooks/docs/promote.yaml index 501b368..d131255 100644 --- a/playbooks/docs/promote.yaml +++ b/playbooks/docs/promote.yaml @@ -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: diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 18f60ae..a5f011e 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -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