doc/development/chatops_on_gitlabcom.md
ChatOps on GitLab.com allows GitLab team members to run various automation tasks on GitLab.com using Slack.
GitLab team-members may need access to ChatOps on GitLab.com for administration tasks such as:
EXPLAIN queries against the GitLab.com production replica./chatops gitlab run auto_deploy status [commit_sha]To request access to ChatOps on GitLab.com:
Sign in to Internal GitLab for Operations with Okta.
Confirm that your username in Internal GitLab for Operations is the same as your username in GitLab.com. If the usernames don't match, update the username in User Settings/Account for the Ops instance. Matching usernames are required to reduce the administrative effort of running multiple platforms. Matching usernames also help with tasks like managing access requests and offboarding.
Reach out to your onboarding buddy or manager and request they add you to the ops ChatOps project by running the following command in the #chat-ops-test Slack channel, replacing <username> with your GitLab.com username (if they don't have access, you can ask in the #infrastructure-lounge Slack channel ):
/chatops gitlab run member add <username> gitlab-com/chatops --ops
Hi, could you please add me to the ChatOps project in Ops by running this command:
`/chatops gitlab run member add <username> gitlab-com/chatops --ops` in the
`#chat-ops-test` Slack channel? Thanks in advance.
Ensure you've set up two-factor authentication.
After you're added to the ChatOps project, run this command to check your user
status and ensure you can execute commands in the #chat-ops-test Slack channel:
/chatops gitlab run user find <username>
The bot guides you through the process of allowing your user to execute
commands in the #chat-ops-test Slack channel.
If you had to change your username for GitLab.com on the first step, make sure to reflect this information on the team page.