-
Notifications
You must be signed in to change notification settings - Fork 6
52 lines (46 loc) · 1.52 KB
/
cicd-dev-acc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Dev Acceptance Tests for CI CD
on:
workflow_dispatch:
jobs:
test-provider:
uses: ./.github/workflows/reusable-dev-acc.yml
with:
test_case: TestProvider
test_description: Check for valid terraform provider
secrets: inherit
test-datasouces:
needs:
- test-provider
if: "${{ needs.test-provider.result == 'success' }}"
uses: ./.github/workflows/reusable-dev-acc.yml
with:
test_case: TestAccDataSource
test_description: All data source test
secrets: inherit
test-vmaas-instance:
uses: ./.github/workflows/reusable-dev-acc.yml
needs:
- test-datasouces
if: "${{ needs.test-provider.result == 'success' }}"
with:
test_case: TestVmaasInstance TestAccResourceInstance
test_description: Instance test
secrets: inherit
test-vmaas-lb:
uses: ./.github/workflows/reusable-dev-acc.yml
needs:
- test-vmaas-instance
if: "${{ needs.test-provider.result == 'success' }}"
with:
test_case: TestVmaasLB TestAccResourceLB TestVmaasLoadBalancerPlan TestAccResourceLoadBalancerCreate
test_description: Loadbalancer test
secrets: inherit
test-vmaas-network:
uses: ./.github/workflows/reusable-dev-acc.yml
needs:
- test-vmaas-lb
if: "${{ needs.test-provider.result == 'success' }}"
with:
test_case: TestVmaasNetworkPlan TestAccResourceNetworkCreate TestAccResourceRouter TestVmaasRouter TestAccResourceTier TestVmaasRouteBGPNeighborPlan
test_description: Network test
secrets: inherit