Skip to content

Commit

Permalink
update to 2.0.1 version for installation and upgrade scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-landiak committed Dec 31, 2024
1 parent a0542d7 commit 3b27383
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=2.0.0
TBMQ_VERSION=2.0.1

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:2.0.0
image: thingsboard/tbmq-node:2.0.1
env:
- name: MQTT_PERSISTENT_SESSION_DEVICE_PERSISTED_MESSAGES_LIMIT
value: "1000"
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:2.0.0
image: thingsboard/tbmq-node:2.0.1
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:2.0.0
image: thingsboard/tbmq-node:2.0.1
env:
- name: MQTT_PERSISTENT_SESSION_DEVICE_PERSISTED_MESSAGES_LIMIT
value: "1000"
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:2.0.0
image: thingsboard/tbmq-node:2.0.1
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:2.0.0
image: thingsboard/tbmq-node:2.0.1
env:
- name: REDIS_HOST
value: "tb-redis"
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:2.0.0
image: thingsboard/tbmq-node:2.0.1
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 @@ -63,7 +63,7 @@ services:
- tbmq-redis-data:/bitnami/redis/data
tbmq:
restart: always
image: "thingsboard/tbmq:2.0.0"
image: "thingsboard/tbmq:2.0.1"
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-2.0.0/msa/tbmq/configs/docker-compose.yml
wget https://raw.githubusercontent.com/thingsboard/tbmq/release-2.0.1/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.4.0"
new_version="2.0.0"
old_version="2.0.0"
new_version="2.0.1"

# 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-2.0.0/msa/tbmq/configs/docker-compose.yml" -OutFile "docker-compose.yml"
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/thingsboard/tbmq/release-2.0.1/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.4.0"
$new_version = "2.0.0"
$old_version = "2.0.0"
$new_version = "2.0.1"

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

0 comments on commit 3b27383

Please sign in to comment.