... | ... | @@ -372,8 +372,8 @@ Note that if you have a valid personal access token, you can manage |
|
|
the hooks with the `gitlab-hooks.py` script in `gitlab-tools`
|
|
|
script. For example, this created a webhook for the `tor-nagios` project:
|
|
|
|
|
|
export HTTP_KGB_TOKEN=[REDACTED]
|
|
|
./gitlab-hooks.py -p tpo/tpa/tor-nagios create --no-releases-events --merge-requests-events --issues-events --push-events --url https://kgb-bot.torproject.org/webhook/?channel=tor-admin
|
|
|
export HTTP_KGB_TOKEN=$(ssh root@puppet.torproject.org trocla get profile::kgb_bot::gitlab_token plain)
|
|
|
./gitlab-hooks.py -p tpo/tpa/debian/deb.torproject.org-keyring create --no-releases-events --merge-requests-events --issues-events --push-events --url https://kgb-bot.torproject.org/webhook/?channel=tor-admin
|
|
|
|
|
|
## Setting up two-factor authentication (2FA)
|
|
|
|
... | ... | |