chore(actions): changing api actions

This commit is contained in:
Taha Yassine Kraiem 2023-02-14 15:27:38 +01:00
parent 96829157e0
commit d4c4a392c1
2 changed files with 10 additions and 10 deletions

View file

@ -131,11 +131,11 @@ jobs:
SLACK_USERNAME: "OR Bot"
SLACK_MESSAGE: 'Build failed :bomb:'
- name: Debug Job
# if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
env:
DOCKER_REPO: ${{ secrets.EE_REGISTRY_URL }}
IMAGE_TAG: ${{ github.sha }}-ee
ENVIRONMENT: staging
# - name: Debug Job
# # if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
# env:
# DOCKER_REPO: ${{ secrets.EE_REGISTRY_URL }}
# IMAGE_TAG: ${{ github.sha }}-ee
# ENVIRONMENT: staging

View file

@ -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,chalice,quickwit} /tmp
rm -rf openreplay/charts/*
mv /tmp/{ingress-nginx,chalice,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 }}