From bb6b1d3fd924549af8de18575c37c56b60143c12 Mon Sep 17 00:00:00 2001 From: David Leclerc Date: Fri, 2 Feb 2024 11:57:34 +0100 Subject: [PATCH] Release tag. --- Apps/Broker/package-lock.json | 4 ++-- Apps/Broker/package.json | 2 +- Apps/Common/package-lock.json | 4 ++-- Apps/Common/package.json | 2 +- Apps/Delivery/package-lock.json | 4 ++-- Apps/Delivery/package.json | 2 +- Apps/Order/package-lock.json | 4 ++-- Apps/Order/package.json | 2 +- Apps/Payment/package-lock.json | 4 ++-- Apps/Payment/package.json | 2 +- K8s/Resources/Deployments/Broker.deployment.yml | 2 +- K8s/Resources/Deployments/Delivery.deployment.yml | 2 +- K8s/Resources/Deployments/Grafana.deployment.yml | 2 +- K8s/Resources/Deployments/Order.deployment.yml | 2 +- K8s/Resources/Deployments/Payment.deployment.yml | 2 +- K8s/Resources/Deployments/Prometheus.deployment.yml | 2 +- K8s/Scripts/load.sh | 2 +- Scripts/build.sh | 2 +- docker-compose.local.yml | 12 ++++++------ docker-compose.yml | 12 ++++++------ 20 files changed, 35 insertions(+), 35 deletions(-) diff --git a/Apps/Broker/package-lock.json b/Apps/Broker/package-lock.json index 5d1eed2..73238fa 100644 --- a/Apps/Broker/package-lock.json +++ b/Apps/Broker/package-lock.json @@ -1,12 +1,12 @@ { "name": "event-driven-architecture-playground--broker", - "version": "latest", + "version": "v2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "event-driven-architecture-playground--broker", - "version": "latest", + "version": "v2.0.0", "dependencies": { "compression": "^1.7.4", "cookie-parser": "^1.4.6", diff --git a/Apps/Broker/package.json b/Apps/Broker/package.json index dc82e5f..09e8f17 100644 --- a/Apps/Broker/package.json +++ b/Apps/Broker/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--broker", - "version": "pretty-frontend", + "version": "v2.0.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/Apps/Common/package-lock.json b/Apps/Common/package-lock.json index 0b89e08..a45f8d0 100644 --- a/Apps/Common/package-lock.json +++ b/Apps/Common/package-lock.json @@ -1,12 +1,12 @@ { "name": "event-driven-architecture-playground--common", - "version": "latest", + "version": "v2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "event-driven-architecture-playground--common", - "version": "latest", + "version": "v2.0.0", "dependencies": { "compression": "^1.7.4", "cookie-parser": "^1.4.6", diff --git a/Apps/Common/package.json b/Apps/Common/package.json index 28a8c40..a724d24 100644 --- a/Apps/Common/package.json +++ b/Apps/Common/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--common", - "version": "pretty-frontend", + "version": "v2.0.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/Apps/Delivery/package-lock.json b/Apps/Delivery/package-lock.json index 5e489a7..d17a0b8 100644 --- a/Apps/Delivery/package-lock.json +++ b/Apps/Delivery/package-lock.json @@ -1,12 +1,12 @@ { "name": "event-driven-architecture-playground--delivery", - "version": "latest", + "version": "v2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "event-driven-architecture-playground--delivery", - "version": "latest", + "version": "v2.0.0", "dependencies": { "compression": "^1.7.4", "cookie-parser": "^1.4.6", diff --git a/Apps/Delivery/package.json b/Apps/Delivery/package.json index e194a4f..5f9a025 100644 --- a/Apps/Delivery/package.json +++ b/Apps/Delivery/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--delivery", - "version": "pretty-frontend", + "version": "v2.0.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/Apps/Order/package-lock.json b/Apps/Order/package-lock.json index b5f5cfd..5eb4610 100644 --- a/Apps/Order/package-lock.json +++ b/Apps/Order/package-lock.json @@ -1,12 +1,12 @@ { "name": "event-driven-architecture-playground--order", - "version": "latest", + "version": "v2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "event-driven-architecture-playground--order", - "version": "latest", + "version": "v2.0.0", "dependencies": { "compression": "^1.7.4", "cookie-parser": "^1.4.6", diff --git a/Apps/Order/package.json b/Apps/Order/package.json index faa8f4e..9530143 100644 --- a/Apps/Order/package.json +++ b/Apps/Order/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--order", - "version": "pretty-frontend", + "version": "v2.0.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/Apps/Payment/package-lock.json b/Apps/Payment/package-lock.json index f94cb55..9e90ff9 100644 --- a/Apps/Payment/package-lock.json +++ b/Apps/Payment/package-lock.json @@ -1,12 +1,12 @@ { "name": "event-driven-architecture-playground--payment", - "version": "latest", + "version": "v2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "event-driven-architecture-playground--payment", - "version": "latest", + "version": "v2.0.0", "dependencies": { "compression": "^1.7.4", "cookie-parser": "^1.4.6", diff --git a/Apps/Payment/package.json b/Apps/Payment/package.json index 7b761e8..3045aba 100644 --- a/Apps/Payment/package.json +++ b/Apps/Payment/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--payment", - "version": "pretty-frontend", + "version": "v2.0.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/K8s/Resources/Deployments/Broker.deployment.yml b/K8s/Resources/Deployments/Broker.deployment.yml index dea8e44..87c9d10 100644 --- a/K8s/Resources/Deployments/Broker.deployment.yml +++ b/K8s/Resources/Deployments/Broker.deployment.yml @@ -23,7 +23,7 @@ spec: spec: containers: - name: app - image: dleclercpro/eda-playground-broker:pretty-frontend + image: dleclercpro/eda-playground-broker:v2.0.0 imagePullPolicy: IfNotPresent # To avoid pulling image from repo ports: - containerPort: 80 diff --git a/K8s/Resources/Deployments/Delivery.deployment.yml b/K8s/Resources/Deployments/Delivery.deployment.yml index 1e4f23e..90db3d0 100644 --- a/K8s/Resources/Deployments/Delivery.deployment.yml +++ b/K8s/Resources/Deployments/Delivery.deployment.yml @@ -24,7 +24,7 @@ spec: spec: containers: - name: app - image: dleclercpro/eda-playground-delivery:pretty-frontend + image: dleclercpro/eda-playground-delivery:v2.0.0 imagePullPolicy: IfNotPresent # To avoid pulling image from repo ports: - containerPort: 80 diff --git a/K8s/Resources/Deployments/Grafana.deployment.yml b/K8s/Resources/Deployments/Grafana.deployment.yml index dfc1850..1319173 100644 --- a/K8s/Resources/Deployments/Grafana.deployment.yml +++ b/K8s/Resources/Deployments/Grafana.deployment.yml @@ -20,7 +20,7 @@ spec: spec: containers: - name: app - image: dleclercpro/eda-playground-grafana:pretty-frontend + image: dleclercpro/eda-playground-grafana:v2.0.0 ports: - containerPort: 3000 volumeMounts: diff --git a/K8s/Resources/Deployments/Order.deployment.yml b/K8s/Resources/Deployments/Order.deployment.yml index 7fc33e1..685662b 100644 --- a/K8s/Resources/Deployments/Order.deployment.yml +++ b/K8s/Resources/Deployments/Order.deployment.yml @@ -23,7 +23,7 @@ spec: spec: containers: - name: app - image: dleclercpro/eda-playground-order:pretty-frontend + image: dleclercpro/eda-playground-order:v2.0.0 imagePullPolicy: IfNotPresent # To avoid pulling image from repo ports: - containerPort: 80 diff --git a/K8s/Resources/Deployments/Payment.deployment.yml b/K8s/Resources/Deployments/Payment.deployment.yml index 8cd242e..2ef20f5 100644 --- a/K8s/Resources/Deployments/Payment.deployment.yml +++ b/K8s/Resources/Deployments/Payment.deployment.yml @@ -23,7 +23,7 @@ spec: spec: containers: - name: app - image: dleclercpro/eda-playground-payment:pretty-frontend + image: dleclercpro/eda-playground-payment:v2.0.0 imagePullPolicy: IfNotPresent # To avoid pulling image from repo ports: - containerPort: 80 diff --git a/K8s/Resources/Deployments/Prometheus.deployment.yml b/K8s/Resources/Deployments/Prometheus.deployment.yml index 0950ac1..eece69f 100644 --- a/K8s/Resources/Deployments/Prometheus.deployment.yml +++ b/K8s/Resources/Deployments/Prometheus.deployment.yml @@ -20,6 +20,6 @@ spec: spec: containers: - name: app - image: dleclercpro/eda-playground-prometheus:pretty-frontend + image: dleclercpro/eda-playground-prometheus:v2.0.0 ports: - containerPort: 9090 \ No newline at end of file diff --git a/K8s/Scripts/load.sh b/K8s/Scripts/load.sh index 64eeaac..b483105 100644 --- a/K8s/Scripts/load.sh +++ b/K8s/Scripts/load.sh @@ -1,7 +1,7 @@ # Define constant image details user="dleclercpro" app="eda-playground" -release="pretty-frontend" +release="v2.0.0" # Upload local images to Minikube image registry minikube image load $user/$app-broker:$release diff --git a/Scripts/build.sh b/Scripts/build.sh index 1a8145f..abaca15 100644 --- a/Scripts/build.sh +++ b/Scripts/build.sh @@ -9,7 +9,7 @@ cd "$dir/../Apps" # Define constant image details user="dleclercpro" app="eda-playground" -release="pretty-frontend" +release="v2.0.0" # Build app images docker buildx build --platform linux/amd64,linux/arm64 -t $user/$app-broker:$release -f Broker.Dockerfile . --push diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 2aabdd5..1dc2f7b 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -4,7 +4,7 @@ version: '3.8' services: eda-playground-broker: container_name: eda-playground-broker - image: dleclercpro/eda-playground-broker:pretty-frontend + image: dleclercpro/eda-playground-broker:v2.0.0 build: context: ./Apps dockerfile: Broker.Dockerfile @@ -17,7 +17,7 @@ services: eda-playground-order: container_name: eda-playground-order - image: dleclercpro/eda-playground-order:pretty-frontend + image: dleclercpro/eda-playground-order:v2.0.0 build: context: ./Apps dockerfile: Order.Dockerfile @@ -28,7 +28,7 @@ services: eda-playground-payment: container_name: eda-playground-payment - image: dleclercpro/eda-playground-payment:pretty-frontend + image: dleclercpro/eda-playground-payment:v2.0.0 build: context: ./Apps dockerfile: Payment.Dockerfile @@ -39,7 +39,7 @@ services: eda-playground-delivery: container_name: eda-playground-delivery - image: dleclercpro/eda-playground-delivery:pretty-frontend + image: dleclercpro/eda-playground-delivery:v2.0.0 build: context: ./Apps dockerfile: Delivery.Dockerfile @@ -50,7 +50,7 @@ services: eda-playground-prometheus: container_name: eda-playground-prometheus - image: dleclercpro/eda-playground-prometheus:pretty-frontend + image: dleclercpro/eda-playground-prometheus:v2.0.0 build: context: ./Apps dockerfile: Prometheus.Dockerfile @@ -62,7 +62,7 @@ services: eda-playground-grafana: container_name: eda-playground-grafana - image: dleclercpro/eda-playground-grafana:pretty-frontend + image: dleclercpro/eda-playground-grafana:v2.0.0 build: context: ./Apps dockerfile: Grafana.Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 3d09175..d39bc4e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,7 +20,7 @@ services: eda-playground-broker: container_name: eda-playground-broker - image: dleclercpro/eda-playground-broker:pretty-frontend + image: dleclercpro/eda-playground-broker:v2.0.0 build: context: ./Apps dockerfile: Broker.Dockerfile @@ -33,7 +33,7 @@ services: eda-playground-order: container_name: eda-playground-order - image: dleclercpro/eda-playground-order:pretty-frontend + image: dleclercpro/eda-playground-order:v2.0.0 build: context: ./Apps dockerfile: Order.Dockerfile @@ -46,7 +46,7 @@ services: eda-playground-payment: container_name: eda-playground-payment - image: dleclercpro/eda-playground-payment:pretty-frontend + image: dleclercpro/eda-playground-payment:v2.0.0 build: context: ./Apps dockerfile: Payment.Dockerfile @@ -59,7 +59,7 @@ services: eda-playground-delivery: container_name: eda-playground-delivery - image: dleclercpro/eda-playground-delivery:pretty-frontend + image: dleclercpro/eda-playground-delivery:v2.0.0 build: context: ./Apps dockerfile: Delivery.Dockerfile @@ -72,7 +72,7 @@ services: eda-playground-prometheus: container_name: eda-playground-prometheus - image: dleclercpro/eda-playground-prometheus:pretty-frontend + image: dleclercpro/eda-playground-prometheus:v2.0.0 build: context: ./Apps dockerfile: Prometheus.Dockerfile @@ -84,7 +84,7 @@ services: eda-playground-grafana: container_name: eda-playground-grafana - image: dleclercpro/eda-playground-grafana:pretty-frontend + image: dleclercpro/eda-playground-grafana:v2.0.0 build: context: ./Apps dockerfile: Grafana.Dockerfile