Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jplock committed Dec 20, 2024
1 parent 8d08f0b commit f8052d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ phases:
commands:
- echo Build started on `date`
- docker buildx bake
- CONTAINER_ID=$(docker create parent-vault:latest)
- docker cp $CONTAINER_ID:/app/parent-vault ./parent-vault
- docker rm $CONTAINER_ID
- echo Build completed on `date`
post_build:
commands:
- '[ ${CODEBUILD_BUILD_SUCCEEDING:-0} -eq 1 ] || exit 1'
- CONTAINER_ID=$(docker create parent-vault:latest)
- docker cp $CONTAINER_ID:/app/parent-vault ./parent-vault
- docker rm $CONTAINER_ID
- echo "${PRIVATE_KEY}" > nitro_vault_key.pem
- openssl req -new -key nitro_vault_key.pem -sha384 -nodes -subj "/CN=AWS/C=US/ST=WA/L=Seattle/O=Amazon/OU=AWS" -out nitro_vault_csr.pem
- openssl x509 -req -days 365 -in nitro_vault_csr.pem -out nitro_vault_cert.pem -sha384 -signkey nitro_vault_key.pem
Expand All @@ -26,8 +26,8 @@ phases:
artifacts:
discard-paths: yes
files:
- parent/parent-vault # Used by Deploy:DeployVault
- enclave/enclave-vault.eif # Used by Deploy:DeployVault
- parent-vault # Used by Deploy:DeployVault
- enclave-vault.eif # Used by Deploy:DeployVault
- vault_template.yml # Used by Deploy:DeployVault
- vault_template_configuration.json # Used by Deploy:DeployVault

Expand Down

0 comments on commit f8052d2

Please sign in to comment.