-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv0.yaml
More file actions
87 lines (83 loc) · 2.74 KB
/
env0.yaml
File metadata and controls
87 lines (83 loc) · 2.74 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: 2
deploy:
steps:
terraformPlan:
after:
- name: Submit Plan to Overmind
use: https://github.com/overmindtech/env0-plugin
inputs:
action: submit-plan
api_key: ${OVM_API_KEY}
- name: Wait for Analysis
use: https://github.com/overmindtech/env0-plugin
inputs:
action: wait-for-simulation
api_key: ${OVM_API_KEY}
post_comment: "true"
comment_provider: "github"
- name: Print Env Vars
run: |
env
echo ""
echo "=== Tool Availability ==="
if command -v jq &> /dev/null; then
echo "JQ: Available ($(jq --version))"
else
echo "JQ: Not available"
fi
if command -v python &> /dev/null; then
echo "Python: Available ($(python --version 2>&1))"
elif command -v python3 &> /dev/null; then
echo "Python: Available ($(python3 --version 2>&1))"
else
echo "Python: Not available"
fi
terraformApply:
before:
- name: Mark Change Started
use: https://github.com/overmindtech/env0-plugin
inputs:
action: start-change
api_key: ${OVM_API_KEY}
after:
- name: Mark Change Finished
use: https://github.com/overmindtech/env0-plugin
inputs:
action: end-change
api_key: ${OVM_API_KEY}
- name: Print Env Vars
run: |
env
echo ""
echo "=== Tool Availability ==="
if command -v jq &> /dev/null; then
echo "JQ: Available ($(jq --version))"
else
echo "JQ: Not available"
fi
if command -v python &> /dev/null; then
echo "Python: Available ($(python --version 2>&1))"
elif command -v python3 &> /dev/null; then
echo "Python: Available ($(python3 --version 2>&1))"
else
echo "Python: Not available"
fi
terraformOutput:
after:
- name: Print Env Vars
run: |
env
echo ""
echo "=== Tool Availability ==="
if command -v jq &> /dev/null; then
echo "JQ: Available ($(jq --version))"
else
echo "JQ: Not available"
fi
if command -v python &> /dev/null; then
echo "Python: Available ($(python --version 2>&1))"
elif command -v python3 &> /dev/null; then
echo "Python: Available ($(python3 --version 2>&1))"
else
echo "Python: Not available"
fi