From 79169962b32b2a14308f6b6229a4b558588e16e7 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Mon, 26 Oct 2015 11:19:19 -0500 Subject: [PATCH] programatically make the .chacractl file This uses variables created by the masks-passwords jenkins plugin. Signed-off-by: Andrew Schoen --- ceph-build-next/build/setup | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ceph-build-next/build/setup b/ceph-build-next/build/setup index f353f0a7..6f95d8c1 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 -- 2.39.5