Skip to content

Commit

Permalink
Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson authored and github-actions[bot] committed Jan 9, 2024
1 parent 67e2063 commit 1df5db5
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 80 deletions.
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/assets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-assets
pullPolicy: IfNotPresent
tag: 0.6.0
tag: 0.7.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/carts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-cart
pullPolicy: IfNotPresent
tag: 0.6.0
tag: 0.7.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/catalog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-catalog
pullPolicy: IfNotPresent
tag: 0.6.0
tag: 0.7.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/checkout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-checkout
pullPolicy: IfNotPresent
tag: 0.6.0
tag: 0.7.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/orders/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-orders
pullPolicy: IfNotPresent
tag: 0.6.0
tag: 0.7.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/charts/ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: public.ecr.aws/aws-containers/retail-store-sample-ui
pullPolicy: IfNotPresent
tag: 0.6.0
tag: 0.7.0

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion deploy/terraform/lib/images/generated.tf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"locals": {
"published_tag": "0.6.0",
"published_tag": "0.7.0",
"published_repository": "public.ecr.aws/aws-containers"
}
}
45 changes: 24 additions & 21 deletions dist/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this
# software and associated documentation files (the "Software"), to deal in the Software
# without restriction, including without limitation the rights to use, copy, modify,
# merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so.
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
Expand All @@ -28,14 +28,14 @@ services:
- ENDPOINTS_CHECKOUT=http://checkout:8080
- ENDPOINTS_ASSETS=http://assets:8080
hostname: ui
image: public.ecr.aws/aws-containers/retail-store-sample-ui:0.6.0
image: public.ecr.aws/aws-containers/retail-store-sample-ui:0.7.0
restart: always
mem_limit: 512m
cap_drop:
- ALL
catalog:
hostname: catalog
image: public.ecr.aws/aws-containers/retail-store-sample-catalog:0.6.0
image: public.ecr.aws/aws-containers/retail-store-sample-catalog:0.7.0
restart: always
environment:
- GIN_MODE=release
Expand All @@ -56,7 +56,7 @@ services:
mem_limit: 128m
carts:
hostname: carts
image: public.ecr.aws/aws-containers/retail-store-sample-cart:0.6.0
image: public.ecr.aws/aws-containers/retail-store-sample-cart:0.7.0
restart: always
environment:
- JAVA_OPTS=-XX:MaxRAMPercentage=75.0 -Djava.security.egd=file:/dev/urandom
Expand All @@ -76,35 +76,38 @@ services:
mem_limit: 256m
orders:
hostname: orders
image: public.ecr.aws/aws-containers/retail-store-sample-orders:0.6.0
image: public.ecr.aws/aws-containers/retail-store-sample-orders:0.7.0
restart: always
environment:
- JAVA_OPTS=-XX:MaxRAMPercentage=75.0 -Djava.security.egd=file:/dev/urandom
- SERVER_TOMCAT_ACCESSLOG_ENABLED=true
- SPRING_PROFILES_ACTIVE=mysql,rabbitmq
- SPRING_DATASOURCE_WRITER_URL=jdbc:mariadb://orders-db:3306/orders
- SPRING_DATASOURCE_WRITER_USERNAME=orders_user
- SPRING_DATASOURCE_WRITER_PASSWORD=${MYSQL_PASSWORD}
- SPRING_DATASOURCE_READER_URL=jdbc:mariadb://orders-db:3306/orders
- SPRING_DATASOURCE_READER_USERNAME=orders_user
- SPRING_DATASOURCE_READER_PASSWORD=${MYSQL_PASSWORD}
- SPRING_PROFILES_ACTIVE=rabbitmq
- SPRING_DATASOURCE_URL=jdbc:postgresql://orders-db:5432/orders
- SPRING_DATASOURCE_USERNAME=orders_user
- SPRING_DATASOURCE_PASSWORD=${MYSQL_PASSWORD}
- SPRING_RABBITMQ_HOST=rabbitmq
mem_limit: 512m
cap_drop:
- ALL
orders-db:
image: mariadb:10.9
image: postgres:16.1
hostname: orders-db
restart: always
security_opt:
- no-new-privileges:true
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_ALLOW_EMPTY_PASSWORD=true
- MYSQL_DATABASE=orders
- MYSQL_USER=orders_user
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- reschedule=on-node-failure
- POSTGRES_PASSWORD=${MYSQL_PASSWORD}
- POSTGRES_DB=orders
- POSTGRES_USER=orders_user
healthcheck:
test: ["CMD-SHELL", "pg_isready -d orders -U orders_user"]
interval: 10s
timeout: 5s
retries: 30
mem_limit: 128m
checkout:
image: public.ecr.aws/aws-containers/retail-store-sample-checkout:0.6.0
image: public.ecr.aws/aws-containers/retail-store-sample-checkout:0.7.0
hostname: checkout
restart: always
read_only: true
Expand All @@ -125,7 +128,7 @@ services:
hostname: assets
environment:
- PORT=8080
image: public.ecr.aws/aws-containers/retail-store-sample-assets:0.6.0
image: public.ecr.aws/aws-containers/retail-store-sample-assets:0.7.0
restart: always
mem_limit: 64m
cap_drop:
Expand Down
Loading

0 comments on commit 1df5db5

Please sign in to comment.