Fix: Rebase
Chore: Updated dependencies Chore: Python 3.10 Chore: Node 18 Chore: Ansible to support new layouts
This commit is contained in:
12
deploy.sh
12
deploy.sh
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
set -euo pipefail
|
||||
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
|
||||
cd "$parent_path" || exit
|
||||
#./lint.sh
|
||||
|
||||
./lint.sh
|
||||
|
||||
if [ 1 -eq "$#" ]
|
||||
then
|
||||
@ -25,6 +25,12 @@ curl --silent 'https://git.tanshu.com/tanshu/brewman/raw/tag/latest/brewman/pypr
|
||||
|
||||
cd "$parent_path/docker/app" || exit
|
||||
docker build --tag brewman:latest .
|
||||
if [ 1 -eq "$#" ]
|
||||
then
|
||||
docker tag brewman:latest "$1"
|
||||
else
|
||||
echo "No version bump"
|
||||
fi
|
||||
cd "$parent_path/docker" || exit
|
||||
docker save brewman:latest | bzip2 | pv | ssh vancity 'bunzip2 | sudo docker load'
|
||||
ansible-playbook --limit vancity playbook-exp.yml
|
||||
|
||||
Reference in New Issue
Block a user