Commit 4f657e88 authored by Alberto Colla's avatar Alberto Colla
Browse files

2019-01-31 AC: bugfix

parent 1f52300b
......@@ -27,7 +27,8 @@ unit_test: apt_prereqs
tox
publish: lint
export OUTPUT=`charm push . cs:~$(USER)/$(NAME)`; echo $$OUTPUT
export REV=`echo $$OUTPUT | sed 's/.*$(NAME)-\([0-9]*\).*/\1/'`
OUTPUT=`charm push . cs:~$(USER)/$(NAME)`
echo $$OUTPUT
REV=`echo $$OUTPUT | sed 's/.*$(NAME)-\([0-9]*\).*/\1/'`
charm release cs:~$(USER)/$(NAME)-$(REV) --channel stable
charm grant cs:~$(USER)/$(NAME)-$(REV) everyone --channel stable
......@@ -85,6 +85,7 @@ def setup_authentication():
hookenv.log('Downloading %s' % k8s_keystone_auth_url)
handler.download(k8s_keystone_auth_url, k8s_keystone_auth_path)
check_call(['chmod', '+x', k8s_keystone_auth_path])
check_call(['chmod', '+x', k8s_keystone_auth_start])
# CHECKME: do we need authorization-mode Webhook?
# get current value for authorization-mode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment