-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add 'release' buildspecs for codebuild (#321)
This is a step towards a more continuous release process. If this ends up being a productive path, we can expect to pull more validation into these codebuild specs.
- Loading branch information
1 parent
9523d48
commit 6af7301
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: 0.2 | ||
|
||
env: | ||
variables: | ||
BRANCH: "master" | ||
secrets-manager: | ||
TWINE_USERNAME: PyPiAdmin:username | ||
TWINE_PASSWORD: PyPiAdmin:password | ||
|
||
phases: | ||
install: | ||
runtime-versions: | ||
python: latest | ||
build: | ||
commands: | ||
- pip install tox | ||
- git checkout $BRANCH | ||
- tox -e park | ||
- tox -e release | ||
- git clone https://github.com/aws-samples/busy-engineers-document-bucket.git | ||
- cd busy-engineers-document-bucket/exercises/python/encryption-context-complete | ||
- tox -e test | ||
|
||
|
||
batch: | ||
fast-fail: false | ||
build-list: | ||
- identifier: prod_release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: 0.2 | ||
|
||
env: | ||
variables: | ||
BRANCH: "master" | ||
secrets-manager: | ||
TWINE_USERNAME: TestPyPiCryptoTools:username | ||
TWINE_PASSWORD: TestPyPiCryptoTools:password | ||
|
||
phases: | ||
install: | ||
runtime-versions: | ||
python: latest | ||
build: | ||
commands: | ||
- pip install tox | ||
- git checkout $BRANCH | ||
- tox -e park | ||
- tox -e test-release | ||
|
||
|
||
batch: | ||
fast-fail: false | ||
build-list: | ||
- identifier: test_release |