Skip to content

Commit

Permalink
Release tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
dleclercpro committed Feb 2, 2024
1 parent cb42653 commit c283d01
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 26 deletions.
2 changes: 1 addition & 1 deletion Apps/Broker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "event-driven-architecture-playground--broker",
"version": "latest",
"version": "v2.1.0",
"author": "David Leclerc",
"main": "./src/index.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion Apps/Common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "event-driven-architecture-playground--common",
"version": "latest",
"version": "v2.1.0",
"author": "David Leclerc",
"main": "./src/index.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion Apps/Delivery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "event-driven-architecture-playground--delivery",
"version": "latest",
"version": "v2.1.0",
"author": "David Leclerc",
"main": "./src/index.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion Apps/Order/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "event-driven-architecture-playground--order",
"version": "latest",
"version": "v2.1.0",
"author": "David Leclerc",
"main": "./src/index.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion Apps/Payment/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "event-driven-architecture-playground--payment",
"version": "latest",
"version": "v2.1.0",
"author": "David Leclerc",
"main": "./src/index.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion K8s/Resources/Deployments/Broker.deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
spec:
containers:
- name: app
image: dleclercpro/sweets-broker:latest
image: dleclercpro/sweets-broker:v2.1.0
imagePullPolicy: IfNotPresent # To avoid pulling image from repo
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion K8s/Resources/Deployments/Delivery.deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
spec:
containers:
- name: app
image: dleclercpro/sweets-delivery:latest
image: dleclercpro/sweets-delivery:v2.1.0
imagePullPolicy: IfNotPresent # To avoid pulling image from repo
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion K8s/Resources/Deployments/Grafana.deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
spec:
containers:
- name: app
image: dleclercpro/sweets-grafana:latest
image: dleclercpro/sweets-grafana:v2.1.0
ports:
- containerPort: 3000
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion K8s/Resources/Deployments/Order.deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
spec:
containers:
- name: app
image: dleclercpro/sweets-order:latest
image: dleclercpro/sweets-order:v2.1.0
imagePullPolicy: IfNotPresent # To avoid pulling image from repo
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion K8s/Resources/Deployments/Payment.deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
spec:
containers:
- name: app
image: dleclercpro/sweets-payment:latest
image: dleclercpro/sweets-payment:v2.1.0
imagePullPolicy: IfNotPresent # To avoid pulling image from repo
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion K8s/Resources/Deployments/Prometheus.deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ spec:
spec:
containers:
- name: app
image: dleclercpro/sweets-prometheus:latest
image: dleclercpro/sweets-prometheus:v2.1.0
ports:
- containerPort: 9090
2 changes: 1 addition & 1 deletion K8s/Scripts/load.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define constant image details
user="dleclercpro"
app="sweets"
release="latest"
release="v2.1.0"

# Upload local images to Minikube image registry
minikube image load $user/$app-broker:$release
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,11 @@ Below is a diagram of the event flow implemented in this app. Each square repres
### v1.5.0
- Introduce deployment using Docker Compose as part of a common external network.

### v1.6.0
### v2.0.0
- Rework the frontend for a better UX.

### v2.1.0
- Rename application from 'EDA-Playground' to 'SweetGiggles': the dummy shop is going to be a an online candy store.

### v2.2.0
- Introduce horizontal pod scaling in the K8s cluster and stress test it.
2 changes: 1 addition & 1 deletion Scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cd "$dir/../Apps"
# Define constant image details
user="dleclercpro"
app="sweets"
release="latest"
release="v2.1.0"

# Build app images
docker buildx build --platform linux/amd64,linux/arm64 -t $user/$app-broker:$release -f Broker.Dockerfile . --push
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '3.8'
services:
sweets-broker:
container_name: sweets-broker
image: dleclercpro/sweets-broker:latest
image: dleclercpro/sweets-broker:v2.1.0
build:
context: ./Apps
dockerfile: Broker.Dockerfile
Expand All @@ -17,7 +17,7 @@ services:

sweets-order:
container_name: sweets-order
image: dleclercpro/sweets-order:latest
image: dleclercpro/sweets-order:v2.1.0
build:
context: ./Apps
dockerfile: Order.Dockerfile
Expand All @@ -28,7 +28,7 @@ services:

sweets-payment:
container_name: sweets-payment
image: dleclercpro/sweets-payment:latest
image: dleclercpro/sweets-payment:v2.1.0
build:
context: ./Apps
dockerfile: Payment.Dockerfile
Expand All @@ -39,7 +39,7 @@ services:

sweets-delivery:
container_name: sweets-delivery
image: dleclercpro/sweets-delivery:latest
image: dleclercpro/sweets-delivery:v2.1.0
build:
context: ./Apps
dockerfile: Delivery.Dockerfile
Expand All @@ -50,7 +50,7 @@ services:

sweets-prometheus:
container_name: sweets-prometheus
image: dleclercpro/sweets-prometheus:latest
image: dleclercpro/sweets-prometheus:v2.1.0
build:
context: ./Apps
dockerfile: Prometheus.Dockerfile
Expand All @@ -62,7 +62,7 @@ services:

sweets-grafana:
container_name: sweets-grafana
image: dleclercpro/sweets-grafana:latest
image: dleclercpro/sweets-grafana:v2.1.0
build:
context: ./Apps
dockerfile: Grafana.Dockerfile
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:

sweets-broker:
container_name: sweets-broker
image: dleclercpro/sweets-broker:latest
image: dleclercpro/sweets-broker:v2.1.0
build:
context: ./Apps
dockerfile: Broker.Dockerfile
Expand All @@ -33,7 +33,7 @@ services:

sweets-order:
container_name: sweets-order
image: dleclercpro/sweets-order:latest
image: dleclercpro/sweets-order:v2.1.0
build:
context: ./Apps
dockerfile: Order.Dockerfile
Expand All @@ -46,7 +46,7 @@ services:

sweets-payment:
container_name: sweets-payment
image: dleclercpro/sweets-payment:latest
image: dleclercpro/sweets-payment:v2.1.0
build:
context: ./Apps
dockerfile: Payment.Dockerfile
Expand All @@ -59,7 +59,7 @@ services:

sweets-delivery:
container_name: sweets-delivery
image: dleclercpro/sweets-delivery:latest
image: dleclercpro/sweets-delivery:v2.1.0
build:
context: ./Apps
dockerfile: Delivery.Dockerfile
Expand All @@ -72,7 +72,7 @@ services:

sweets-prometheus:
container_name: sweets-prometheus
image: dleclercpro/sweets-prometheus:latest
image: dleclercpro/sweets-prometheus:v2.1.0
build:
context: ./Apps
dockerfile: Prometheus.Dockerfile
Expand All @@ -84,7 +84,7 @@ services:

sweets-grafana:
container_name: sweets-grafana
image: dleclercpro/sweets-grafana:latest
image: dleclercpro/sweets-grafana:v2.1.0
build:
context: ./Apps
dockerfile: Grafana.Dockerfile
Expand Down

0 comments on commit c283d01

Please sign in to comment.