]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible: inject password in scenario job 1623/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 17 Jul 2020 08:22:27 +0000 (10:22 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 17 Jul 2020 08:25:17 +0000 (10:25 +0200)
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 <gabrioux@redhat.com>
ceph-ansible-scenario/config/definitions/ceph-ansible-scenario.yml

index 58a3738f473d06f3e8591673a47c194363103547..d29948446d26a6c0890d22b4243c2bceeeb07daa 100644 (file)
           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