Skip to content

Commit bcd456c

Browse files
authored
Release 2.2.0 (#931)
1 parent 230a37f commit bcd456c

File tree

7 files changed

+21
-9
lines changed

7 files changed

+21
-9
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ You have the option to deploy Postgres clusters using the Console (UI), command
135135
> [!TIP]
136136
> 📩 Contact us at [email protected], and our team will help you implement Autobase into your infrastructure.
137137
138-
139138
### Console (UI)
140139

141140
The Autobase Console (UI) is the recommended method for most users. It is designed to be user-friendly, minimizing the risk of errors and making it easier than ever to set up your PostgreSQL clusters. This method is suitable for both beginners and those who prefer a visual interface for managing their PostgreSQL clusters.
@@ -162,7 +161,6 @@ docker run -d --name autobase-console \
162161
> [!TIP]
163162
> It is recommended to run the console in the same network as your database servers to enable monitoring of the cluster status.
164163
165-
166164
**Open the Console UI**:
167165

168166
Go to http://localhost:80 (or the address of your server) and use `secret_token` for authorization.
@@ -200,10 +198,11 @@ cd autobase/automation
200198
3. Install requirements on the control node
201199

202200
```
203-
ansible-galaxy install --force -r requirements.yml
201+
ansible-galaxy install --force -r requirements.yml
204202
```
205203

206204
Note: If you plan to use Consul (`dcs_type: consul`), install the consul role requirements
205+
207206
```
208207
ansible-galaxy install -r roles/consul/requirements.yml
209208
```
@@ -222,7 +221,8 @@ nano inventory
222221
nano vars/main.yml
223222
```
224223

225-
Minimum set of variables:
224+
Minimum set of variables:
225+
226226
- `proxy_env` to download packages in environments without direct internet access (optional)
227227
- `patroni_cluster_name`
228228
- `postgresql_version`
@@ -250,6 +250,7 @@ ansible-playbook deploy_pgcluster.yml
250250
To deploy a PostgreSQL High-Availability Cluster with the [TimescaleDB](https://github.com/timescale/timescaledb) extension, add the `enable_timescale` variable:
251251

252252
Example:
253+
253254
```
254255
ansible-playbook deploy_pgcluster.yml -e "enable_timescale=true"
255256
```
@@ -261,6 +262,7 @@ ansible-playbook deploy_pgcluster.yml -e "enable_timescale=true"
261262
If you need to start from the very beginning, you can use the playbook `remove_cluster.yml`.
262263

263264
Available variables:
265+
264266
- `remove_postgres`: stop the PostgreSQL service and remove data.
265267
- `remove_etcd`: stop the ETCD service and remove data.
266268
- `remove_consul`: stop the Consul service and remove data.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- +goose Up
2+
-- Extensions
3+
update
4+
public.extensions
5+
set
6+
postgres_max_version = '17'
7+
where
8+
extension_name = 'citus';
9+
10+
-- +goose Down

console/service/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ PG_CONSOLE_DB_MIGRATIONDIR String /etc/db/migrations
5757
PG_CONSOLE_ENCRYPTIONKEY String super_secret Encryption key for secret storage
5858
PG_CONSOLE_DOCKER_HOST String unix:///var/run/docker.sock Docker host
5959
PG_CONSOLE_DOCKER_LOGDIR String /tmp/ansible Directory inside docker container for ansible json log
60-
PG_CONSOLE_DOCKER_IMAGE String autobase/automation:2.1.0 Docker image for autobase automation
60+
PG_CONSOLE_DOCKER_IMAGE String autobase/automation:2.2.0 Docker image for autobase automation
6161
PG_CONSOLE_LOGWATCHER_RUNEVERY Duration 1m LogWatcher run interval
6262
PG_CONSOLE_LOGWATCHER_ANALYZEPAST Duration 48h LogWatcher gets operations to analyze which created_at > now() - AnalyzePast
6363
PG_CONSOLE_CLUSTERWATCHER_RUNEVERY Duration 1m ClusterWatcher run interval

console/service/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.0
1+
2.2.0

console/service/api/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ swagger: '2.0'
33
info:
44
title: autobase console
55
description: API for autobase console
6-
version: 2.1.0
6+
version: 2.2.0
77
host: localhost:8080
88
schemes:
99
- http

console/service/internal/configuration/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type Config struct {
4343
Docker struct {
4444
Host string `default:"unix:///var/run/docker.sock" desc:"Docker host"`
4545
LogDir string `default:"/tmp/ansible" desc:"Directory inside docker container for ansible json log"`
46-
Image string `default:"autobase/automation:2.1.0" desc:"Docker image for autobase automation"`
46+
Image string `default:"autobase/automation:2.2.0" desc:"Docker image for autobase automation"`
4747
}
4848
LogWatcher struct {
4949
RunEvery time.Duration `default:"1m" desc:"LogWatcher run interval"`

console/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "postgresql-cluster-console-ui",
33
"private": true,
4-
"version": "2.1.0",
4+
"version": "2.2.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite --open",

0 commit comments

Comments
 (0)