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

View File

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

View File

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

View File

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

View File

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

View File

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