Commit dee43641 authored by Roberto di Lallo's avatar Roberto di Lallo
Browse files

Added publish target.

parent 67cda48f
#!/usr/bin/make
USER = csd-garr
NAME = kubernetes-keystone
all: lint unit_test
......@@ -22,3 +25,9 @@ lint: apt_prereqs
unit_test: apt_prereqs
@echo Starting tests...
tox
publish: lint
export OUTPUT=`charm push . cs:~$(USER)/$(NAME)`; echo $$OUTPUT
export 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
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