with more involved deployment pipeline

This commit is contained in:
2022-08-14 20:30:09 +02:00
parent 36274c3155
commit 9cbaccc206
4 changed files with 33 additions and 18 deletions

15
scripts/start_deployment.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -e
echo "Starting deployment"
deploymentrepo="$TMP/deployments"
[ -d $deploymentrepo ] && rm -rf $deploymentrepo
git clone "$DEPLOYMENTS" $deploymentrepo
[ ! -d $deploymentrepo ] && echo "deployments could not be cloned aborting" && exit 1
mkdir -p "$deploymentrepo/$SERVICE"