From e6eed935469c95a5663e01eb16b32a22fcf3bb87 Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Mon, 18 Dec 2023 16:31:52 +0000 Subject: [PATCH] Export required variables Signed-off-by: Gabriel Adrian Samfira --- test/integration/scripts/setup-garm.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/scripts/setup-garm.sh b/test/integration/scripts/setup-garm.sh index e2bbcee9..3fee71b5 100755 --- a/test/integration/scripts/setup-garm.sh +++ b/test/integration/scripts/setup-garm.sh @@ -7,8 +7,8 @@ CONTRIB_DIR="$PWD/contrib" CONFIG_DIR="$PWD/test/integration/config" CONFIG_DIR_PROV="$PWD/test/integration/provider" PROVIDER_BIN_DIR="/opt/garm/providers.d/lxd" -LXD_PROVIDER_EXECUTABLE="$PROVIDER_BIN_DIR/garm-provider-lxd" -LXD_PROVIDER_CONFIG="$CONFIG_DIR/garm-provider-lxd.toml" +export LXD_PROVIDER_EXECUTABLE="$PROVIDER_BIN_DIR/garm-provider-lxd" +export LXD_PROVIDER_CONFIG="$CONFIG_DIR/garm-provider-lxd.toml" if [[ ! -f $BINARIES_DIR/garm ]] || [[ ! -f $BINARIES_DIR/garm-cli ]]; then echo "ERROR: Please build GARM binaries first" @@ -49,7 +49,7 @@ sudo useradd --shell /usr/bin/false --system --groups adm --no-create-home garm sudo mkdir -p $PROVIDER_BIN_DIR git clone https://github.com/cloudbase/garm-provider-lxd ~/garm-provider-lxd pushd ~/garm-provider-lxd -go build -o $PROVIDER_BIN_DIR/garm-provider-lxd +go build -o $LXD_PROVIDER_EXECUTABLE popd sudo mkdir -p /etc/garm