From e1478ec887d5ba8d110ac718365db950e762a7a8 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sat, 25 Feb 2023 19:44:05 +0100 Subject: [PATCH] Fix path to appset --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9190a3e..67114e8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,7 +59,7 @@ steps: - export ARGO_APP_BRANCH=$DRONE_BRANCH - export ARGO_APP_HOSTNAME="${DRONE_BRANCH}-dev.badhouseplants.net" - export ARGO_APP_IMAGE_TAG=$DRONE_COMMIT_SHA - - kubectl get -f applicationset.yaml -o yaml > /tmp/old_appset.yaml + - kubectl get -f ./kube/applicationset.yaml -o yaml > /tmp/old_appset.yaml - yq 'del(.spec.generators[].list.elements[] | select(.name == ""))' /tmp/old_application.set > /tmp/clean_appset.yaml - envsubst < ./kube/template.yaml > /tmp/elements.yaml - yq '.spec.generators[].list.elements + load("/tmp/elements.yaml")' /tmp/clean_appset.yaml > /tmp/new_appset.yaml