From d4c4a392c1cae3f352c255261d16a4161908c0cf Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Tue, 14 Feb 2023 15:27:38 +0100 Subject: [PATCH] chore(actions): changing api actions --- .github/workflows/alerts-ee.yaml | 14 +++++++------- .github/workflows/api-ee.yaml | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/alerts-ee.yaml b/.github/workflows/alerts-ee.yaml index f34999466..eea879590 100644 --- a/.github/workflows/alerts-ee.yaml +++ b/.github/workflows/alerts-ee.yaml @@ -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 diff --git a/.github/workflows/api-ee.yaml b/.github/workflows/api-ee.yaml index 2022fc465..63570ac93 100644 --- a/.github/workflows/api-ee.yaml +++ b/.github/workflows/api-ee.yaml @@ -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 }}