Setup script deletes template folder when done.
This commit is contained in:
@@ -27,7 +27,7 @@ read -p "Are you deploying this with the Sciocatti Jenkins pipeline? [Yn] " useJ
|
|||||||
|
|
||||||
if [ $useJenkins == 'Y' ] || [ $useJenkins == 'y' ]
|
if [ $useJenkins == 'Y' ] || [ $useJenkins == 'y' ]
|
||||||
then
|
then
|
||||||
echo "Configuring deployment settings. Deployments will work on branches called 'stage' (), 'main', 'prod'"
|
echo "Configuring deployment settings. See the Readme for info on deployable branches."
|
||||||
read -p " K3S App name: " k3sApp
|
read -p " K3S App name: " k3sApp
|
||||||
read -p " K3S namespace: [eg apps] " k3sNamespace
|
read -p " K3S namespace: [eg apps] " k3sNamespace
|
||||||
read -p " K3S base container: [eg nginx:nginx:latest] " k3sContainerBase
|
read -p " K3S base container: [eg nginx:nginx:latest] " k3sContainerBase
|
||||||
@@ -99,4 +99,7 @@ then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Removing template folder"
|
||||||
|
rm -rf template
|
||||||
|
|
||||||
echo "Thank you! Happy building..."
|
echo "Thank you! Happy building..."
|
||||||
Reference in New Issue
Block a user