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
[SKIP IF NO CROSS-ACCOUNT DEPLOYMENT] Give the pipeline account administrator access to the deployment account's CloudFormation. Repeat this step depending on how many deployment environment there are. You only need to run this step once when the pipeline is deploying to a new account for the first time.
Use these commands if you wish to deploy individual stacks instead of the entire pipeline.
136
+
137
+
These commands are run from `aws-lc/tests/ci/cdk`.
85
138
86
-
### Commands
139
+
If not done previously, bootstrap cdk before running the commands below. Make sure that AWS_ACCOUNT_ID is the AWS account you wish to deploy the CI stacks to.
87
140
88
-
These commands are run from `aws-lc/tests/ci/cdk`. \
89
-
If not done previously, bootstrap cdk before running the commands below:
90
141
```shell
91
142
cdk bootstrap aws://${AWS_ACCOUNT_ID}/us-west-2
92
143
```
93
144
94
145
You may also need to request an increase to certain account quotas:
95
146
```shell
96
-
open https://${CDK_DEPLOY_REGION}.console.aws.amazon.com/servicequotas/home/services/ec2/quotas
147
+
open https://${DEPLOY_REGION}.console.aws.amazon.com/servicequotas/home/services/ec2/quotas
97
148
```
98
149
***EC2-VPC Elastic IPs** = 20
99
150
@@ -102,23 +153,23 @@ Note: `GITHUB_REPO_OWNER` specifies the GitHub repo targeted by this CI setup.
*`README.md` — The introductory README for this project.
188
243
*`app.py` — The “main” for this sample application.
189
244
*`cdk.json` — A configuration file for CDK that defines what executable CDK should run to generate the CDK construct tree.
190
-
*`cdk` — A CDK module directory
245
+
*`cdk` — A module directory that contains all CI-related stacks and utilities
246
+
*`pipeline` - A module directory that defines a continuous deployment pipeline for the CI.
191
247
*`requirements.txt` — This file is used by pip to install all of the dependencies for your application. In this case, it contains only -e . This tells pip to install the requirements specified in setup.py. It also tells pip to run python setup.py develop to install the code in the cdk module so that it can be edited in place.
192
248
*`setup.py` — Defines how this Python package would be constructed and what the dependencies are.
# Go to AWS console, you can check CodeBuild by clicking "Developer Tools > CodeBuild > Build projects".
265
321
```
266
322
267
-
#### Windows Docker image build
323
+
#### Windows Docker image build (DEPRECATED)
268
324
Windows docker image build requires more resources (like EC2 host, S3, SSM and so on) set up because DIND (Docker in Docker) is not supported by Windows.
269
325
Below are some commands specific to windows docker image build.
0 commit comments