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

Automatically apply database migrations

parent 71646884
No related branches found
No related tags found
No related merge requests found
Pipeline #253225 failed
...@@ -178,6 +178,12 @@ ...@@ -178,6 +178,12 @@
daemon-reload: true daemon-reload: true
when: gitlab_enable_offline_registry_cleanup when: gitlab_enable_offline_registry_cleanup
- name: Apply registry database migrations
ansible.builtin.shell: 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 - name: Install PlantUML
ansible.builtin.import_tasks: plantuml.yml ansible.builtin.import_tasks: plantuml.yml
when: gitlab_enable_plantuml when: gitlab_enable_plantuml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment