fix(action): fix deletion path

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2023-10-02 18:07:03 +02:00
parent d6ed6c4347
commit 6289fa8503
2 changed files with 2 additions and 1 deletions

View file

@ -111,7 +111,7 @@ jobs:
cat /tmp/image_override.yaml cat /tmp/image_override.yaml
# Deploy command # Deploy command
mv openreplay/charts/{ingress-nginx,assist-stats,quickwit} /tmp mv openreplay/charts/{ingress-nginx,assist-stats,quickwit} /tmp
rm -rf openreplay/assist-stats/* rm -rf openreplay/charts/*
mv /tmp/{ingress-nginx,assist-stats,quickwit} openreplay/charts/ mv /tmp/{ingress-nginx,assist-stats,quickwit} openreplay/charts/
helm template openreplay -n app openreplay -f vars.yaml -f /tmp/image_override.yaml --set ingress-nginx.enabled=false --set skipMigration=true --no-hooks | kubectl apply -f - helm template openreplay -n app openreplay -f vars.yaml -f /tmp/image_override.yaml --set ingress-nginx.enabled=false --set skipMigration=true --no-hooks | kubectl apply -f -
env: env:

View file

@ -15,6 +15,7 @@ exit_err() {
fi fi
} }
app="assist-stats" # Set the app variable to "chalice" app="assist-stats" # Set the app variable to "chalice"
environment=$1 environment=$1
git_sha=$(git rev-parse --short HEAD) git_sha=$(git rev-parse --short HEAD)