Skip to content

Commit acd6267

Browse files
committed
Merge branch '3.0' into 'master'
Switch to 3.0.1 See merge request postgres-ai/terraform-postgres-ai-database-lab!51
2 parents 3c806eb + 121ff8f commit acd6267

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following steps were tested on Ubuntu 20.04 but supposed to be valid for oth
4949
```
5050
1. Edit `terraform.tfvars` file. In our example, we will use Heroku demo database as a source:
5151
```config
52-
dle_version_full = "2.5.0"
52+
dle_version = "v3.0.1"
5353
5454
aws_ami_name = "DBLABserver*"
5555

Diff for: dle-logical-init.sh.tpl

+4-2
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ esac
193193
# Fix ownership of the dblab directory
194194
chown -R ubuntu.ubuntu /home/ubuntu/.dblab/
195195

196+
image_version=$(echo ${dle_version} | sed 's/v*//')
197+
196198
sudo docker run \
197199
--name dblab_server \
198200
--label dblab_control \
@@ -207,7 +209,7 @@ sudo docker run \
207209
--env DOCKER_API_VERSION=1.39 \
208210
--detach \
209211
--restart on-failure \
210-
registry.gitlab.com/postgres-ai/database-lab/dblab-server:${dle_version}
212+
registry.gitlab.com/postgres-ai/database-lab/dblab-server:$image_version
211213

212214
### Waiting for the Database Lab Engine initialization.
213215
for i in {1..30000}; do
@@ -281,5 +283,5 @@ sudo docker run \
281283
--volume /var/run/docker.sock:/var/run/docker.sock \
282284
--volume /tmp/ci_checker:/tmp/ci_checker \
283285
--volume $ci_checker_config_path:/home/dblab/configs:ro \
284-
registry.gitlab.com/postgres-ai/database-lab/dblab-ci-checker:${dle_version}
286+
registry.gitlab.com/postgres-ai/database-lab/dblab-ci-checker:$image_version
285287

Diff for: terraform.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dle_version = "v3.0.0-rc.2" # it is also possible to use branch name here (e.g., "master")
1+
dle_version = "v3.0.1" # it is also possible to use branch name here (e.g., "master")
22
joe_version = "0.10.0"
33

44
aws_ami_name = "DBLABserver*"

0 commit comments

Comments
 (0)