Skip to content

Commit 04b001e

Browse files
chore(ci): replace Busy Engineer's Workshop validation with in-repo install-and-import smoke test (#804)
1 parent d45ed4d commit 04b001e

8 files changed

Lines changed: 9 additions & 11 deletions

codebuild/py310/decrypt_masterkey_with_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
runtime-versions:
1717
python: 3.10
1818
commands:
19-
- n 16
19+
- n 22
2020
# Install the Javascript ESDK run test vectors
2121
- npm install -g @aws-crypto/integration-node
2222

codebuild/py311/decrypt_keyrings_with_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
runtime-versions:
1717
python: 3.11
1818
commands:
19-
- n 16
19+
- n 22
2020
# Install the Javascript ESDK run test vectors
2121
- npm install -g @aws-crypto/integration-node
2222

codebuild/py311/decrypt_masterkey_with_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
runtime-versions:
1717
python: 3.11
1818
commands:
19-
- n 16
19+
- n 22
2020
# Install the Javascript ESDK run test vectors
2121
- npm install -g @aws-crypto/integration-node
2222

codebuild/py312/decrypt_keyrings_with_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
runtime-versions:
1717
python: 3.12
1818
commands:
19-
- n 16
19+
- n 22
2020
# Install the Javascript ESDK run test vectors
2121
- npm install -g @aws-crypto/integration-node
2222

codebuild/py312/decrypt_masterkey_with_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
runtime-versions:
1717
python: 3.12
1818
commands:
19-
- n 16
19+
- n 22
2020
# Install the Javascript ESDK run test vectors
2121
- npm install -g @aws-crypto/integration-node
2222

codebuild/py38/decrypt_masterkey_with_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
runtime-versions:
1717
python: 3.8
1818
commands:
19-
- n 16
19+
- n 22
2020
# Install the Javascript ESDK run test vectors
2121
- npm install -g @aws-crypto/integration-node
2222

codebuild/py39/decrypt_masterkey_with_js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
runtime-versions:
1717
python: 3.9
1818
commands:
19-
- n 16
19+
- n 22
2020
# Install the Javascript ESDK run test vectors
2121
- npm install -g @aws-crypto/integration-node
2222

codebuild/release/validate.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ phases:
88
python: latest
99
pre_build:
1010
commands:
11-
- git clone https://github.com/aws-samples/busy-engineers-document-bucket.git
12-
- cd busy-engineers-document-bucket/exercises/python/encryption-context-complete
13-
- sed -i "s/aws_encryption_sdk/aws_encryption_sdk==$VERSION/" requirements-dev.txt
1411
- pyenv install --skip-existing 3.8.12
1512
- pyenv local 3.8.12
1613
- pip install "tox < 4.0"
@@ -20,7 +17,8 @@ phases:
2017
- |
2118
while [ $NUM_RETRIES -gt 0 ]
2219
do
23-
tox -re test
20+
# basic usability smoke test
21+
pip install --force-reinstall "aws-encryption-sdk==$VERSION" && python -c "import aws_encryption_sdk; from aws_encryption_sdk import StrictAwsKmsMasterKeyProvider"
2422
if [ $? -eq 0 ]; then
2523
break
2624
fi

0 commit comments

Comments
 (0)