Update to 2023-04-11 15:00

This commit is contained in:
Daniel Berteaud
2023-04-11 15:00:42 +02:00
parent 2a3d56fddc
commit 138c0bf3b2
55 changed files with 113 additions and 79 deletions

View File

@@ -1,7 +1,7 @@
---
# Penpot version to deploy
penpot_version: 1.17.1
penpot_version: 1.18.1
# SHould ansible manage upgrades. If False, only the initial install will be done
penpot_manage_upgrade: True
@@ -10,7 +10,7 @@ penpot_root_dir: /opt/penpot
# URL of the archive
penpot_archive_url: https://github.com/penpot/penpot/archive/refs/tags/{{ penpot_version }}.tar.gz
# Expected sha256 of the archive
penpot_archive_sha256: 68b2397fe9d994f1ba3e1cf38b2e280853c978bccad202fcceed67f2cc1d627c
penpot_archive_sha256: 85d340b136f54013e857af0a00d70c6049ae48b9122677fd08f37f297cf418b8
# User under which penpot will run. Will be created
penpot_user: penpot

View File

@@ -24,9 +24,13 @@
- etc
tags: penpot
- name: Install postgresql client
package: name=postgresql15
tags: penpot
- name: Dump the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ penpot_db_server | quote }}

View File

@@ -23,6 +23,10 @@ server {
add_header Cache-Control "no-cache, max-age=0" always;
}
location /api/export {
proxy_pass http://localhost:{{ penpot_ports['exporter'] }};
}
location /api {
proxy_pass http://localhost:{{ penpot_ports['backend'] }}/api;
}
@@ -31,10 +35,6 @@ server {
proxy_pass http://localhost:{{ penpot_ports['backend'] }}/dbg;
}
location /export {
proxy_pass http://localhost:{{ penpot_ports['exporter'] }};
}
location /ws/notifications {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';

View File

@@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD='{{ penpot_db_pass }}' /usr/pgsql-14/bin/pg_dump \
PGPASSWORD='{{ penpot_db_pass }}' /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ penpot_db_user | quote }} \