You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds an initial, Developer Preview version of CDK Pipelines, a
higher-level construct library to make it easy to set up CI/CD
pipelines for CDK apps.
Resolvesaws/aws-cdk-rfcs#49.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@@ -62,7 +62,14 @@ new codepipeline_actions.CodeBuildAction({
62
62
});
63
63
```
64
64
65
-
#### GitHub
65
+
### GitHub
66
+
67
+
If you want to use a GitHub repository as the source, you must create:
68
+
69
+
* A [GitHub Access Token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)
70
+
* A [Secrets Manager PlainText Secret](https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_create-basic-secret.html)
71
+
with the value of the **GitHub Access Token**. Pick whatever name you want
72
+
(for example `my-github-token`) and pass it as the argument of `oauthToken`.
66
73
67
74
To use GitHub as the source of a CodePipeline:
68
75
@@ -104,7 +111,7 @@ new codepipeline_actions.CodeBuildAction({
104
111
});
105
112
```
106
113
107
-
####BitBucket
114
+
### BitBucket
108
115
109
116
CodePipeline can use a BitBucket Git repository as a source:
110
117
@@ -135,7 +142,7 @@ const sourceAction = new codepipeline_actions.BitBucketSourceAction({
135
142
the above class `BitBucketSourceAction` is experimental -
136
143
we reserve the right to make breaking changes to it.
137
144
138
-
####AWS S3
145
+
### AWS S3
139
146
140
147
To use an S3 Bucket as a source in CodePipeline:
141
148
@@ -205,7 +212,7 @@ new codepipeline_actions.CodeBuildAction({
205
212
});
206
213
```
207
214
208
-
####AWS ECR
215
+
### AWS ECR
209
216
210
217
To use an ECR Repository as a source in a Pipeline:
211
218
@@ -246,9 +253,9 @@ new codepipeline_actions.CodeBuildAction({
246
253
});
247
254
```
248
255
249
-
###Build & test
256
+
## Build & test
250
257
251
-
####AWS CodeBuild
258
+
### AWS CodeBuild
252
259
253
260
Example of a CodeBuild Project used in a Pipeline, alongside CodeCommit:
254
261
@@ -301,7 +308,7 @@ const testAction = new codepipeline_actions.CodeBuildAction({
301
308
});
302
309
```
303
310
304
-
#####Multiple inputs and outputs
311
+
#### Multiple inputs and outputs
305
312
306
313
When you want to have multiple inputs and/or outputs for a Project used in a
307
314
Pipeline, instead of using the `secondarySources` and `secondaryArtifacts`
0 commit comments