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

Fix pipefail

parent 5dd82c1a
No related branches found
No related tags found
1 merge request!6Pipefail
Pipeline #270635 failed
......@@ -176,10 +176,12 @@
daemon-reload: true
when: gitlab_enable_offline_registry_cleanup
# noqa risky-shell-pipe
- name: Apply registry database migrations
ansible.builtin.shell: set -o pipefail && yes | gitlab-ctl registry-database migrate up
ansible.builtin.shell: yes | gitlab-ctl registry-database migrate up
register: migration_result
changed_when: '"OK: applied 0 migrations" not in migration_result.stdout'
failed_when: '"OK: applied" not in migration_result.stdout'
when: gitlab_enable_metadata_registry_database
- name: Install PlantUML
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment