Skip to content

Commit

Permalink
update to 1.3.0 version for installation and upgrade scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-landiak committed Apr 3, 2024
1 parent bded7f2 commit 1b189a0
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docker/.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DOCKER_REPO=thingsboard
DOCKER_NAME=tbmq-node

TBMQ_VERSION=1.2.1
TBMQ_VERSION=1.3.0

LOAD_BALANCER_NAME=haproxy-certbot
POSTGRES_NAME=postgresql
Expand Down
2 changes: 1 addition & 1 deletion k8s/aws/database-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
containers:
- name: tb-db-setup
imagePullPolicy: Always
image: thingsboard/tbmq-node:1.2.1
image: thingsboard/tbmq-node:1.3.0
envFrom:
- configMapRef:
name: tb-broker-db-config
Expand Down
2 changes: 1 addition & 1 deletion k8s/aws/tb-broker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
containers:
- name: server
imagePullPolicy: Always
image: thingsboard/tbmq-node:1.2.1
image: thingsboard/tbmq-node:1.3.0
ports:
- containerPort: 8083
name: http
Expand Down
2 changes: 1 addition & 1 deletion k8s/azure/database-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
containers:
- name: tb-db-setup
imagePullPolicy: Always
image: thingsboard/tbmq-node:1.2.1
image: thingsboard/tbmq-node:1.3.0
envFrom:
- configMapRef:
name: tb-broker-db-config
Expand Down
2 changes: 1 addition & 1 deletion k8s/azure/tb-broker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
containers:
- name: server
imagePullPolicy: Always
image: thingsboard/tbmq-node:1.2.1
image: thingsboard/tbmq-node:1.3.0
ports:
- containerPort: 8083
name: http
Expand Down
2 changes: 1 addition & 1 deletion k8s/minikube/database-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
containers:
- name: tb-db-setup
imagePullPolicy: Always
image: thingsboard/tbmq-node:1.2.1
image: thingsboard/tbmq-node:1.3.0
envFrom:
- configMapRef:
name: tb-broker-db-config
Expand Down
2 changes: 1 addition & 1 deletion k8s/minikube/tb-broker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
containers:
- name: server
imagePullPolicy: Always
image: thingsboard/tbmq-node:1.2.1
image: thingsboard/tbmq-node:1.3.0
ports:
- containerPort: 8083
name: http
Expand Down
2 changes: 1 addition & 1 deletion msa/tbmq/configs/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
- tbmq-kafka-data:/bitnami/kafka
tbmq:
restart: always
image: "thingsboard/tbmq:1.2.1"
image: "thingsboard/tbmq:1.3.0"
depends_on:
- postgres
- kafka
Expand Down
2 changes: 1 addition & 1 deletion msa/tbmq/configs/tbmq-install-and-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if [ -f "docker-compose.yml" ]; then
echo "docker-compose.yml is already present in the current directory. Skipping download."
else
echo "docker-compose.yml is absent in the current directory. Downloading the file..."
wget https://raw.githubusercontent.com/thingsboard/tbmq/release-1.2.1/msa/tbmq/configs/docker-compose.yml
wget https://raw.githubusercontent.com/thingsboard/tbmq/release-1.3.0/msa/tbmq/configs/docker-compose.yml
fi

COMPOSE_VERSION=$(compose_version) || exit $?
Expand Down
4 changes: 2 additions & 2 deletions msa/tbmq/configs/tbmq-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ function compose_version() {
set -u

# Define TBMQ versions
old_version="1.2.0"
new_version="1.2.1"
old_version="1.2.1"
new_version="1.3.0"

# Define TBMQ images
old_image="image: \"thingsboard/tbmq:$old_version\""
Expand Down
2 changes: 1 addition & 1 deletion msa/tbmq/configs/windows/tbmq-install-and-run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if (Test-Path "docker-compose.yml") {
Write-Host "docker-compose.yml is already present in the current directory. Skipping download."
} else {
Write-Host "docker-compose.yml is absent in the current directory. Downloading the file..."
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/thingsboard/tbmq/release-1.2.1/msa/tbmq/configs/docker-compose.yml" -OutFile "docker-compose.yml"
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/thingsboard/tbmq/release-1.3.0/msa/tbmq/configs/docker-compose.yml" -OutFile "docker-compose.yml"
}

$COMPOSE_VERSION = compose_version
Expand Down
4 changes: 2 additions & 2 deletions msa/tbmq/configs/windows/tbmq-upgrade.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ try {
Write-Host "Docker Compose version is: $COMPOSE_VERSION"

# Define TBMQ versions
$old_version = "1.2.0"
$new_version = "1.2.1"
$old_version = "1.2.1"
$new_version = "1.3.0"

# Define TBMQ images
$old_image = "image: `"thingsboard/tbmq:$old_version`""
Expand Down

0 comments on commit 1b189a0

Please sign in to comment.