Skip to content

Commit

Permalink
Update CDK docs/dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 10, 2024
1 parent da4fdaa commit 7faa8c5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions tests/ci/cdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ AWS-LC CI uses AWS CDK to define and deploy AWS resources (e.g. AWS CodeBuild, E
* step 3: change **Source provider** to **GitHub**.
* step 4: click **Connect using OAuth** and **Connect to GitHub**.
* step 5: follow the OAuth app to grant access.
* Setup Python environment:
* From `aws-lc/tests/ci` run:
```shell
python -m pip install -r requirements.txt
```

### Minimal permissions:

Expand Down Expand Up @@ -60,6 +65,12 @@ To setup or update the CI in your account you will need the following IAM permis

### Commands

These commands are run from `aws-lc/tests/ci/cdk`. \
If not done previously, bootstrap cdk before running the commands below:
```shell
cdk bootstrap aws://${AWS_ACCOUNT_ID}/us-west-2
```

Note: `GITHUB_REPO_OWNER` specifies the GitHub repo targeted by this CI setup.
* https://github.com/${GITHUB_REPO_OWNER}/aws-lc.git

Expand Down
4 changes: 2 additions & 2 deletions tests/ci/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"aws-cdk-lib==2.74.0",
"constructs==10.1.314",
# PyYAML is a YAML parser and emitter for Python. Used to read build_spec.yaml.
"pyyaml==5.3.1",
"pyyaml==6.0",
# A formatter for Python code.
"yapf==0.30.0",
# Introduced by benchmark framework.
"boto3==1.26.126",
# Introduced by Android Device Farm CI.
"requests",
"arnparse==0.0.2",
"urllib3==1.25.4"
"urllib3==1.25.10"
],

python_requires=">=3.6",
Expand Down

0 comments on commit 7faa8c5

Please sign in to comment.