diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-11-21 15:52:07 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-11-21 15:52:07 +0100 |
| commit | 72edbfe5d2d51b7dbaaa6ac6fe96cfbd43b60069 (patch) | |
| tree | 739b96fa5d01aab5b5fc61426aaf7f503b512531 /ci/startcompose.sh | |
| parent | 09e8aaddfcb5d2463279e58c3c6c320d1cb2fb46 (diff) | |
Remove old Docker CI
Diffstat (limited to 'ci/startcompose.sh')
| -rwxr-xr-x | ci/startcompose.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ci/startcompose.sh b/ci/startcompose.sh deleted file mode 100755 index 5b44c2d..0000000 --- a/ci/startcompose.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -if [[ -z "${PORTAL_USER}" ]]; then - printf "Error: No portal username set, set the PORTAL_USER env var\n" - exit 1 -fi - -if [[ -z "${PORTAL_PASS}" ]]; then - printf "Error: No portal username set, set the PORTAL_PASS env var\n" - exit 1 -fi - -# Get absolute path to current directory this script is in -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) - -pushd "$SCRIPT_DIR"/.. || exit 1 - -# Create self-signed certificate -mkdir -p ci/docker/selfsigned -./ci/docker/createcert.sh - - -# Up the containers and abort on exit. Also rebuild the necessary steps if there are changes -# You can pass EDUVPN_PODCOMP=1 to use podman-compose instead of docker-compose -compose_cmd="docker-compose" -if [ "$EDUVPN_PODCOMP" ]; then - compose_cmd="podman-compose" -fi - -"$compose_cmd" up --build --force-recreate --abort-on-container-exit - -popd || exit 1 |
