From 64e4fa9eec0cb6eafe7d6fcba87b2f27ff0903ea Mon Sep 17 00:00:00 2001 From: Sirajudeen Date: Wed, 14 Jul 2021 19:33:22 +0000 Subject: [PATCH] Set default site name to virtual-airship-core * For zuul jobs respective site_name is set from jobs.yaml, however when running gate scripts for local deployment we are not using jobs.yaml and so it defaults to test-site from the config created using template from airshipctl repo. Change-Id: I0f4b975f78db4161048eb0621a9cc25933141f63 --- tools/gate/00_setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gate/00_setup.sh b/tools/gate/00_setup.sh index 54b4125a7..0bc2d2fab 100755 --- a/tools/gate/00_setup.sh +++ b/tools/gate/00_setup.sh @@ -23,6 +23,7 @@ export IMAGE_DIR=${IMAGE_DIR:-"/srv/images"} export SERVE_PORT=${SERVE_PORT:-"8099"} export AIRSHIPCTL_WS=${AIRSHIPCTL_WS:-$PWD} export TMP_DIR=${TMP_DIR:-"$(dirname $(mktemp -u))"} +export SITE=${SITE:-"virtual-airship-core"} ANSIBLE_CFG=${ANSIBLE_CFG:-"${HOME}/.ansible.cfg"} ANSIBLE_HOSTS=${ANSIBLE_HOSTS:-"${TMP_DIR}/ansible_hosts"}