chore(actions): changing deploy command
This commit is contained in:
parent
2c453fdd76
commit
0a53f6cfac
4 changed files with 8 additions and 8 deletions
6
.github/workflows/alerts-ee.yaml
vendored
6
.github/workflows/alerts-ee.yaml
vendored
|
|
@ -110,9 +110,9 @@ jobs:
|
|||
|
||||
cat /tmp/image_override.yaml
|
||||
# Deploy command
|
||||
kubectl config set-context --namespace=app --current
|
||||
kubectl config get-contexts
|
||||
k_version=$(kubectl version --short 2>/dev/null | awk '/Server/{print $NF}')
|
||||
mv openreplay/charts/{ingress-nginx,alerts,quickwit} /tmp
|
||||
rm -rf openreplay/charts/*
|
||||
mv /tmp/{ingress-nginx,alerts,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 --kube-version=$k_version | kubectl apply -f -
|
||||
env:
|
||||
DOCKER_REPO: ${{ secrets.EE_REGISTRY_URL }}
|
||||
|
|
|
|||
2
.github/workflows/api-ee.yaml
vendored
2
.github/workflows/api-ee.yaml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
default: 'false'
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- v1.10.0
|
||||
paths:
|
||||
- ee/api/**
|
||||
- api/**
|
||||
|
|
|
|||
6
.github/workflows/crons-ee.yaml
vendored
6
.github/workflows/crons-ee.yaml
vendored
|
|
@ -110,9 +110,9 @@ jobs:
|
|||
|
||||
cat /tmp/image_override.yaml
|
||||
# Deploy command
|
||||
kubectl config set-context --namespace=app --current
|
||||
kubectl config get-contexts
|
||||
k_version=$(kubectl version --short 2>/dev/null | awk '/Server/{print $NF}')
|
||||
mv openreplay/charts/{ingress-nginx,crons,quickwit} /tmp
|
||||
rm -rf openreplay/charts/*
|
||||
mv /tmp/{ingress-nginx,crons,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 --kube-version=$k_version | kubectl apply -f -
|
||||
env:
|
||||
DOCKER_REPO: ${{ secrets.EE_REGISTRY_URL }}
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@ apscheduler==3.10.0
|
|||
|
||||
clickhouse-driver==0.2.5
|
||||
python3-saml==1.15.0
|
||||
python-multipart==0.0.5
|
||||
python-multipart==0.0.5
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue