File tree Expand file tree Collapse file tree 4 files changed +34
-11
lines changed Expand file tree Collapse file tree 4 files changed +34
-11
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
paths :
8
- - " infra /**"
8
+ - " deploy /**"
9
9
10
10
workflow_dispatch :
11
11
@@ -24,12 +24,35 @@ jobs:
24
24
steps :
25
25
- name : Checkout
26
26
uses : actions/checkout@v4
27
-
28
- - name : Build Bicep for linting
27
+ - name : Filter Changes
28
+ uses : dorny/paths-filter@v2
29
+ id : changes
30
+ with :
31
+ filters : |
32
+ app-service:
33
+ - 'deploy/app-service'
34
+ aks:
35
+ - 'deploy/aks'
36
+ aca:
37
+ - 'deploy/aca'
38
+ - name : Build App Service Bicep for linting
39
+ if : steps.changes.outputs.app-service == 'true'
40
+ uses : azure/CLI@v1
41
+ with :
42
+ inlineScript : az config set bicep.use_binary_from_path=false && az bicep build -f deploy/app-service/infra/main.bicep --stdout
43
+
44
+ - name : Build AKS Bicep for linting
45
+ if : steps.changes.outputs.aks == 'true'
46
+ uses : azure/CLI@v1
47
+ with :
48
+ inlineScript : az config set bicep.use_binary_from_path=false && az bicep build -f deploy/aks/infra/main.bicep --stdout
49
+
50
+ - name : Build AKS Bicep for linting
51
+ if : steps.changes.outputs.aca == 'true'
29
52
uses : azure/CLI@v1
30
53
with :
31
- inlineScript : az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep --stdout
32
-
54
+ inlineScript : az config set bicep.use_binary_from_path=false && az bicep build -f deploy/aca/ infra/main.bicep --stdout
55
+
33
56
- name : Run Microsoft Security DevOps Analysis
34
57
uses : microsoft/security-devops-action@v1
35
58
id : msdo
Original file line number Diff line number Diff line change 1
1
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
2
2
3
- name : azure-search-openai-demo
3
+ name : azure-search-openai-demo-java-aca
4
4
metadata :
5
-
5
+ template : azure-search-openai-demo-java-aca @1.2.0-alpha
6
6
services :
7
7
api :
8
8
project : ../../app/backend
Original file line number Diff line number Diff line change 1
1
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
2
2
3
- name : azure-search-openai-demo
3
+ name : azure-search-openai-demo-java-aks
4
4
metadata :
5
-
5
+ template : azure-search-openai-demo-java-aks @1.2.0-alpha
6
6
services :
7
7
api :
8
8
project : ../../app/backend
Original file line number Diff line number Diff line change 1
1
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
2
2
3
- name : azure-search-openai-demo
3
+ name : azure-search-openai-demo-java-app-service
4
4
metadata :
5
5
6
-
6
+ template : azure-search-openai-demo-java-app-service @1.2.0-alpha
7
7
services :
8
8
backend :
9
9
project : ../../app/backend
You can’t perform that action at this time.
0 commit comments