77 runs-on : " ubuntu-latest"
88 strategy :
99 matrix :
10- # name: ['Metric', 'BlockBlob', 'BlockBlob Premium Plan']
11- # file: ['azuredeploy_metrics.json', 'blobreaderdeploy.json', 'blobreaderdeploywithPremiumPlan.json']
12- # dir: ['EventHubs/src', 'BlockBlobReader/src', 'BlockBlobReader/src/PremiumPlan']
1310 include : # Includes one more job
14- - name : ' Metric'
15- file : ' azuredeploy_metrics.json'
11+ - file : ' azuredeploy_metrics.json'
1612 dir : ' EventHubs/src'
17- - name : ' BlockBlob'
18- file : ' blobreaderdeploy.json'
13+ - file : ' blobreaderdeploy.json'
1914 dir : ' BlockBlobReader/src'
15+ - file : ' blobreaderdeploywithPremiumPlan.json'
16+ dir : ' BlockBlobReader/src/PremiumPlan'
2017 steps :
2118 - name : Checkout repo
2219 uses : actions/checkout@v4
@@ -27,44 +24,12 @@ jobs:
2724 cd ${{ matrix.dir }}
2825 find . -maxdepth 1 -type f -name '*.json' ! -name 'mainTemplate.json' -exec rm -f {} +
2926
30- - name : Test ${{ matrix.name }} ARM Templates using arm-ttk
31- uses : microsoft/action-armttk@main
27+ - uses : microsoft/action-armttk@main
3228 with :
3329 workdir : ${{ matrix.dir }}
3430 fail_on_error : true
3531 level : " info"
3632
37- # - name: Rename file
38- # run: |
39- # rm -rf arm-ttk
40- # cp BlockBlobReader/src/blobreaderdeploy.json BlockBlobReader/src/mainTemplate.json
41- # cd BlockBlobReader/src
42- # find . -maxdepth 1 -type f -name '*.json' ! -name 'mainTemplate.json' -exec rm -f {} +
43-
44- # - name: Test BlockBlob ARM Templates using arm-ttk
45- # id: blockblobfilestest
46- # uses: microsoft/action-armttk@main
47- # with:
48- # workdir: BlockBlobReader/src
49- # fail_on_error: true
50- # level: "info"
51-
52- # - name: Rename file
53- # run: |
54- # rm -rf arm-ttk
55- # cp BlockBlobReader/src/PremiumPlan/blobreaderdeploywithPremiumPlan.json BlockBlobReader/src/PremiumPlan/mainTemplate.json
56- # cd BlockBlobReader/src/PremiumPlan
57- # find . -maxdepth 1 -type f -name '*.json' ! -name 'mainTemplate.json' -exec rm -f {} +
58-
59- # - name: Test BlockBlob Premium Plan ARM Templates using arm-ttk
60- # id: blockblobpremiumplanfilestest
61- # uses: microsoft/action-armttk@main
62- # with:
63- # workdir: BlockBlobReader/src/PremiumPlan
64-
65- # fail_on_error: true
66- # level: "info"
67-
6833 security-test :
6934 name : " ARM template tests using checkov"
7035 runs-on : " ubuntu-latest"
0 commit comments