Update to 2022-02-27 13:00

This commit is contained in:
Daniel Berteaud 2022-02-27 13:00:07 +01:00
parent d97344a846
commit d406dc8c77
6 changed files with 22 additions and 19 deletions

View File

@ -1,11 +1,11 @@
---
# Version to deploy
appsmith_version: 1.5.25
appsmith_version: 1.6.13
# URL of the source archive
appsmith_archive_url: https://github.com/appsmithorg/appsmith/archive/v{{ appsmith_version }}.tar.gz
# sha1sum of the archive
appsmith_archive_sha1: dceebde21c7b0a989aa7fb96bac044df4f2ddf50
# sha256sum of the archive
appsmith_archive_sha256: 404512bc7d332ccb809e6ded5dc693b4fa03426e282b7c5ed862caa10b26c781
# Root directory where appsmith will be installed
appsmith_root_dir: /opt/appsmith

View File

@ -3,6 +3,8 @@
dependencies:
- role: mkdir
- role: maven
- role: repo_nodejs
nodejs_major_version: 14
- role: repo_mongodb
- role: redis_server
when: appsmith_redis_url | urlsplit('hostname') in ['localhost','127.0.0.1']

View File

@ -44,6 +44,16 @@
when: appsmith_install_mode == 'upgrade'
tags: appsmith
- name: Install expect node version
package: name=nodejs-14.15.4
tags: appsmith
- name: Install yarn
npm:
name: yarn
global: True
tags: appsmith
- when: appsmith_install_mode != 'none'
block:
@ -51,7 +61,7 @@
get_url:
url: "{{ appsmith_archive_url }}"
dest: "{{ appsmith_root_dir }}/tmp"
checksum: sha1:{{ appsmith_archive_sha1 }}
checksum: sha256:{{ appsmith_archive_sha256 }}
- name: Extract appsmith archive
unarchive:
@ -87,19 +97,8 @@
copy: src={{ item }} dest={{ appsmith_root_dir }}/server/plugins/ remote_src=True
loop: "{{ appsmith_plugins_jar.stdout_lines }}"
- name: Install yarn
npm:
name: yarn
path: "{{ appsmith_root_dir }}/src/app/client"
- name: Install NodeJS dependencies
command: ./node_modules/yarn/bin/yarn install --ignore-engines
args:
chdir: "{{ appsmith_root_dir }}/src/app/client"
# Not sure why but yarn installs webpack 4.46.0 while appsmith wants 4.44.2
- name: Install correct webpack version
command: ./node_modules/yarn/bin/yarn add webpack@4.44.2 --ignore-engines
command: yarn install --ignore-engines
args:
chdir: "{{ appsmith_root_dir }}/src/app/client"

View File

@ -23,3 +23,4 @@ APPSMITH_SIGNUP_DISABLED={{ appsmith_user_signup | ternary('false','true') }}
APPSMITH_SIGNUP_ALLOWED_DOMAINS={{ appsmith_signup_whitelist | join(',') }}
{% endif %}
APPSMITH_ADMIN_EMAILS={{ appsmith_admin_emails | join(',') }}
APPSMITH_CLOUD_SERVICES_BASE_URL=""

View File

@ -1,11 +1,11 @@
---
# Version to install
gitea_version: 1.16.1
gitea_version: 1.16.2
# URL to the binary
gitea_bin_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64
# sha256 of the binary
gitea_bin_sha256: f03f3a3c4dccc2219351cde5c9af372715b2ec3e88a821779702bc6f38084c97
gitea_bin_sha256: ec9b01d119cfe47df44d580c1d321132ce054ff139b05b0a35da91268ca2bcbe
# Handle updates. If set to false, ansible will only install
# Gitea and then won't touch an existing installation
gitea_manage_upgrade: True

View File

@ -14,8 +14,9 @@
# We install from pip because pymongo available in repo for both EL7 and EL8 is too old
# it doesn't support CRAM-SHA-256 for example
# But pymongo 4 isn't yet working with ansible, so install latest 3.x version
- name: Install pymongo
pip: name=pymongo state=latest
pip: name=pymongo==3.12.3 state=present
tags: mongo
- name: Create data dir