summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2019-03-11 14:29:04 -0700
committerJames E. Blair <jeblair@redhat.com>2019-03-11 14:29:04 -0700
commit0d3b5278d186eb91881665c74dc70712c0e908e2 (patch)
tree8e92e854875e7beef892c0a408fb4d37196d1fbf
parent71101557bacc6d67a13b447297c49527c2477632 (diff)
Add no_log entries to skopeo copy commands
Now that these work, we should disable logging because the password appears in the command. Change-Id: I0c5d0be9bffb48bb576f61b7ff19f4451353b7e2
Notes
Notes (review): Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Code-Review+2: Jeremy Stanley <fungi@yuggoth.org> Workflow+1: James E. Blair <corvus@inaugust.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 11 Mar 2019 23:57:44 +0000 Reviewed-on: https://review.openstack.org/642574 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/push-image.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/pull-from-intermediate-registry/tasks/main.yaml b/roles/pull-from-intermediate-registry/tasks/main.yaml
index f8d1205..985020a 100644
--- a/roles/pull-from-intermediate-registry/tasks/main.yaml
+++ b/roles/pull-from-intermediate-registry/tasks/main.yaml
@@ -20,4 +20,4 @@
20 docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ item.metadata.repository }}:{{ item.metadata.tag }} 20 docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ item.metadata.repository }}:{{ item.metadata.tag }}
21 when: "item.metadata.type | default('') == 'container_image'" 21 when: "item.metadata.type | default('') == 'container_image'"
22 loop: "{{ zuul.artifacts | default([]) }}" 22 loop: "{{ zuul.artifacts | default([]) }}"
23 # no_log: true TODO(corvus): replace 23 no_log: true
diff --git a/roles/push-to-intermediate-registry/tasks/push-image.yaml b/roles/push-to-intermediate-registry/tasks/push-image.yaml
index df922fd..1556811 100644
--- a/roles/push-to-intermediate-registry/tasks/push-image.yaml
+++ b/roles/push-to-intermediate-registry/tasks/push-image.yaml
@@ -8,7 +8,7 @@
8 loop: "{{ image.tags | default(['latest']) }}" 8 loop: "{{ image.tags | default(['latest']) }}"
9 loop_control: 9 loop_control:
10 loop_var: image_tag 10 loop_var: image_tag
11 # no_log: true TODO(corvus) replace 11 no_log: true
12 12
13- name: Return artifact to Zuul 13- name: Return artifact to Zuul
14 zuul_return: 14 zuul_return: