Skip to content

Commit

Permalink
Update base docker image when doing release. (rokwire#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep-ps authored Oct 1, 2020
1 parent f57dec9 commit 9f7454e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Replace the record on put endpoint. [#550](https://github.com/rokwire/rokwire-building-blocks-api/issues/550)
- Runtime error in building blocks by updating gunicorn and gevent versions. [#560](https://github.com/rokwire/rokwire-building-blocks-api/issues/560)
- Runtime error when Auth Library validates manually generated ID tokens. [#562](https://github.com/rokwire/rokwire-building-blocks-api/issues/562)

### Changed
- Disabled logger to provide detailed PII information in profile BB. [#556](https://github.com/rokwire/rokwire-building-blocks-api/issues/556)
- Update base docker image when doing release. [#564](https://github.com/rokwire/rokwire-building-blocks-api/issues/564)

## [1.7.0] - 2020-09-03
### Added
Expand Down
10 changes: 5 additions & 5 deletions docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -e
PROJECT_NAME="rokwire"
VERSION="latest"

docker build -f appconfigservice/Dockerfile -t ${PROJECT_NAME}/app-config-building-block:${VERSION} .
docker build -f authservice/Dockerfile -t ${PROJECT_NAME}/authentication-building-block:${VERSION} .
docker build -f loggingservice/Dockerfile -t ${PROJECT_NAME}/logging-building-block:${VERSION} .
docker build -f eventservice/Dockerfile -t ${PROJECT_NAME}/events-building-block:${VERSION} .
docker build -f profileservice/Dockerfile -t ${PROJECT_NAME}/profile-building-block:${VERSION} .
docker build --pull -f appconfigservice/Dockerfile -t ${PROJECT_NAME}/app-config-building-block:${VERSION} .
docker build --pull -f authservice/Dockerfile -t ${PROJECT_NAME}/authentication-building-block:${VERSION} .
docker build --pull -f loggingservice/Dockerfile -t ${PROJECT_NAME}/logging-building-block:${VERSION} .
docker build --pull -f eventservice/Dockerfile -t ${PROJECT_NAME}/events-building-block:${VERSION} .
docker build --pull -f profileservice/Dockerfile -t ${PROJECT_NAME}/profile-building-block:${VERSION} .
2 changes: 1 addition & 1 deletion release_api_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source release_base_script.sh

###### API DOCUMENTATION ######
docker build -t ${PROJECT_NAME}/api-doc:${VERSION} .
docker build --pull -t ${PROJECT_NAME}/api-doc:${VERSION} .
docker tag ${PROJECT_NAME}/api-doc:${VERSION} 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/api-doc:${VERSION}
docker push 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/api-doc:${VERSION}
2 changes: 1 addition & 1 deletion release_app_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source release_base_script.sh

###### APP CONFIG BUILDING BLOCK ######
docker build -f appconfigservice/Dockerfile -t ${PROJECT_NAME}/app-config-building-block:${VERSION} .
docker build --pull -f appconfigservice/Dockerfile -t ${PROJECT_NAME}/app-config-building-block:${VERSION} .
docker tag ${PROJECT_NAME}/app-config-building-block:${VERSION} 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/app_config:${VERSION}
docker push 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/app_config:${VERSION}
2 changes: 1 addition & 1 deletion release_authentication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source release_base_script.sh

###### AUTHENTICATION BUILDING BLOCK ######
docker build -f authservice/Dockerfile -t ${PROJECT_NAME}/authentication-building-block:${VERSION} .
docker build --pull -f authservice/Dockerfile -t ${PROJECT_NAME}/authentication-building-block:${VERSION} .
docker tag ${PROJECT_NAME}/authentication-building-block:${VERSION} 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/authservice_web:${VERSION}
docker push 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/authservice_web:${VERSION}
2 changes: 1 addition & 1 deletion release_events.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source release_base_script.sh

###### PROFILE BUILDING BLOCK ######
docker build -f eventservice/Dockerfile -t ${PROJECT_NAME}/events-building-block:${VERSION} .
docker build --pull -f eventservice/Dockerfile -t ${PROJECT_NAME}/events-building-block:${VERSION} .
docker tag ${PROJECT_NAME}/events-building-block:${VERSION} 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/eventservice:${VERSION}
docker push 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/eventservice:${VERSION}
2 changes: 1 addition & 1 deletion release_logging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source release_base_script.sh

###### LOGGING BUILDING BLOCK ######
docker build -f loggingservice/Dockerfile -t ${PROJECT_NAME}/logging-building-block:${VERSION} .
docker build --pull -f loggingservice/Dockerfile -t ${PROJECT_NAME}/logging-building-block:${VERSION} .
docker tag ${PROJECT_NAME}/logging-building-block:${VERSION} 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/logging-building-block:${VERSION}
docker push 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/logging-building-block:${VERSION}
2 changes: 1 addition & 1 deletion release_profile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
source release_base_script.sh

###### PROFILE BUILDING BLOCK ######
docker build -f profileservice/Dockerfile -t ${PROJECT_NAME}/profile-building-block:${VERSION} .
docker build --pull -f profileservice/Dockerfile -t ${PROJECT_NAME}/profile-building-block:${VERSION} .
docker tag ${PROJECT_NAME}/profile-building-block:${VERSION} 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/profileservice:${VERSION}
docker push 779619664536.dkr.ecr.us-east-2.amazonaws.com/${PROJECT_NAME}/profileservice:${VERSION}

0 comments on commit 9f7454e

Please sign in to comment.