web-app-openproject: upgrade to OpenProject 15

- bumped image version from 14 to 15
- removed dedicated migration task (now handled by upstream entrypoints)
- renamed tasks for cleaner numbering:
  * 02_settings.yml → 01_settings.yml
  * 03_ldap.yml → 02_ldap.yml
  * 04_admin.yml → 03_admin.yml

Ref: https://chatgpt.com/share/68d57770-2430-800f-ae53-e7eda6993a8d
This commit is contained in:
2025-09-25 19:39:45 +02:00
parent f55b0ca797
commit a26538d1b3
6 changed files with 4 additions and 23 deletions

View File

@@ -1,16 +0,0 @@
- name: Run DB migrations (OpenProject)
shell: >
docker compose run --rm {{ OPENPROJECT_SEEDER_SERVICE }} bash -lc
"cd /app && RAILS_ENV={{ ENVIRONMENT | lower }} bin/rails db:migrate"
args:
chdir: "{{ docker_compose.directories.instance }}"
register: openproject_migrate
changed_when: openproject_migrate.rc == 0
failed_when: openproject_migrate.rc != 0
- name: Clear schema cache
shell: >
docker compose run --rm {{ OPENPROJECT_SEEDER_SERVICE }} bash -lc
"cd /app && RAILS_ENV={{ ENVIRONMENT | lower }} bin/rails db:schema:cache:clear"
args:
chdir: "{{ docker_compose.directories.instance }}"

View File

@@ -26,15 +26,12 @@
- name: flush docker service
meta: flush_handlers
- name: Execute Migrations
include_tasks: 01_migration.yml
- name: Deploy Settings
include_tasks: 02_settings.yml
include_tasks: 01_settings.yml
- name: Setup LDAP
include_tasks: 03_ldap.yml
include_tasks: 02_ldap.yml
when: OPENPROJECT_LDAP_ENABLED | bool
- name: Create OpenProject Administrator
include_tasks: 04_admin.yml
include_tasks: 03_admin.yml