wip: custom environment variable passing

You should be able to tell your sci deployment which env vars should be
passed to the pipelines with -e ENV1 -e ENV2 and so on
This commit is contained in:
2024-08-25 15:52:43 +02:00
parent e442800779
commit 05701d9d85
11 changed files with 215 additions and 73 deletions

View File

@ -2,6 +2,7 @@
# NOTE: This script assumes that the url is a .tar.gz file.
# TODO: check if $# is >= 1 and give a warning that the extract dir should be provided.
set -ex # print all that we're doing (no need for echo's)
env
tmpdir=$(mktemp -d)
wget "$SCI_PIPELINE_URL" -P "$tmpdir"
cd "$tmpdir"