File tree Expand file tree Collapse file tree 4 files changed +15
-24
lines changed Expand file tree Collapse file tree 4 files changed +15
-24
lines changed Original file line number Diff line number Diff line change 39
39
CHART_OVERRIDE_PATH : ' ./infrastructure/values/development.yaml'
40
40
secrets : inherit
41
41
42
-
43
42
deploy_prod :
44
43
name : Deploy PROD
45
44
needs : deploy_dev
Original file line number Diff line number Diff line change @@ -21,18 +21,11 @@ jobs:
21
21
- name : Checkout code
22
22
uses : actions/checkout@v2
23
23
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
-
30
24
- name : Azure login
31
25
uses : azure/login@v2
32
26
with :
33
27
creds : ${{ secrets.AZURE_CREDENTIALS }}
34
28
35
- # Use kubelogin to configure your kubeconfig for Azure auth
36
29
- name : Set up kubelogin for non-interactive login
37
30
uses : azure/use-kubelogin@v1
38
31
with :
50
43
51
44
52
45
- name : Deploy
53
- # environment: ${{ inputs.ENVIRONMENT }}
54
46
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
Original file line number Diff line number Diff line change 1
1
frontend :
2
2
ingress :
3
3
hosts :
4
- - host : dev.split. xgeeks.tech
4
+ - host : split- dev.xgeeks.com
5
5
paths :
6
6
- path : /
7
7
pathType : ImplementationSpecific
8
8
tls :
9
9
- hosts :
10
- - dev.split. xgeeks.tech
10
+ - split- dev.xgeeks.com
11
11
secretName : split-frontend-tls
12
12
13
13
environment :
14
14
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
17
17
NEXT_PUBLIC_ENABLE_AZURE : true
18
18
NEXT_PUBLIC_EXPIRATION_TIME : 80000
19
19
NEXT_PUBLIC_LOGIN_SSO_ONLY : true
@@ -22,15 +22,15 @@ frontend:
22
22
backend :
23
23
ingress :
24
24
hosts :
25
- - host : dev. split-api.xgeeks.tech
25
+ - host : split-dev- api.xgeeks.com
26
26
paths :
27
27
- path : /
28
28
pathType : ImplementationSpecific
29
29
tls :
30
30
- hosts :
31
- - dev. split-api.xgeeks.tech
31
+ - split-dev- api.xgeeks.com
32
32
secretName : split-backend-tls
33
33
34
34
environment :
35
35
NODE_ENV : dev
36
- NEXT_PUBLIC_NEXTAUTH_URL : https://dev. split-api .xgeeks.tech
36
+ NEXT_PUBLIC_NEXTAUTH_URL : https://split-dev .xgeeks.com
Original file line number Diff line number Diff line change 1
1
frontend :
2
2
ingress :
3
3
hosts :
4
- - host : split.xgeeks.tech
4
+ - host : split.xgeeks.com
5
5
paths :
6
6
- path : /
7
7
pathType : ImplementationSpecific
8
8
tls :
9
9
- hosts :
10
- - split.xgeeks.tech
10
+ - split.xgeeks.com
11
11
secretName : split-frontend-tls
12
12
13
13
environment :
14
14
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
17
17
NEXT_PUBLIC_ENABLE_AZURE : true
18
18
NEXT_PUBLIC_EXPIRATION_TIME : 80000
19
19
NEXT_PUBLIC_LOGIN_SSO_ONLY : false
@@ -23,17 +23,17 @@ backend:
23
23
ingress :
24
24
annotations :
25
25
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 "
27
27
hosts :
28
- - host : split-api.xgeeks.tech
28
+ - host : split-api.xgeeks.com
29
29
paths :
30
30
- path : /
31
31
pathType : ImplementationSpecific
32
32
tls :
33
33
- hosts :
34
- - split-api.xgeeks.tech
34
+ - split-api.xgeeks.com
35
35
secretName : split-backend-tls
36
36
37
37
environment :
38
38
NODE_ENV : prod
39
- NEXT_PUBLIC_NEXTAUTH_URL : https://split.xgeeks.tech
39
+ NEXT_PUBLIC_NEXTAUTH_URL : https://split.xgeeks.com
You can’t perform that action at this time.
0 commit comments