-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline1.json
116 lines (113 loc) · 4.08 KB
/
pipeline1.json
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"pipeline": {
"name": "pipleline-test1",
"roleArn": "arn:aws:iam::111111:role/CodePipelineServiceRole",
"artifactStore": {
"type": "S3",
"location": "codepipeline-us-west-2-111111"
},
"stages": [
{
"name": "Source",
"actions": [
{
"name": "Source",
"actionTypeId": {
"category": "Source",
"owner": "AWS",
"provider": "CodeStarSourceConnection",
"version": "1"
},
"runOrder": 1,
"configuration": {
"BranchName": "main",
"ConnectionArn": "<CODE_CONNECTION_ARN>",
"DetectChanges": "true",
"FullRepositoryId": "doitintl/aws-codebuild-sample",
"OutputArtifactFormat": "CODE_ZIP"
},
"outputArtifacts": [
{
"name": "SourceArtifact"
}
],
"inputArtifacts": [],
"region": "us-west-2",
"namespace": "SourceVariables"
}
],
"onFailure": {
"result": "RETRY",
"retryConfiguration": {
"retryMode": "ALL_ACTIONS"
}
}
},
{
"name": "Build",
"actions": [
{
"name": "Build",
"actionTypeId": {
"category": "Build",
"owner": "AWS",
"provider": "CodeBuild",
"version": "1"
},
"runOrder": 1,
"configuration": {
"BatchEnabled": "false",
"ProjectName": "BuildProjSingle1"
},
"outputArtifacts": [],
"inputArtifacts": [
{
"name": "SourceArtifact"
}
],
"region": "us-west-2",
"namespace": "CustomVariables"
}
],
"onFailure": {
"result": "RETRY",
"retryConfiguration": {
"retryMode": "ALL_ACTIONS"
}
}
},
{
"name": "Deploy",
"actions": [
{
"name": "Deploy",
"actionTypeId": {
"category": "Build",
"owner": "AWS",
"provider": "CodeBuild",
"version": "1"
},
"runOrder": 1,
"configuration": {
"EnvironmentVariables": "[{\"name\":\"DISPLAY_VAR\",\"value\":\"#{CustomVariables.EXPORT_VAR1}\",\"type\":\"PLAINTEXT\"}]",
"ProjectName": "DeployProj"
},
"outputArtifacts": [],
"inputArtifacts": [
{
"name": "SourceArtifact"
}
],
"region": "us-west-2"
}
],
"onFailure": {
"result": "ROLLBACK"
}
}
],
"version": 12,
"executionMode": "QUEUED",
"pipelineType": "V2"
}
}