From 8eaf3b6c34e480c2da21d550a0a7f1a944810e6c Mon Sep 17 00:00:00 2001 From: Aman Sharma Date: Thu, 15 Feb 2024 14:04:19 +0100 Subject: [PATCH] Updated url for dev and prod --- .github/workflows/BuildandPushImage.yml | 1 + .github/workflows/DeployToAKS.yml | 7 ++++--- helm-charts/infini-connect-ui/values.yaml | 2 +- helm-charts/prod/values.yaml | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/BuildandPushImage.yml b/.github/workflows/BuildandPushImage.yml index 9d0a184..a5d0a45 100644 --- a/.github/workflows/BuildandPushImage.yml +++ b/.github/workflows/BuildandPushImage.yml @@ -6,6 +6,7 @@ on: push: branches: - main + - update-env-vars workflow_dispatch: jobs: build-and-push: diff --git a/.github/workflows/DeployToAKS.yml b/.github/workflows/DeployToAKS.yml index 99ff5bb..6c09873 100644 --- a/.github/workflows/DeployToAKS.yml +++ b/.github/workflows/DeployToAKS.yml @@ -38,7 +38,7 @@ on: push: branches: - main - - update-env-vars + #- update-env-vars workflow_dispatch: env: @@ -89,7 +89,7 @@ jobs: helmChart: ${{ env.CHART_PATH }} overrideFiles: "./helm-charts/dev/values.yaml" overrides: | - replicas:2 + replicas:1 helm-version: "latest" id: bake @@ -105,6 +105,7 @@ jobs: deployToProd: name: Deploy to Production + needs: deployToDev permissions: actions: read contents: read @@ -144,7 +145,7 @@ jobs: helmChart: ${{ env.CHART_PATH }} overrideFiles: ./helm-charts/prod/values.yaml overrides: | - replicas:2 + replicas:1 helm-version: "latest" id: bake diff --git a/helm-charts/infini-connect-ui/values.yaml b/helm-charts/infini-connect-ui/values.yaml index 913e51b..7c350cb 100644 --- a/helm-charts/infini-connect-ui/values.yaml +++ b/helm-charts/infini-connect-ui/values.yaml @@ -51,7 +51,7 @@ service: protocol: TCP configMapValues: - VITE_API_BASE_URL: "https://dvt-infini-connect-old-dev.azurewebsites.net" + VITE_API_BASE_URL: "https://infini-connect.devoteam.nl" VITE_GOOGLE_CLIENT_ID: "779787791084-sf0tjf22s5cl3odf9sjg6rch0if9c0qq.apps.googleusercontent.com" diff --git a/helm-charts/prod/values.yaml b/helm-charts/prod/values.yaml index 4032a1e..11d9617 100644 --- a/helm-charts/prod/values.yaml +++ b/helm-charts/prod/values.yaml @@ -51,7 +51,7 @@ service: protocol: TCP configMapValues: - VITE_API_BASE_URL: "https://dvt-infini-connect-old-dev.azurewebsites.net" + VITE_API_BASE_URL: "https://infini-connect.devoteam.nl/" VITE_GOOGLE_CLIENT_ID: "779787791084-sf0tjf22s5cl3odf9sjg6rch0if9c0qq.apps.googleusercontent.com"