Skip to content

Commit cee8bf0

Browse files
committed
create tag for v0.0.2 (gh-464)
- change 0.0.2-SNAPSHOT to 0.0.2
1 parent a7404fe commit cee8bf0

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
APP_VERSION=0.0.2-SNAPSHOT
1+
APP_VERSION=0.0.2

build-3cn-parent-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
docker build -t 3cn-parent:0.0.2-SNAPSHOT -f Dockerfile.3cn-parent-init .
2-
docker tag 3cn-parent:0.0.2-SNAPSHOT ubaidurehman/3cn-parent:0.0.2-SNAPSHOT
1+
docker build -t 3cn-parent:0.0.2 -f Dockerfile.3cn-parent-init .
2+
docker tag 3cn-parent:0.0.2 ubaidurehman/3cn-parent:0.0.2

build-all-microservice-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
declare -a microservices=("api-gateway" "audit" "config" "country" "currency-conversion" "currency-exchange" "discovery" "math" "user")
3-
APP_VERSION=0.0.2-SNAPSHOT
3+
APP_VERSION=0.0.2
44
for microservice in "${microservices[@]}"
55
do
66
echo buidling image of "$microservice"

common/util/src/main/java/com/ubaid/ms/common/util/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class Constants {
1111
public static final String LICENSE = "MIT";
1212
public static final String LICENSE_URL = "https://github.com/UbaidurRehman1/Cloud-Native-App-Spring-Boot/blob/master/LICENSE";
1313

14-
public static final String APP_VERSION = "0.0.2-SNAPSHOT";
14+
public static final String APP_VERSION = "0.0.2";
1515

1616
public static final String GLOBAL = "global";
1717
public static final String ACCESS_EVERYTHING = "accessEverything";

envcn/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_VERSION=0.0.2-SNAPSHOT
1+
APP_VERSION=0.0.2
22
ELK_VERSION=7.13.2
33
RABBIT_MQ=3.8.17-management
44
ZIPKIN=2.23.2

k8s/deployments.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
app: auth-db
1515
spec:
1616
containers:
17-
- image: ubaidurehman/auth-db:0.0.2-SNAPSHOT
17+
- image: ubaidurehman/auth-db:0.0.2
1818
name: auth-db
1919
imagePullPolicy: "Always"
2020
env:
@@ -96,7 +96,7 @@ spec:
9696
spec:
9797
containers:
9898
- name: discovery
99-
image: ubaidurehman/discovery:0.0.2-SNAPSHOT
99+
image: ubaidurehman/discovery:0.0.2
100100
ports:
101101
- containerPort: 8761
102102
---
@@ -166,7 +166,7 @@ spec:
166166
containers:
167167
- name: config
168168
imagePullPolicy: "Always"
169-
image: ubaidurehman/config:0.0.2-SNAPSHOT
169+
image: ubaidurehman/config:0.0.2
170170
args: [ "--spring.profiles.active=prod" ]
171171
ports:
172172
- containerPort: 8888
@@ -367,7 +367,7 @@ spec:
367367
containers:
368368
- name: math
369369
imagePullPolicy: "Always"
370-
image: ubaidurehman/math:0.0.2-SNAPSHOT
370+
image: ubaidurehman/math:0.0.2
371371
args: ["--spring.profiles.active=prod"]
372372
ports:
373373
- containerPort: 8100
@@ -392,7 +392,7 @@ spec:
392392
containers:
393393
- name: country
394394
imagePullPolicy: "Always"
395-
image: ubaidurehman/country:0.0.2-SNAPSHOT
395+
image: ubaidurehman/country:0.0.2
396396
args: ["--spring.profiles.active=prod"]
397397
ports:
398398
- containerPort: 8300
@@ -418,7 +418,7 @@ spec:
418418
containers:
419419
- name: api-gateway
420420
imagePullPolicy: "Always"
421-
image: ubaidurehman/api-gateway:0.0.2-SNAPSHOT
421+
image: ubaidurehman/api-gateway:0.0.2
422422
args: ["--spring.profiles.active=prod"]
423423
ports:
424424
- containerPort: 8755
@@ -444,7 +444,7 @@ spec:
444444
containers:
445445
- name: audit
446446
imagePullPolicy: "Always"
447-
image: ubaidurehman/audit:0.0.2-SNAPSHOT
447+
image: ubaidurehman/audit:0.0.2
448448
args: ["--spring.profiles.active=prod"]
449449
ports:
450450
- containerPort: 8950
@@ -472,7 +472,7 @@ spec:
472472
containers:
473473
- name: currency-conversion
474474
imagePullPolicy: "Always"
475-
image: ubaidurehman/currency-conversion:0.0.2-SNAPSHOT
475+
image: ubaidurehman/currency-conversion:0.0.2
476476
args: ["--spring.profiles.active=prod"]
477477
ports:
478478
- containerPort: 5200
@@ -498,7 +498,7 @@ spec:
498498
containers:
499499
- name: currency-exchange
500500
imagePullPolicy: "Always"
501-
image: ubaidurehman/currency-exchange:0.0.2-SNAPSHOT
501+
image: ubaidurehman/currency-exchange:0.0.2
502502
args: ["--spring.profiles.active=prod"]
503503
ports:
504504
- containerPort: 8000
@@ -524,7 +524,7 @@ spec:
524524
containers:
525525
- name: user
526526
imagePullPolicy: "Always"
527-
image: ubaidurehman/user:0.0.2-SNAPSHOT
527+
image: ubaidurehman/user:0.0.2
528528
args: ["--spring.profiles.active=prod"]
529529
ports:
530530
- containerPort: 8900
@@ -551,7 +551,7 @@ spec:
551551
containers:
552552
- name: fe
553553
imagePullPolicy: "Always"
554-
image: ubaidurehman/3cn-fe:0.0.2-SNAPSHOT
554+
image: ubaidurehman/3cn-fe:0.0.2
555555
ports:
556556
- containerPort: 80
557557
---

pull-all-microservice-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
declare -a microservices=("api-gateway" "audit" "config" "country" "currency-conversion" "currency-exchange" "discovery" "math" "user")
3-
APP_VERSION=0.0.2-SNAPSHOT
3+
APP_VERSION=0.0.2
44
for microservice in "${microservices[@]}"
55
do
66
echo pulling ubaidurehman/"$microservice":$APP_VERSION

push-all-microservice-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
declare -a microservices=("api-gateway" "audit" "config" "country" "currency-conversion" "currency-exchange" "discovery" "math" "user")
3-
APP_VERSION=0.0.2-SNAPSHOT
3+
APP_VERSION=0.0.2
44
for microservice in "${microservices[@]}"
55
do
66
echo pushing ubaidurehman/"$microservice":$APP_VERSION

update-3cn-parent-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
docker build -t 3cn-parent:0.0.2-SNAPSHOT -f Dockerfile.update-3cn-parent .
2-
docker tag 3cn-parent:0.0.2-SNAPSHOT ubaidurehman/3cn-parent:0.0.2-SNAPSHOT
1+
docker build -t 3cn-parent:0.0.2 -f Dockerfile.update-3cn-parent .
2+
docker tag 3cn-parent:0.0.2 ubaidurehman/3cn-parent:0.0.2-SNAPSHOT

0 commit comments

Comments
 (0)