Skip to content

chore: Add AWS CodeBuild buildspec #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ venv/
# Chalice
*/.chalice/deployments
*/.chalice/venv
/.history
59 changes: 59 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
version: 0.2

batch:
fast-fail: false
build-list:
- identifier: py27_integ
buildspec: codebuild/py27/integ.yml
- identifier: py27_examples
buildspec: codebuild/py27/examples.yml
- identifier: py27_awses_1_7_1
buildspec: codebuild/py27/awses_1.7.1.yml
- identifier: py27_awses_2_0_0
buildspec: codebuild/py27/awses_2.0.0.yml
- identifier: py27_awses_latest
buildspec: codebuild/py27/awses_latest.yml

- identifier: py35_integ
buildspec: codebuild/py35/integ.yml
- identifier: py35_examples
buildspec: codebuild/py35/examples.yml
- identifier: py35_awses_1_7_1
buildspec: codebuild/py35/awses_1.7.1.yml
- identifier: py35_awses_2_0_0
buildspec: codebuild/py35/awses_2.0.0.yml
- identifier: py35_awses_latest
buildspec: codebuild/py35/awses_latest.yml

- identifier: py36_integ
buildspec: codebuild/py36/integ.yml
- identifier: py36_examples
buildspec: codebuild/py36/examples.yml
- identifier: py36_awses_1_7_1
buildspec: codebuild/py36/awses_1.7.1.yml
- identifier: py36_awses_2_0_0
buildspec: codebuild/py36/awses_2.0.0.yml
- identifier: py36_awses_latest
buildspec: codebuild/py36/awses_latest.yml

- identifier: py37_integ
buildspec: codebuild/py37/integ.yml
- identifier: py37_examples
buildspec: codebuild/py37/examples.yml
- identifier: py37_awses_1_7_1
buildspec: codebuild/py37/awses_1.7.1.yml
- identifier: py37_awses_2_0_0
buildspec: codebuild/py37/awses_2.0.0.yml
- identifier: py37_awses_latest
buildspec: codebuild/py37/awses_latest.yml

- identifier: py38_integ
buildspec: codebuild/py38/integ.yml
- identifier: py38_examples
buildspec: codebuild/py38/examples.yml
- identifier: py38_awses_1_7_1
buildspec: codebuild/py38/awses_1.7.1.yml
- identifier: py38_awses_2_0_0
buildspec: codebuild/py38/awses_2.0.0.yml
- identifier: py38_awses_latest
buildspec: codebuild/py38/awses_latest.yml
21 changes: 21 additions & 0 deletions codebuild/py27/awses_1.7.1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2

env:
variables:
TOXENV: "py27-awses_1.7.1"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- cd test_vector_handlers
- tox
21 changes: 21 additions & 0 deletions codebuild/py27/awses_2.0.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2

env:
variables:
TOXENV: "py27-awses_2.0.0"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- cd test_vector_handlers
- tox
21 changes: 21 additions & 0 deletions codebuild/py27/awses_latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2

env:
variables:
TOXENV: "py27-awses_latest"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- cd test_vector_handlers
- tox
18 changes: 18 additions & 0 deletions codebuild/py27/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 0.2

env:
variables:
TOXENV: "py27-examples"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- tox
18 changes: 18 additions & 0 deletions codebuild/py27/integ.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 0.2

env:
variables:
TOXENV: "py27-integ"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- tox
23 changes: 23 additions & 0 deletions codebuild/py35/awses_1.7.1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 0.2

env:
variables:
TOXENV: "py35-awses_1.7.1"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pyenv install 3.5.9
- pyenv local 3.5.9
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
23 changes: 23 additions & 0 deletions codebuild/py35/awses_2.0.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 0.2

env:
variables:
TOXENV: "py35-awses_2.0.0"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pyenv install 3.5.9
- pyenv local 3.5.9
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
23 changes: 23 additions & 0 deletions codebuild/py35/awses_latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 0.2

env:
variables:
TOXENV: "py35-awses_latest"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pyenv install 3.5.9
- pyenv local 3.5.9
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
20 changes: 20 additions & 0 deletions codebuild/py35/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 0.2

env:
variables:
TOXENV: "py35-examples"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
phases:
install:
runtime-versions:
python: latest
build:
commands:
- pyenv install 3.5.9
- pyenv local 3.5.9
- pip install tox tox-pyenv
- tox
20 changes: 20 additions & 0 deletions codebuild/py35/integ.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 0.2

env:
variables:
TOXENV: "py35-integ"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
phases:
install:
runtime-versions:
python: latest
build:
commands:
- pyenv install 3.5.9
- pyenv local 3.5.9
- pip install tox tox-pyenv
- tox
21 changes: 21 additions & 0 deletions codebuild/py36/awses_1.7.1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2

env:
variables:
TOXENV: "py36-awses_1.7.1"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- cd test_vector_handlers
- tox
21 changes: 21 additions & 0 deletions codebuild/py36/awses_2.0.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2

env:
variables:
TOXENV: "py36-awses_2.0.0"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- cd test_vector_handlers
- tox
21 changes: 21 additions & 0 deletions codebuild/py36/awses_latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2

env:
variables:
TOXENV: "py36-awses_latest"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"

phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- cd test_vector_handlers
- tox
18 changes: 18 additions & 0 deletions codebuild/py36/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 0.2

env:
variables:
TOXENV: "py36-examples"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- tox
18 changes: 18 additions & 0 deletions codebuild/py36/integ.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 0.2

env:
variables:
TOXENV: "py36-integ"
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
phases:
install:
runtime-versions:
python: latest
build:
commands:
- pip install tox
- tox
Loading