summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2019-02-14 12:59:29 -0800
committerJames E. Blair <jeblair@redhat.com>2019-02-14 12:59:29 -0800
commit582e95db5382aa2a18d70db113ce93d495b688e8 (patch)
tree6a27daffddf51f6b169e1db3b91a0abab548ab7a
parenta06ff1ce19325b84e4e6db6502a0e1806f9a1592 (diff)
Enable logging on registry/push/pull jobs
This may expose credentials, but these don't work right now. Change-Id: I8b55734d17329ecc6ac9d9a9ad4189482b6c07ee
Notes
Notes (review): Code-Review+2: Tobias Henkel <tobias.henkel@bmw.de> Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Workflow+1: Clark Boylan <cboylan@sapwetik.org> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 14 Feb 2019 22:08:18 +0000 Reviewed-on: https://review.openstack.org/637049 Project: openstack-infra/zuul-jobs Branch: refs/heads/master
-rw-r--r--roles/pull-from-intermediate-registry/tasks/main.yaml2
-rw-r--r--roles/push-to-intermediate-registry/tasks/main.yaml2
-rw-r--r--roles/push-to-intermediate-registry/tasks/push.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/roles/pull-from-intermediate-registry/tasks/main.yaml b/roles/pull-from-intermediate-registry/tasks/main.yaml
index b0a585c..090443b 100644
--- a/roles/pull-from-intermediate-registry/tasks/main.yaml
+++ b/roles/pull-from-intermediate-registry/tasks/main.yaml
@@ -7,4 +7,4 @@
7 docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ item.metadata.repository }}:{{ item.metadata.tag }} 7 docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ item.metadata.repository }}:{{ item.metadata.tag }}
8 when: "item.metadata.type | default('') == 'container_image'" 8 when: "item.metadata.type | default('') == 'container_image'"
9 loop: "{{ zuul.artifacts }}" 9 loop: "{{ zuul.artifacts }}"
10 no_log: true 10 # no_log: true TODO(corvus): replace
diff --git a/roles/push-to-intermediate-registry/tasks/main.yaml b/roles/push-to-intermediate-registry/tasks/main.yaml
index 4c7f32a..680e2ff 100644
--- a/roles/push-to-intermediate-registry/tasks/main.yaml
+++ b/roles/push-to-intermediate-registry/tasks/main.yaml
@@ -1,5 +1,5 @@
1- name: Push image to intermediate registry 1- name: Push image to intermediate registry
2 include_tasks: push.yaml 2 include_tasks: push.yaml
3 loop: docker_images 3 loop: "{{ docker_images }}"
4 loop_control: 4 loop_control:
5 loop_var: image 5 loop_var: image
diff --git a/roles/push-to-intermediate-registry/tasks/push.yaml b/roles/push-to-intermediate-registry/tasks/push.yaml
index db9fd8d..8773a36 100644
--- a/roles/push-to-intermediate-registry/tasks/push.yaml
+++ b/roles/push-to-intermediate-registry/tasks/push.yaml
@@ -8,7 +8,7 @@
8 loop: "{{ image.tags }}" 8 loop: "{{ image.tags }}"
9 loop_control: 9 loop_control:
10 loop_var: image_tag 10 loop_var: image_tag
11 no_log: true 11 # no_log: true TODO(corvus) replace
12 12
13- name: Return artifact to Zuul 13- name: Return artifact to Zuul
14 zuul_return: 14 zuul_return: