Fix: Rebase

Chore: Updated dependencies
Chore: Python 3.10
Chore: Node 18
Chore: Ansible to support new layouts
This commit is contained in:
2022-05-09 23:56:51 +05:30
parent 13df9614bb
commit 763af272d1
18 changed files with 116 additions and 90 deletions

View File

@ -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