Skip to content

Instantly share code, notes, and snippets.

@m4r10k
Created September 14, 2020 17:47
Show Gist options
  • Save m4r10k/769453f6568a0076023e37db6d965ed5 to your computer and use it in GitHub Desktop.
Save m4r10k/769453f6568a0076023e37db6d965ed5 to your computer and use it in GitHub Desktop.
#!/bin/bash
export TERM=ansi
export CUSTOMIZEPATH=kploy-customize
# Processing custom template deployment files
echo "Processing script template"
echo "--------------------------"
./gomplate -f ./run-tpl.sh -o ./run.sh -d data=../$CUSTOMIZEPATH/data.yaml
# This must be the last command because the error code must be visable to the pipeline!
./run.sh "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment