Commit 88e92b6f authored by Wyatt Nielsen's avatar Wyatt Nielsen
Browse files

Squashed commit of the following

commit 8ce43722 
Author: Wyatt Nielsen <wyatt.nielsen@parivedasolutions.com> 
Date: Tue Nov 17 2020 13:13:17 GMT-0600 (Central Standard Time) 

    login to Docker Hub to prevent rate limiting issues


commit 940a0968 
Author: Wyatt Nielsen <wyatt.nielsen@parivedasolutions.com> 
Date: Fri Nov 13 2020 14:05:19 GMT-0600 (Central Standard Time) 

    Update to latest aws-core-lib SNAPSHOT version


commit 9b5b6346 
Author: Wyatt Nielsen <wyatt.nielsen@parivedasolutions.com> 
Date: Fri Nov 13 2020 12:52:56 GMT-0600 (Central Standard Time) 

    Update to latest aws-core-lib version
parent e5025f79
...@@ -17,6 +17,11 @@ ...@@ -17,6 +17,11 @@
# https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html # https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html
version: 0.2 version: 0.2
env:
secrets-manager:
DOCKER_USERNAME: /osdu/devops/docker_credentials:username
DOCKER_PASSWORD: /osdu/devops/docker_credentials:password
phases: phases:
install: install:
runtime-versions: runtime-versions:
...@@ -62,6 +67,9 @@ phases: ...@@ -62,6 +67,9 @@ phases:
# - echo "Building integration testing assemblies and gathering artifacts..." # - echo "Building integration testing assemblies and gathering artifacts..."
# - ./testing/dataset-registry-test-aws/build-aws/prepare-dist.sh # - ./testing/dataset-registry-test-aws/build-aws/prepare-dist.sh
- echo "Logging into Docker Hub..."
- docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
- echo "Building docker image..." - echo "Building docker image..."
- docker build -f provider/dataset-registry-aws/build-aws/Dockerfile -t ${ECR_IMAGE} . - docker build -f provider/dataset-registry-aws/build-aws/Dockerfile -t ${ECR_IMAGE} .
- docker tag ${ECR_IMAGE} ${ECR_IMAGE_BRANCH_LATEST} - docker tag ${ECR_IMAGE} ${ECR_IMAGE_BRANCH_LATEST}
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<dependency> <dependency>
<groupId>org.opengroup.osdu.core.aws</groupId> <groupId>org.opengroup.osdu.core.aws</groupId>
<artifactId>os-core-lib-aws</artifactId> <artifactId>os-core-lib-aws</artifactId>
<version>0.3.7</version> <version>0.3.12-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.opengroup.osdu</groupId> <groupId>org.opengroup.osdu</groupId>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment