-
Notifications
You must be signed in to change notification settings - Fork 33
/
.cd4pe.yaml
71 lines (70 loc) · 2.01 KB
/
.cd4pe.yaml
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
config:
enable_pull_requests_from_forks: false
enable_pe_plans: true
pipelines:
main:
triggers:
- "COMMIT"
stages:
- name: "Code Validation stage"
steps:
- type: "JOB"
name: "module-pdk-validate"
concurrent_compilations: 0
all_deployments: false
- type: "JOB"
name: "module-rspec-puppet"
concurrent_compilations: 0
all_deployments: false
- type: "PULL_REQUEST_GATE"
concurrent_compilations: 0
all_deployments: false
auto_promote: "all_succeeded"
- name: "Development Deployment"
steps:
- type: "DEPLOYMENT"
name: "Deployment to env_development on Fervid-Puppet"
policy:
name: "cd4pe_deployments::eventual_consistency"
timeout: 3600000
concurrent_compilations: 0
all_deployments: false
pe_server: "Fervid-Puppet"
target:
type: "NODE_GROUP"
node_group_id: "2f4a37f5-fc3f-478f-a98c-f3c97b1e7251"
auto_promote: "all_succeeded"
- name: "Production Deployment"
steps:
- type: "DEPLOYMENT"
name: "Deployment to env_production on Fervid-Puppet"
policy:
name: "cd4pe_deployments::eventual_consistency"
timeout: 3600000
concurrent_compilations: 0
all_deployments: false
pe_server: "Fervid-Puppet"
target:
type: "NODE_GROUP"
node_group_id: "7ee5e463-d5b3-49b7-bf84-00ef26ea991c"
auto_promote: false
/testenv_.*/:
triggers:
- "COMMIT"
stages:
- name: "Feature Deployment"
steps:
- type: "DEPLOYMENT"
name: "Deployment on Fervid-Puppet"
policy:
name: "cd4pe_deployments::feature_branch"
timeout: 3600000
concurrent_compilations: 0
all_deployments: false
pe_server: "Fervid-Puppet"
target:
type: "NODE_GROUP"
control_repo: "control-repo_fervid"
base_feature_branch: "main"
auto_promote: false
spec_version: "V1"