-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.sh
More file actions
21 lines (21 loc) · 722 Bytes
/
build.sh
File metadata and controls
21 lines (21 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
echo "Performing PIP install for python_cowbull_server"
source ~/virtuals/python_cowbull_server/bin/activate
pip install -r requirements.txt --upgrade --quiet
echo
echo "Performing PIP install for p2_cowbull_server"
source ~/virtuals/p2_cowbull_server/bin/activate
pip install -r requirements.txt --upgrade --quiet
echo
echo "Performing PIP install in local lib for GCloud"
pip install -t lib -r requirements.txt --upgrade --quiet
echo
echo "Building Docker image dsanderscan/cowbull_v5"
docker build -t dsanderscan/cowbull_v5 -f vendor/docker/Dockerfile .
echo
echo "Pushing Docker image dsanderscan/cowbull_v5"
docker push dsanderscan/cowbull_v5
echo
echo "Pushing to GCloud"
gcloud app deploy --quiet
echo
echo "Done."