From: Guillaume Abrioux Date: Fri, 17 Jul 2020 08:22:27 +0000 (+0200) Subject: ceph-ansible: inject password in scenario job X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1623%2Fhead;p=ceph-build.git ceph-ansible: inject password in scenario job this commit makes this 'individual job scenario testing' using the `DOCKER_HUB_USERNAME` and `DOCKER_HUB_PASSWORD` environment variable so the job can run with docker authentication. Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-ansible-scenario/config/definitions/ceph-ansible-scenario.yml b/ceph-ansible-scenario/config/definitions/ceph-ansible-scenario.yml index 58a3738f4..d29948446 100644 --- a/ceph-ansible-scenario/config/definitions/ceph-ansible-scenario.yml +++ b/ceph-ansible-scenario/config/definitions/ceph-ansible-scenario.yml @@ -93,3 +93,13 @@ artifacts: 'logs/**' allow-empty: true latest-only: false + + wrappers: + - inject-passwords: + global: true + mask-password-params: true + - credentials-binding: + - username-password-separated: + credential-id: ceph-ansible-upstream-ci + username: DOCKER_HUB_USERNAME + password: DOCKER_HUB_PASSWORD