fix(actions): kube apply
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
2eb3a39491
commit
950bb381ee
2 changed files with 3 additions and 3 deletions
4
.github/workflows/assist-stats.yaml
vendored
4
.github/workflows/assist-stats.yaml
vendored
|
|
@ -113,7 +113,7 @@ jobs:
|
||||||
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/assist-stats/*
|
||||||
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 -n app -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:
|
||||||
DOCKER_REPO: ${{ secrets.OSS_REGISTRY_URL }}
|
DOCKER_REPO: ${{ secrets.OSS_REGISTRY_URL }}
|
||||||
IMAGE_TAG: ${{ github.ref_name }}_${{ github.sha }}
|
IMAGE_TAG: ${{ github.ref_name }}_${{ github.sha }}
|
||||||
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
mv openreplay/charts/{ingress-nginx,assist-stats,quickwit} /tmp
|
mv openreplay/charts/{ingress-nginx,assist-stats,quickwit} /tmp
|
||||||
rm -rf openreplay/charts/*
|
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 -n app -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:
|
||||||
DOCKER_REPO: ${{ secrets.EE_REGISTRY_URL }}
|
DOCKER_REPO: ${{ secrets.EE_REGISTRY_URL }}
|
||||||
# We're not passing -ee flag, because helm will add that.
|
# We're not passing -ee flag, because helm will add that.
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
exit_err() {
|
exit_err() {
|
||||||
err_code=$1
|
err_code=$1
|
||||||
if [[ $err_code != 0 ]]; then
|
if [[ $err_code != 0 ]]; then
|
||||||
exit $err_code
|
exit "$err_code"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue