Orchestration delivery: base and create master scenario

This commit is contained in:
wagnst
2018-07-23 17:00:05 +02:00
parent 5bad8598cc
commit 678508d464
65 changed files with 6701 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
if [ "$#" == 1 ]
then
version=${1}
echo "creating distribution with version ${version}..."
tar -cvzf ./orchestration-${version}.tgz -T ./includeFilesDistro
ret=$?
if [ "$ret" != "0" ]
then
echo "did not create distribution correctly."
else
echo "successfully created distribution."
fi
exit ${ret}
else
echo "version not specified/entered wrong number of parameters"
exit 1
fi