Skip to content

Commit

Permalink
build all it images
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady committed Jun 25, 2024
1 parent d145bb3 commit 182f250
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,29 @@ phases:
commands:
- export CODEARTIFACT_AUTH_TOKEN=`aws codeartifact get-authorization-token --domain cdlib-uc3-mrt --domain-owner $AWS_ACCOUNT_ID --region us-west-2 --query authorizationToken --output text`
- aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin ${ECR_REGISTRY}

- aws ecr create-repository --repository-name mrt-tomcat || echo 'ignore if exists...'
- aws ecr create-repository --repository-name mrt-maven || echo 'ignore if exists...'
- aws ecr create-repository --repository-name mock-merritt-it || echo 'ignore if exists...'
- aws ecr create-repository --repository-name mrt-it-database || echo 'ignore if exists...'
- aws ecr create-repository --repository-name mrt-minio-it || echo 'ignore if exists...'
- aws ecr create-repository --repository-name mrt-minio-it-with-content || echo 'ignore if exists...'

build:
on-failure: ABORT
commands:
- docker-compose -f mrt-inttest-services/mrt-tomcat/docker-compose.yml build
- docker-compose -f mrt-inttest-services/mrt-tomcat/docker-compose.yml push
- docker-compose -f mrt-inttest-services/mrt-maven/docker-compose.yml build
- docker-compose -f mrt-inttest-services/mrt-maven/docker-compose.yml push
- docker-compose -f mrt-inttest-services/mock-merritt-it/docker-compose.yml build
- docker-compose -f mrt-inttest-services/mock-merritt-it/docker-compose.yml push
- docker-compose -f mrt-inttest-services/mrt-it-database/docker-compose.yml build
- docker-compose -f mrt-inttest-services/mrt-it-database/docker-compose.yml push
- docker-compose -f mrt-inttest-services/mrt-minio-it/docker-compose.yml build
- docker-compose -f mrt-inttest-services/mrt-minio-it/docker-compose.yml push
- docker-compose -f mrt-inttest-services/mrt-minio-it-with-content/docker-compose.yml build
- docker-compose -f mrt-inttest-services/mrt-minio-it-with-content/docker-compose.yml push
post_build:
commands:
#- aws s3 rm s3://${S3CFBUCKET}/api --recursive

0 comments on commit 182f250

Please sign in to comment.