File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- language : go
2- go :
3- - 1.5.1
4- env :
5- - GO15VENDOREXPERIMENT=1
1+ language : python
2+ python :
3+ - 3.5
64branches :
75 only :
86 - master
9- cache :
10- directories :
11- - $HOME/.cache/pip
12- - $HOME/venv
137services :
148 - docker
159 - postgresql
@@ -19,9 +13,6 @@ addons:
1913before_install :
2014 - wget "http://ftp.debian.org/debian/pool/main/s/shellcheck/shellcheck_0.3.7-5_amd64.deb"
2115 - sudo dpkg -i shellcheck_0.3.7-5_amd64.deb
22- - sudo pip install virtualenv
23- - virtualenv -p python3.5 $HOME/venv
24- - source $HOME/venv/bin/activate
2516 - createdb -U postgres deis
2617install :
2718 - pip install -r rootfs/requirements.txt
Original file line number Diff line number Diff line change @@ -9,8 +9,11 @@ include versioning.mk
99SHELL_SCRIPTS = $(wildcard rootfs/bin/* ) $(shell find "rootfs" -name '* .sh') $(wildcard _scripts/* .sh)
1010
1111# Get the component informtation to a tmp location and get replica count
12+ KUBE := $(shell which kubectl)
13+ ifdef KUBE
1214$(shell kubectl get rc deis-$(COMPONENT) --namespace deis -o yaml > /tmp/deis-$(COMPONENT))
1315DESIRED_REPLICAS =$(shell kubectl get -o template rc/deis-$(COMPONENT ) --template={{.status.replicas}} --namespace deis)
16+ endif
1417
1518check-docker :
1619 @if [ -z $$ (which docker) ]; then \
You can’t perform that action at this time.
0 commit comments