summaryrefslogtreecommitdiffstats
path: root/.papr.sh
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-06-16 17:12:34 +0200
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-06-16 17:15:25 +0200
commitf6127f924597c9fcc7da6435e14524253db64d64 (patch)
tree00a70e66d3aa28174b08b35aaba13ed1e27557ff /.papr.sh
parent2388cd13cafe0ff967014a1e7a05e0a5d8e64ff9 (diff)
downloadopenshift-f6127f924597c9fcc7da6435e14524253db64d64.tar.gz
openshift-f6127f924597c9fcc7da6435e14524253db64d64.tar.bz2
openshift-f6127f924597c9fcc7da6435e14524253db64d64.tar.xz
openshift-f6127f924597c9fcc7da6435e14524253db64d64.zip
PAPR: define openshift_image_tag via command line
This is a temporary workaround to make sure the action plugin in the openshift_health_checker role can read the correct value specified in the OPENSHIFT_IMAGE_TAG environment variable, instead of a jinja2 template expression.
Diffstat (limited to '.papr.sh')
-rwxr-xr-x.papr.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.papr.sh b/.papr.sh
index fe0b97b68..decca625f 100755
--- a/.papr.sh
+++ b/.papr.sh
@@ -18,7 +18,9 @@ upload_journals() {
trap upload_journals ERR
# run the actual installer
-ansible-playbook -vvv -i .papr.inventory playbooks/byo/config.yml
+# FIXME: override openshift_image_tag defined in the inventory until
+# https://github.com/openshift/openshift-ansible/issues/4478 is fixed.
+ansible-playbook -vvv -i .papr.inventory playbooks/byo/config.yml -e "openshift_image_tag=$OPENSHIFT_IMAGE_TAG"
# run a small subset of origin conformance tests to sanity
# check the cluster NB: we run it on the master since we may