Skip to content
Snippets Groups Projects
Verified Commit eb0ceeb2 authored by anarcat's avatar anarcat
Browse files

make it a one-liner

parent 7e570376
No related branches found
No related tags found
No related merge requests found
...@@ -372,8 +372,8 @@ Note that if you have a valid personal access token, you can manage ...@@ -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` the hooks with the `gitlab-hooks.py` script in `gitlab-tools`
script. For example, this created a webhook for the `tor-nagios` project: script. For example, this created a webhook for the `tor-nagios` project:
export HTTP_KGB_TOKEN=[REDACTED] export HTTP_KGB_TOKEN=$(ssh root@puppet.torproject.org trocla get profile::kgb_bot::gitlab_token plain)
./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 ./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) ## Setting up two-factor authentication (2FA)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment