We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a36643 + 24e8554 commit a1113fcCopy full SHA for a1113fc
.github/workflows/deploy.yml
@@ -0,0 +1,38 @@
1
+name: Deploy Infrastructure
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ validate:
11
+ runs-on: self-hosted
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Check Requirements
15
+ run: ./scripts/utils/validators.sh terraform virsh
16
+ - name: Validate Terraform
17
+ run: ./scripts/terraform/validate.sh
18
19
+ plan:
20
+ needs: validate
21
22
23
+ - name: Create Plan
24
+ run: ./scripts/terraform/plan.sh
25
26
+ deploy:
27
+ needs: plan
28
29
30
+ - name: Apply Infrastructure
31
+ run: ./scripts/terraform/apply.sh
32
33
+ verify:
34
+ needs: deploy
35
36
37
+ - name: Verify VM
38
+ run: ./scripts/vm/verify.sh
0 commit comments