Use human-readable names for artifact returns

This will cause links to appear on the build page with text like
"Docs preview site".

Change-Id: I65f8990b65607e72190a871409c3e31014ce86df
This commit is contained in:
James E. Blair 2019-07-23 15:25:15 -07:00
parent ed0c36250c
commit ea00b6aa5a
6 changed files with 8 additions and 8 deletions

View File

@ -33,7 +33,7 @@
data:
zuul:
artifacts:
- name: "python_sdist"
- name: "Python sdist"
url: "artifacts/{{ item.path | basename }}"
metadata:
type: python_sdist
@ -45,7 +45,7 @@
data:
zuul:
artifacts:
- name: "python_wheel"
- name: "Python wheel"
url: "artifacts/{{ item.path | basename }}"
metadata:
type: python_wheel

View File

@ -50,7 +50,7 @@
data:
zuul:
artifacts:
- name: javascript_content
- name: Javascript content archive
url: "artifacts/{{ item.path | basename }}"
metadata:
type: javascript_content

View File

@ -146,5 +146,5 @@
data:
zuul:
artifacts:
- name: "site"
- name: "Site preview"
url: "npm/html/"

View File

@ -33,11 +33,11 @@
data:
zuul:
artifacts:
- name: "docs_archive"
- name: "Docs archive"
url: "docs-html.tar.bz2"
metadata:
type: docs_archive
- name: "docs_site"
- name: "Docs preview site"
url: "docs/"
metadata:
type: docs_site

View File

@ -8,7 +8,7 @@
data:
zuul:
artifacts:
- name: Manifest
- name: Zuul Manifest
url: "{{ generate_zuul_manifest_filename }}"
metadata:
type: "{{ generate_zuul_manifest_type }}"

View File

@ -15,7 +15,7 @@
data:
zuul:
artifacts:
- name: "image_{{ image.repository }}:{{ image_tag }}"
- name: "{{ image.repository }}:{{ image_tag }}"
url: "docker://{{ intermediate_registry.host | ipwrap }}:{{ intermediate_registry.port }}/{{ image.repository }}:{{ zuul.build }}_{{ image_tag }}"
metadata:
type: container_image