Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Gitlab-stop-fix - #2654

Merged
drazenCE merged 5 commits into
2.xfrom
Gitlab-stop-fix-PR-2.x
Sep 2, 2025
Merged

Gitlab-stop-fix#2654
drazenCE merged 5 commits into
2.xfrom
Gitlab-stop-fix-PR-2.x

Conversation

@drazenCE

@drazenCE drazenCE commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread roles/debian/gitlab/tasks/main.yml Outdated
ansible.builtin.command:
cmd: /opt/gitlab/bin/gitlab-ctl stop sidekiq
register: sidekiq_stop
ignore_errors: true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to failed_when: false. Otherwise all good.

Comment thread roles/debian/gitlab/tasks/main.yml Outdated
- name: Stop Sidekiq specifically first
ansible.builtin.command:
cmd: /opt/gitlab/bin/gitlab-ctl stop sidekiq
register: sidekiq_stop

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, private vars it would be good if they begin with an underscore and the role name, e.g. _gitlab_sidekiq_stop would be a good variable name to use here.

@gregharvey gregharvey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments above.

@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2025

Copy link
Copy Markdown

@drazenCE
drazenCE merged commit 5071736 into 2.x Sep 2, 2025
5 checks passed
@drazenCE
drazenCE deleted the Gitlab-stop-fix-PR-2.x branch September 2, 2025 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants