From bb76002df0521ae477d81a947bfc7a4611af46d9 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 17 Jul 2020 10:22:27 +0200 Subject: [PATCH] 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 --- .../config/definitions/ceph-ansible-scenario.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ceph-ansible-scenario/config/definitions/ceph-ansible-scenario.yml b/ceph-ansible-scenario/config/definitions/ceph-ansible-scenario.yml index 58a3738f..d2994844 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 -- 2.39.5