Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ce-dev/ansible/vars/gitlab/ce_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ce_deploy:
own_repository_branch: 1.x
username: deploy
local_dir: /home/deploy/ce-deploy
ce_provision_dir: /home/ce-dev/ce-provision
ce_provision_dir: /home/controller/ce-provision
13 changes: 13 additions & 0 deletions roles/debian/gitlab/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@
mode: "0666"
when: is_local

- name: Stop Sidekiq specifically first
ansible.builtin.command:
cmd: /opt/gitlab/bin/gitlab-ctl stop sidekiq
register: _sidekiq_stop
failed_when: false
async: 180
poll: 5

- name: Force stop Sidekiq if it's stuck.
ansible.builtin.command:
cmd: /opt/gitlab/bin/gitlab-ctl kill sidekiq
when: _sidekiq_stop is failed

- name: Stop Gitlab.
ansible.builtin.command: /opt/gitlab/bin/gitlab-ctl stop
when: gitlab.force_stop
Expand Down
Loading