projen-pipelines 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,13 +42,18 @@ const app = new awscdk.AwsCdkTypeScriptApp({
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
// Create the pipeline
|
|
45
|
-
new
|
|
45
|
+
new GithubCDKPipeline(app, {
|
|
46
46
|
stackPrefix: 'MyApp',
|
|
47
47
|
pkgNamespace: '@company-assemblies',
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
stages: [
|
|
49
|
+
{
|
|
50
|
+
name: 'dev',
|
|
51
|
+
env: { account: '123456789012', region: 'eu-central-1' },
|
|
52
|
+
}, {
|
|
53
|
+
name: 'prod',
|
|
54
|
+
manualApproval: true,
|
|
55
|
+
env: {account: '123456789012', region: 'eu-central-1' },
|
|
56
|
+
}],
|
|
52
57
|
});
|
|
53
58
|
```
|
|
54
59
|
|
|
@@ -89,7 +94,7 @@ app.synth();
|
|
|
89
94
|
|
|
90
95
|
### Deployment
|
|
91
96
|
|
|
92
|
-
The
|
|
97
|
+
The `<Engine>CDKPipeline` class creates and adds several tasks to the projen project that then can be used in your pipeline to deploy your application to AWS.
|
|
93
98
|
|
|
94
99
|
Here's a brief description of each one:
|
|
95
100
|
|