How to build a Docker image (Bert Word Alignment model) on Codebuild
So as to ensure the the container gets build on Amazon Linux
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./create_bucket.sh
Creating S3 bucket 'bwa-artifacts-20121970' in region 'eu-west-1'...
-----------------------------------------------------------------
| CreateBucket |
+----------+----------------------------------------------------+
| Location| http://bwa-artifacts-20121970.s3.amazonaws.com/ |
+----------+----------------------------------------------------+
S3 bucket 'bwa-artifacts-20121970' created successfully in region 'eu-west-1'.
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % python dump_model.py
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 %
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./push_artifacts.sh
Creating zip file docker-artifacts.zip...
adding: Dockerfile (deflated 52%)
adding: tokenizer/ (stored 0%)
adding: tokenizer/tokenizer_config.json (deflated 75%)
adding: tokenizer/special_tokens_map.json (deflated 42%)
adding: tokenizer/vocab.txt (deflated 45%)
adding: pipeline.py (deflated 68%)
adding: model/ (stored 0%)
adding: model/model.safetensors (deflated 7%)
adding: model/config.json (deflated 54%)
adding: app.py (deflated 51%)
adding: inference.py (deflated 60%)
adding: serve.sh (deflated 27%)
Uploading docker-artifacts.zip to s3://bwa-artifacts-20121970/...
upload: ./docker-artifacts.zip to s3://bwa-artifacts-20121970/docker-artifacts.zip
Artifacts uploaded successfully to s3://bwa-artifacts-20121970/docker-artifacts.zip
Temporary files cleaned up.
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 %
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./deploy_stack.sh
Creating CloudFormation stack 'bert-word-alignment-stack'...
-----------------------------------------------------------------------------------------------------------------------------------
| CreateStack |
+---------+-----------------------------------------------------------------------------------------------------------------------+
| StackId| arn:aws:cloudformation:eu-west-1:119552584133:stack/bert-word-alignment-stack/84325c20-154e-11ef-a7f9-0a39438880a7 |
+---------+-----------------------------------------------------------------------------------------------------------------------+
CloudFormation stack 'bert-word-alignment-stack' has been created successfully.
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./list_resources.sh
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
| DescribeStackResources |
+--------------------------+-----------------------+---------------------------------------------------------------+--------------------------+-------------------+
| 1.Timestamp | 2.LogicalId | 3.PhysicalId | 4.Type | 5.Status |
+--------------------------+-----------------------+---------------------------------------------------------------+--------------------------+-------------------+
| 2024-05-18T19:41:13.083Z| CodeBuildProject | bert-word-alignment | AWS::CodeBuild::Project | CREATE_COMPLETE |
| 2024-05-18T19:41:10.720Z| CodeBuildServiceRole | bert-word-alignment-stack-CodeBuildServiceRole-r3NbJ7hlwxTP | AWS::IAM::Role | CREATE_COMPLETE |
+--------------------------+-----------------------+---------------------------------------------------------------+--------------------------+-------------------+
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./start_build.sh
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| StartBuild |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|| build ||
|+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
|| arn | arn:aws:codebuild:eu-west-1:119552584133:build/bert-word-alignment:88391de4-2042-4d17-a426-b293de8c14e5 ||
|| buildComplete | False ||
|| buildNumber | 1 ||
|| buildStatus | IN_PROGRESS ||
|| currentPhase | QUEUED ||
|| encryptionKey | arn:aws:kms:eu-west-1:119552584133:alias/aws/s3 ||
|| id | bert-word-alignment:88391de4-2042-4d17-a426-b293de8c14e5 ||
|| initiator | woldeploy ||
|| projectName | bert-word-alignment ||
|| queuedTimeoutInMinutes | 480 ||
|| serviceRole | arn:aws:iam::119552584133:role/bert-word-alignment-stack-CodeBuildServiceRole-r3NbJ7hlwxTP ||
|| startTime | 1716061312.563 ||
|| timeoutInMinutes | 60 ||
|+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
||| artifacts |||
||+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| location | |||
||+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| cache |||
||+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| type | NO_CACHE |||
||+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| environment |||
||+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| computeType | BUILD_GENERAL1_LARGE |||
||| image | aws/codebuild/amazonlinux2-x86_64-standard:3.0 |||
||| imagePullCredentialsType | CODEBUILD |||
||| privilegedMode | True |||
||| type | LINUX_CONTAINER |||
||+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
|||| environmentVariables ||||
|||+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|||
|||| name | type | value ||||
|||+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|||
|||| S3_BUCKET_NAME | PLAINTEXT | bwa-artifacts-20121970 ||||
|||| REPOSITORY_NAME | PLAINTEXT | bert-word-alignment ||||
|||| ECR_REPO_NAME | PLAINTEXT | bert-word-alignment ||||
|||+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|||
||| logs |||
||+-----------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| cloudWatchLogsArn | arn:aws:logs:eu-west-1:119552584133:log-group:null:log-stream:null |||
||| deepLink | https://console.aws.amazon.com/cloudwatch/home?region=eu-west-1#logsV2:log-groups |||
||| s3DeepLink | https://s3.console.aws.amazon.com/s3/object/bwa-artifacts-20121970/codebuild-logs/88391de4-2042-4d17-a426-b293de8c14e5.gz?region=eu-west-1 |||
||| s3LogsArn | arn:aws:s3:::bwa-artifacts-20121970/codebuild-logs/88391de4-2042-4d17-a426-b293de8c14e5.gz |||
||+-----------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
|||| s3Logs ||||
|||+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|||
|||| encryptionDisabled | False ||||
|||| location | bwa-artifacts-20121970/codebuild-logs ||||
|||| status | ENABLED ||||
|||+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|||
||| phases |||
||+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| durationInSeconds | endTime | phaseStatus | phaseType | startTime |||
||+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| 0 | 1716061312.631 | SUCCEEDED | SUBMITTED | 1716061312.563 |||
||| | | | QUEUED | 1716061312.631 |||
||+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| source |||
||+-------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
||| buildspec | version: 0.2
phases:
pre_build:
commands:
- echo Defining variables...
- export AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
- echo Logging in to Amazon ECR...
- aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com
- aws ecr describe-repositories --repository-names $ECR_REPO_NAME || aws ecr create-repository --repository-name $ECR_REPO_NAME
- echo Fetching artifacts from S3...
- aws s3 cp s3://$S3_BUCKET_NAME/docker-artifacts.zip ./docker-artifacts.zip
- unzip docker-artifacts.zip
build:
commands:
- echo Building the Docker image...
- docker build -t $ECR_REPO_NAME:latest .
post_build:
commands:
- echo Pushing the Docker image to ECR...
- docker tag $ECR_REPO_NAME:latest $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/$ECR_REPO_NAME:latest
- docker push $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/$ECR_REPO_NAME:latest
|||
||| insecureSsl| False |||
||| type | NO_SOURCE |||
||+-------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
CodeBuild project 'bert-word-alignment' has been started successfully.
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./poll_build.sh
Latest build ID for project 'bert-word-alignment' is 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3'.
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'PROVISIONING'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'PRE_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'PRE_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'PRE_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'PRE_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'PRE_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'PRE_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'PRE_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' is in status 'IN_PROGRESS'. Current phase: 'POST_BUILD'. Waiting...
Build 'bert-word-alignment:1a10cb19-33c8-471b-b42c-30abcc97f4c3' succeeded. Current phase: 'COMPLETED'.
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./list_images.sh
Listing images in ECR repository 'bert-word-alignment'...
-----------------------------------------------------------------------------------------
| ListImages |
+---------------------------------------------------------------------------+-----------+
| imageDigest | imageTag |
+---------------------------------------------------------------------------+-----------+
| sha256:ec15855ff875f90c85f5ecf0b6a70881ad4999ca98661722a9d307c0e90e5a59 | latest |
+---------------------------------------------------------------------------+-----------+
Images listed successfully in ECR repository 'bert-word-alignment'.
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./list_objects.sh
Listing objects in S3 bucket 'bwa-artifacts-20121970'...
2024-05-19 08:43:18 18292 codebuild-logs/1a10cb19-33c8-471b-b42c-30abcc97f4c3.gz
2024-05-19 08:33:55 660222672 docker-artifacts.zip
Objects listed successfully in S3 bucket 'bwa-artifacts-20121970'.
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 % ./export_logs.sh codebuild-logs/1a10cb19-33c8-471b-b42c-30abcc97f4c3.gz
Downloading logs from s3://bwa-artifacts-20121970/codebuild-logs/1a10cb19-33c8-471b-b42c-30abcc97f4c3.gz...
download: s3://bwa-artifacts-20121970/codebuild-logs/1a10cb19-33c8-471b-b42c-30abcc97f4c3.gz to tmp/codebuild-logs/1a10cb19-33c8-471b-b42c-30abcc97f4c3.gz
Extracting logs to ./tmp/codebuild-logs...
Logs have been extracted to ./tmp/codebuild-logs
(env) jhw@Justins-Air 7f9cc0bf459031c7ca4588c09410a1f0 %