Skip to content

Commit 34faefe

Browse files
authored
feat: change split domain (#1577)
1 parent c3555f1 commit 34faefe

File tree

4 files changed

+15
-24
lines changed

4 files changed

+15
-24
lines changed

.github/workflows/deploy_backend_frontend.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
CHART_OVERRIDE_PATH: './infrastructure/values/development.yaml'
4040
secrets: inherit
4141

42-
4342
deploy_prod:
4443
name: Deploy PROD
4544
needs: deploy_dev

.github/workflows/on_call_deploy.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,11 @@ jobs:
2121
- name: Checkout code
2222
uses: actions/checkout@v2
2323

24-
- name: "check is AZURE_CREDENTIALS exists"
25-
env:
26-
super_secret: ${{ secrets.AZURE_CREDENTIALS }}
27-
if: ${{ env.super_secret == '' }}
28-
run: 'echo "echo the secret \"AZURE_CREDENTIALS\" has not been made; echo please go to \"settings \> secrets \> actions\" to create it"'
29-
3024
- name: Azure login
3125
uses: azure/login@v2
3226
with:
3327
creds: ${{ secrets.AZURE_CREDENTIALS }}
3428

35-
# Use kubelogin to configure your kubeconfig for Azure auth
3629
- name: Set up kubelogin for non-interactive login
3730
uses: azure/use-kubelogin@v1
3831
with:
@@ -50,5 +43,4 @@ jobs:
5043
uses: azure/[email protected]
5144

5245
- name: Deploy
53-
#environment: ${{ inputs.ENVIRONMENT }}
5446
run: helm upgrade --install split ${{ env.CHART-PATH }} -f ${{ inputs.CHART_OVERRIDE_PATH }} --set global.image.tag=${{ env.TAG }} --namespace=split-${{ inputs.ENVIRONMENT }} --create-namespace --atomic
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
frontend:
22
ingress:
33
hosts:
4-
- host: dev.split.xgeeks.tech
4+
- host: split-dev.xgeeks.com
55
paths:
66
- path: /
77
pathType: ImplementationSpecific
88
tls:
99
- hosts:
10-
- dev.split.xgeeks.tech
10+
- split-dev.xgeeks.com
1111
secretName: split-frontend-tls
1212

1313
environment:
1414
NODE_ENV: dev
15-
NEXT_PUBLIC_NEXTAUTH_URL: https://dev.split-api.xgeeks.tech
16-
NEXT_PUBLIC_BACKEND_URL: https://dev.split-api.xgeeks.tech
15+
NEXT_PUBLIC_NEXTAUTH_URL: https://split-dev.xgeeks.com
16+
NEXT_PUBLIC_BACKEND_URL: https://split-dev-api.xgeeks.com
1717
NEXT_PUBLIC_ENABLE_AZURE: true
1818
NEXT_PUBLIC_EXPIRATION_TIME: 80000
1919
NEXT_PUBLIC_LOGIN_SSO_ONLY: true
@@ -22,15 +22,15 @@ frontend:
2222
backend:
2323
ingress:
2424
hosts:
25-
- host: dev.split-api.xgeeks.tech
25+
- host: split-dev-api.xgeeks.com
2626
paths:
2727
- path: /
2828
pathType: ImplementationSpecific
2929
tls:
3030
- hosts:
31-
- dev.split-api.xgeeks.tech
31+
- split-dev-api.xgeeks.com
3232
secretName: split-backend-tls
3333

3434
environment:
3535
NODE_ENV: dev
36-
NEXT_PUBLIC_NEXTAUTH_URL: https://dev.split-api.xgeeks.tech
36+
NEXT_PUBLIC_NEXTAUTH_URL: https://split-dev.xgeeks.com
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
frontend:
22
ingress:
33
hosts:
4-
- host: split.xgeeks.tech
4+
- host: split.xgeeks.com
55
paths:
66
- path: /
77
pathType: ImplementationSpecific
88
tls:
99
- hosts:
10-
- split.xgeeks.tech
10+
- split.xgeeks.com
1111
secretName: split-frontend-tls
1212

1313
environment:
1414
NODE_ENV: prod
15-
NEXT_PUBLIC_NEXTAUTH_URL: https://split.xgeeks.tech
16-
NEXT_PUBLIC_BACKEND_URL: https://split-api.xgeeks.tech
15+
NEXT_PUBLIC_NEXTAUTH_URL: https://split.xgeeks.com
16+
NEXT_PUBLIC_BACKEND_URL: https://split-api.xgeeks.com
1717
NEXT_PUBLIC_ENABLE_AZURE: true
1818
NEXT_PUBLIC_EXPIRATION_TIME: 80000
1919
NEXT_PUBLIC_LOGIN_SSO_ONLY: false
@@ -23,17 +23,17 @@ backend:
2323
ingress:
2424
annotations:
2525
nginx.ingress.kubernetes.io/enable-cors: "true"
26-
nginx.ingress.kubernetes.io/cors-allow-origin: "https://split.xgeeks.tech"
26+
nginx.ingress.kubernetes.io/cors-allow-origin: "https://split.xgeeks.com"
2727
hosts:
28-
- host: split-api.xgeeks.tech
28+
- host: split-api.xgeeks.com
2929
paths:
3030
- path: /
3131
pathType: ImplementationSpecific
3232
tls:
3333
- hosts:
34-
- split-api.xgeeks.tech
34+
- split-api.xgeeks.com
3535
secretName: split-backend-tls
3636

3737
environment:
3838
NODE_ENV: prod
39-
NEXT_PUBLIC_NEXTAUTH_URL: https://split.xgeeks.tech
39+
NEXT_PUBLIC_NEXTAUTH_URL: https://split.xgeeks.com

0 commit comments

Comments
 (0)