-
Notifications
You must be signed in to change notification settings - Fork 16
chore: add codebuild release #232
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
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
38001cb
chore: Upgrade MPL
lavaleri 2a6fe1a
Merge branch 'main' of github.com:aws/aws-database-encryption-sdk-dyn…
lavaleri 9a3418a
update
lavaleri 761f410
nit
lavaleri 86b78ba
update cfn
josecorella d1e1487
fix typo
josecorella c284d8c
chore: update mpl dependency
josecorella 3fe0980
add pre-build commands
josecorella 00a6fc6
cb submodules must be https
josecorella c8620cd
test
josecorella e9dbc59
update build
josecorella d45591d
test
josecorella 0d18f25
cd into right directory
josecorella 07c20df
cd into right directory
josecorella c860ca7
update submodule
josecorella cabdaa2
work
josecorella d4da50b
build tv
josecorella 6297867
deploy tv and dbesdk locally
josecorella c40eae4
deploy to CA
josecorella 2e243e1
validate staging
josecorella 8e14437
run just validation
josecorella db5031f
add release prod
josecorella 597f1b6
update gha
josecorella 6f2f107
update cb
josecorella e447ec3
comment out
josecorella 4cecd40
add docker
josecorella 5d51140
start docker daemon
josecorella 64668d2
update cfn
josecorella 36921af
more test
josecorella 9bf5236
update
josecorella 838a798
update release staging
josecorella 704d2ed
fix
josecorella 07d8128
uncomment
josecorella 895bb94
address pr feedback
josecorella File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -38,7 +38,6 @@ jobs: | |
macos-latest | ||
] | ||
runs-on: ${{ matrix.os }} | ||
environment: "MPL CI" | ||
permissions: | ||
id-token: write | ||
contents: read | ||
|
@@ -51,18 +50,8 @@ jobs: | |
role-session-name: DDBEC-Dafny-Java-Tests | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Init Submodules | ||
env: | ||
# This secret is in the configured environment | ||
# Token created on # 05/12/2023 | ||
# expires in ~30 days 05/22/2023 | ||
MPL_PAT: ${{ secrets.MPL_PAT }} | ||
run: | | ||
AUTH="$(echo -n "pat:${MPL_PAT}" | base64 | tr -d '\n')" | ||
git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $AUTH" | ||
git config --global --add url.https://github.com/.insteadOf [email protected]: | ||
git submodule update --init --recursive submodules/MaterialProviders | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup Java ${{ matrix.java-version }} | ||
uses: actions/setup-java@v3 | ||
|
This file contains hidden or 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 |
---|---|---|
|
@@ -40,7 +40,6 @@ jobs: | |
macos-latest | ||
] | ||
runs-on: ${{ matrix.os }} | ||
environment: "MPL CI" | ||
permissions: | ||
id-token: write | ||
contents: read | ||
|
@@ -53,18 +52,8 @@ jobs: | |
role-session-name: DDBEC-Dafny-Java-Tests | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Init Submodules | ||
env: | ||
# This secret is in the configured environment | ||
# Token created on # 05/12/2023 | ||
# expires in ~30 days 05/22/2023 | ||
MPL_PAT: ${{ secrets.MPL_PAT }} | ||
run: | | ||
AUTH="$(echo -n "pat:${MPL_PAT}" | base64 | tr -d '\n')" | ||
git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $AUTH" | ||
git config --global --add url.https://github.com/.insteadOf [email protected]: | ||
git submodule update --init --recursive submodules/MaterialProviders | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup Dafny | ||
uses: dafny-lang/[email protected] | ||
|
@@ -89,4 +78,8 @@ jobs: | |
- name: Test ${{ matrix.library }} | ||
working-directory: ./${{ matrix.library }} | ||
run: | | ||
# Clear MPL from cache | ||
# We have to do this because MakeFile does not do this yet. The MakeFile automatically builds and deploys dependencies | ||
# instead it should be picking it up from Maven. | ||
rm -rf ~/.m2/repository/software/amazon/cryptography/aws-cryptographic-material-providers | ||
make test_java |
This file contains hidden or 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 |
---|---|---|
|
@@ -40,7 +40,6 @@ jobs: | |
macos-latest, | ||
] | ||
runs-on: ${{ matrix.os }} | ||
environment: "MPL CI" | ||
permissions: | ||
id-token: write | ||
contents: read | ||
|
@@ -49,18 +48,8 @@ jobs: | |
DOTNET_NOLOGO: 1 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Init Submodules | ||
env: | ||
# This secret is in the configured environment | ||
# Token created on # 05/12/2023 | ||
# expires in ~30 days 05/22/2023 | ||
MPL_PAT: ${{ secrets.MPL_PAT }} | ||
run: | | ||
AUTH="$(echo -n "pat:${MPL_PAT}" | base64 | tr -d '\n')" | ||
git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $AUTH" | ||
git config --global --add url.https://github.com/.insteadOf [email protected]: | ||
git submodule update --init --recursive submodules/MaterialProviders | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | ||
uses: actions/setup-dotnet@v3 | ||
|
This file contains hidden or 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 |
---|---|---|
|
@@ -17,7 +17,6 @@ jobs: | |
ubuntu-latest | ||
] | ||
runs-on: ${{ matrix.os }} | ||
environment: "MPL CI" | ||
permissions: | ||
id-token: write | ||
contents: read | ||
|
@@ -36,17 +35,8 @@ jobs: | |
role-session-name: DDBEC-Dafny-Java-Tests | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Init Submodules | ||
env: | ||
# This secret is in the configured environment, | ||
# and set to expire every 30 days | ||
MPL_PAT: ${{ secrets.MPL_PAT }} | ||
run: | | ||
AUTH="$(echo -n "pat:${MPL_PAT}" | base64 | tr -d '\n')" | ||
git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $AUTH" | ||
git config --global --add url.https://github.com/.insteadOf [email protected]: | ||
git submodule update --init --recursive submodules/MaterialProviders | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup Dafny | ||
uses: dafny-lang/[email protected] | ||
|
@@ -70,4 +60,8 @@ jobs: | |
- name: Test TestVectors | ||
working-directory: ./TestVectors | ||
run: | | ||
# Clear MPL from cache | ||
# We have to do this because MakeFile does not do this yet. The MakeFile automatically builds and deploys dependencies | ||
# instead it should be picking it up from Maven. | ||
rm -rf ~/.m2/repository/software/amazon/cryptography/aws-cryptographic-material-providers | ||
make test_java |
This file contains hidden or 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 |
---|---|---|
|
@@ -41,22 +41,11 @@ jobs: | |
macos-latest, | ||
] | ||
runs-on: ${{ matrix.os }} | ||
environment: "MPL CI" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Init Submodules | ||
env: | ||
# This secret is in the configured environment | ||
# Token created on # 05/12/2023 | ||
# expires in ~30 days 05/22/2023 | ||
MPL_PAT: ${{ secrets.MPL_PAT }} | ||
run: | | ||
AUTH="$(echo -n "pat:${MPL_PAT}" | base64 | tr -d '\n')" | ||
git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $AUTH" | ||
git config --global --add url.https://github.com/.insteadOf [email protected]: | ||
git submodule update --init --recursive submodules/MaterialProviders | ||
|
||
- name: Setup Dafny | ||
uses: dafny-lang/[email protected] | ||
with: | ||
|
This file contains hidden or 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
This file contains hidden or 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,8 @@ | ||
# Changelog | ||
|
||
## 3.0.0-preview-1 2023-06-08 | ||
|
||
### Features | ||
- Initial release of the AWS Database Encryption SDK. | ||
This release is considered a [developer preview](https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html#version-life-cycle) | ||
and is not intended for production use cases. |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.