6
6
branches :
7
7
- Azure
8
8
paths :
9
- - ' terraform/**'
10
- - ' azure/builder.json'
11
- - ' azure/routes/**'
9
+ - ' azure-spring-apps-enterprise/ terraform/**'
10
+ - ' azure-spring-apps-enterprise/resources/json/tbs /builder.json'
11
+ - ' azure-spring-apps-enterprise/resources/json /routes/**'
12
12
env :
13
13
SPRING_APPS_SERVICE : ${{ secrets.TF_PROJECT_NAME }}-asa
14
14
RESOURCE_GROUP : ${{ secrets.TF_PROJECT_NAME }}-grp
@@ -24,11 +24,11 @@ jobs:
24
24
runs-on : ubuntu-latest
25
25
defaults :
26
26
run :
27
- working-directory : terraform
27
+ working-directory : azure-spring-apps-enterprise/ terraform
28
28
steps :
29
29
- uses : actions/checkout@v3
30
30
- name : Set up Credentials and Terraform Backend
31
- run : ../.github/scripts/prepare-configs.sh
31
+ run : ../../. github/scripts/prepare-configs.sh
32
32
env :
33
33
AZURE_CREDENTIALS : ${{ secrets.AZURE_CREDENTIALS }}
34
34
BACKEND_CONFIG : ${{ secrets.TF_BACKEND_CONFIG }}
68
68
- name : Set up Azure Spring Extension
69
69
run : az extension add --name spring
70
70
- name : Configure Spring Cloud Gateway
71
- working-directory : azure/routes
72
- run : ../../.github/scripts/gateway.sh
71
+ working-directory : azure-spring-apps-enterprise/resources/json /routes
72
+ run : ../../../../. github/scripts/gateway.sh
73
73
env :
74
74
RESOURCE_GROUP : ${{ env.RESOURCE_GROUP }}
75
75
SPRING_APPS_SERVICE : ${{ env.SPRING_APPS_SERVICE }}
79
79
CATALOG_SERVICE_APP : ${{ env.CATALOG_SERVICE_APP }}
80
80
FRONTEND_APP : ${{ env.FRONTEND_APP }}
81
81
- name : Configure Identity Provider
82
- run : ../.github/scripts/identity-provider.sh
82
+ run : ../../. github/scripts/identity-provider.sh
83
83
env :
84
84
RESOURCE_GROUP : ${{ env.RESOURCE_GROUP }}
85
85
SPRING_APPS_SERVICE : ${{ env.SPRING_APPS_SERVICE }}
0 commit comments