Skip to content
Snippets Groups Projects
Verified Commit a0d2d0d4 authored by Falk Rehse's avatar Falk Rehse
Browse files

Automatically apply database migrations

parent 71646884
No related branches found
No related tags found
1 merge request!5Automatically apply database migrations
Pipeline #254813 passed
......@@ -178,6 +178,12 @@
daemon-reload: true
when: gitlab_enable_offline_registry_cleanup
- name: Apply registry database migrations
ansible.builtin.shell: set -o pipefail && yes | gitlab-ctl registry-database migrate up
register: migration_result
changed_when: '"OK: applied 0 migrations" not in migration_result.stdout'
when: gitlab_enable_metadata_registry_database
- name: Install PlantUML
ansible.builtin.import_tasks: plantuml.yml
when: gitlab_enable_plantuml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment