From 464fcdcb3026e37600d623ecfae6a5ff6f69b1ac Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Tue, 25 Jan 2022 21:37:41 -0800 Subject: [PATCH] preserve env --- .ci/functional_test.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.ci/functional_test.sh b/.ci/functional_test.sh index c552cfdf9..a2f0551cd 100755 --- a/.ci/functional_test.sh +++ b/.ci/functional_test.sh @@ -1,21 +1,19 @@ #!/bin/bash set -ex -export TELEMETRY_ENABLED=false - # This script should be run from the app root if type rpm > /dev/null; then - sudo rpm -i omnibus/pkg/firezone*.rpm + sudo -E rpm -i omnibus/pkg/firezone*.rpm elif type dpkg > /dev/null; then - sudo dpkg -i omnibus/pkg/firezone*.deb + sudo -E dpkg -i omnibus/pkg/firezone*.deb else echo 'Neither rpm nor dpkg found' exit 1 fi -sudo firezone-ctl reconfigure -sudo firezone-ctl create-or-reset-admin +sudo -E firezone-ctl reconfigure +sudo -E firezone-ctl create-or-reset-admin # XXX: Add more commands here to test