]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
programatically make the .chacractl file 154/head
authorAndrew Schoen <aschoen@redhat.com>
Mon, 26 Oct 2015 16:19:19 +0000 (11:19 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 26 Oct 2015 16:19:19 +0000 (11:19 -0500)
This uses variables created by the masks-passwords jenkins plugin.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-build-next/build/setup

index f353f0a775a2383a0f1f8687ed5cc05063e05ec2..6f95d8c16b142c3b065e5d6432cd85ffb31d47f7 100644 (file)
@@ -80,3 +80,10 @@ if ! venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chac
     venv/bin/pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" chacractl
     venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl
 fi
+
+# create the .chacractl config file
+cat > $HOME/.chacractl << EOF
+url = $CHACRACTL_URL
+user = $CHACRACTL_USER
+key = $CHACRACTL_KEY
+EOF