Skip to content

Commit 7e8d496

Browse files
Normotobiashuste
andauthored
Update roles/gitlab/handlers/main.yml
Co-authored-by: Tobias Huste <[email protected]>
1 parent f20de91 commit 7e8d496

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

roles/gitlab/handlers/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@
2222

2323
- name: "Run registry metadata database migrations"
2424
become: true
25-
ansible.builtin.command: "gitlab-ctl registry-database migrate up"
25+
ansible.builtin.command: "gitlab-ctl registry-database migrate up --skip-post-deployment"
2626
changed_when: true
27-
environment:
28-
SKIP_POST_DEPLOYMENT_MIGRATIONS: true
2927
when:
3028
- "__gitlab_registry_database_used"
3129
- "gitlab_is_primary"

0 commit comments

Comments
 (0)