From: Andrew Schoen Date: Mon, 26 Oct 2015 16:19:19 +0000 (-0500) Subject: programatically make the .chacractl file X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F154%2Fhead;p=ceph-build.git programatically make the .chacractl file This uses variables created by the masks-passwords jenkins plugin. Signed-off-by: Andrew Schoen --- diff --git a/ceph-build-next/build/setup b/ceph-build-next/build/setup index f353f0a77..6f95d8c16 100644 --- a/ceph-build-next/build/setup +++ b/ceph-build-next/build/setup @@ -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