From d656cd54f65b60221aafbdf0d1834f67cdf4fd89 Mon Sep 17 00:00:00 2001 From: Jamil Date: Tue, 23 Apr 2024 12:04:02 -0700 Subject: [PATCH] chore: remove test lib bash sourcing from customer-run scripts (#4753) Didn't catch this in code review. These are run on customer's systems and can't possibly source our shared script. --- scripts/gateway-docker-upgrade.sh | 2 +- scripts/gateway-systemd-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gateway-docker-upgrade.sh b/scripts/gateway-docker-upgrade.sh index b65b2c5c6..27fd5750a 100755 --- a/scripts/gateway-docker-upgrade.sh +++ b/scripts/gateway-docker-upgrade.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -source "./scripts/tests/lib.sh" +set -euo pipefail TARGET_IMAGE="ghcr.io/firezone/gateway:1" diff --git a/scripts/gateway-systemd-install.sh b/scripts/gateway-systemd-install.sh index 91fe29120..c44f1c670 100755 --- a/scripts/gateway-systemd-install.sh +++ b/scripts/gateway-systemd-install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -source "./scripts/tests/lib.sh" +set -euo pipefail hostname=$(hostname) FIREZONE_NAME=${FIREZONE_NAME:-$hostname}