From 93c283e3eefea24f83a777458c617ba5f14e8796 Mon Sep 17 00:00:00 2001 From: Jan Richter Date: Tue, 5 Sep 2023 16:40:53 +0200 Subject: [PATCH] hac-e2e: update to bonfire 4.18 (#2334) --- hack/hac/installHac.sh | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/hack/hac/installHac.sh b/hack/hac/installHac.sh index 47fdf39807a..abb5db5927b 100755 --- a/hack/hac/installHac.sh +++ b/hack/hac/installHac.sh @@ -61,7 +61,7 @@ installBonfire(){ VENV_DIR=$(mktemp -d) python3 -m venv "$VENV_DIR" . "$VENV_DIR"/bin/activate - pip install crc-bonfire==4.16.0 + pip install 'crc-bonfire>=4.18.0' } reserveNamespace() { @@ -70,30 +70,11 @@ reserveNamespace() { } installHac() { - echo "Preparing bonfire config" - CONFIG_DIR=$(mktemp -d) - cat > "$CONFIG_DIR/config.yaml" << EOF -# Bonfire deployment configuration - -# Defines where to fetch the file that defines application configs -appsFile: - host: gitlab - repo: insights-platform/cicd-common - path: bonfire_configs/ephemeral_apps.yaml - -# (optional) define any apps locally. An app defined here with will override config for app -# in above fetched config. -apps: -- name: insights-ephemeral - components: - - name: frontend-configs - host: github - repo: redhat-appstudio-qe/frontend-configs - path: deploy/deploy.yaml -EOF + # Only deploy necessary frontend dependencies + export BONFIRE_FRONTEND_DEPENDENCIES=chrome-service,insights-chrome echo "Installing HAC on Ephemeral cluster" - KUBECONFIG=$HAC_KUBECONFIG bonfire deploy -c "$CONFIG_DIR/config.yaml" hac --frontends true --source=appsre --clowd-env env-"${NAMESPACE}" --namespace="$NAMESPACE" + KUBECONFIG=$HAC_KUBECONFIG bonfire deploy hac --frontends true --source=appsre --clowd-env env-"${NAMESPACE}" --namespace="$NAMESPACE" } patchfeenv() {