File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
ce-dev/ansible/vars/gitlab
roles/debian/gitlab/tasks Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ ce_deploy:
3
3
own_repository_branch : 1.x
4
4
username : deploy
5
5
local_dir : /home/deploy/ce-deploy
6
- ce_provision_dir : /home/ce-dev /ce-provision
6
+ ce_provision_dir : /home/controller /ce-provision
Original file line number Diff line number Diff line change 93
93
mode : " 0666"
94
94
when : is_local
95
95
96
+ - name : Stop Sidekiq specifically first
97
+ ansible.builtin.command :
98
+ cmd : /opt/gitlab/bin/gitlab-ctl stop sidekiq
99
+ register : _sidekiq_stop
100
+ failed_when : false
101
+ async : 180
102
+ poll : 5
103
+
104
+ - name : Force stop Sidekiq if it's stuck.
105
+ ansible.builtin.command :
106
+ cmd : /opt/gitlab/bin/gitlab-ctl kill sidekiq
107
+ when : _sidekiq_stop is failed
108
+
96
109
- name : Stop Gitlab.
97
110
ansible.builtin.command : /opt/gitlab/bin/gitlab-ctl stop
98
111
when : gitlab.force_stop
You can’t perform that action at this time.
0 commit comments