From 0d3b5278d186eb91881665c74dc70712c0e908e2 Mon Sep 17 00:00:00 2001 From: "James E. Blair" <jeblair@redhat.com> Date: Mon, 11 Mar 2019 14:29:04 -0700 Subject: [PATCH] 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 --- roles/pull-from-intermediate-registry/tasks/main.yaml | 2 +- roles/push-to-intermediate-registry/tasks/push-image.yaml | 2 +- 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 f8d120594..985020a2d 100644 --- a/roles/pull-from-intermediate-registry/tasks/main.yaml +++ b/roles/pull-from-intermediate-registry/tasks/main.yaml @@ -20,4 +20,4 @@ docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ item.metadata.repository }}:{{ item.metadata.tag }} when: "item.metadata.type | default('') == 'container_image'" loop: "{{ zuul.artifacts | default([]) }}" - # no_log: true TODO(corvus): replace + 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 df922fd23..155681155 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 @@ loop: "{{ image.tags | default(['latest']) }}" loop_control: loop_var: image_tag - # no_log: true TODO(corvus) replace + no_log: true - name: Return artifact to Zuul zuul_return: