Update to 2024-07-16 12:00

This commit is contained in:
Daniel Berteaud
2024-07-16 12:00:13 +02:00
parent 422d76dfa6
commit ca6219e4f0
4 changed files with 21 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
---
# Penpot version to deploy
penpot_version: 2.0.0
penpot_version: 2.1.0
# 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: 133fc088b2e194ffdd3a9816c7fabcf9630699157ce28a242c81cb6283de6af6
penpot_archive_sha256: 47b816b92896c0786196385150fb4a8c7e5d3240516f7d48da1c998910f5c006
# User under which penpot will run. Will be created
penpot_user: penpot

View File

@@ -52,6 +52,10 @@
shell: |
corepack enable
yarn set version 4.0.2
{% if system_proxy is defined and system_proxy != '' %}
yarn config set httpProxy {{ system_proxy }}
yarn config set httpsProxy {{ system_proxy }}
{% endif %}
args:
chdir: "{{ penpot_root_dir }}/tmp/penpot-{{ penpot_version }}/frontend"
@@ -63,6 +67,17 @@
CURRENT_HASH: "{{ penpot_version }}"
PATH: "/usr/lib/jvm/java-21/bin:/opt/penpot/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin"
- name: Install yarn
shell: |
corepack enable
yarn set version 4.0.2
{% if system_proxy is defined and system_proxy != '' %}
yarn config set httpProxy {{ system_proxy }}
yarn config set httpsProxy {{ system_proxy }}
{% endif %}
args:
chdir: "{{ penpot_root_dir }}/tmp/penpot-{{ penpot_version }}/exporter"
- name: Build penpot exporter
command: ./scripts/build
args: