-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmy-codepipeline.json
70 lines (70 loc) · 2.39 KB
/
my-codepipeline.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
{
"pipeline": {
"name": "my-codepipeline",
"roleArn": "arn:aws:iam::YOUR-CODEPIPELINE-ROLE",
"artifactStore": {
"type": "S3",
"location": "CODEPIPELINE-ARTIFACTS-S3-BUCKET"
},
"stages": [
{
"name": "Source",
"actions": [
{
"name": "Source",
"actionTypeId": {
"category": "Source",
"owner": "AWS",
"provider": "CodeCommit",
"version": "1"
},
"runOrder": 1,
"configuration": {
"BranchName": "master",
"PollForSourceChanges": "false",
"RepositoryName": "YOUR-REPO"
},
"outputArtifacts": [
{
"name": "SourceArtifact"
}
],
"inputArtifacts": [],
"region": "YOUR-REGION",
"namespace": "SourceVariables"
}
]
},
{
"name": "Build",
"actions": [
{
"name": "Build",
"actionTypeId": {
"category": "Build",
"owner": "AWS",
"provider": "CodeBuild",
"version": "1"
},
"runOrder": 1,
"configuration": {
"ProjectName": "YOUR-PROJECT"
},
"outputArtifacts": [
{
"name": "BuildArtifact"
}
],
"inputArtifacts": [
{
"name": "SourceArtifact"
}
],
"region": "ap-southeast-1",
"namespace": "BuildVariables"
}
]
}
]
}
}