From eb0ceeb24438ec36bde543bf31ebeeeaacaf4c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org> Date: Wed, 14 Aug 2024 16:40:32 -0400 Subject: [PATCH] make it a one-liner --- howto/gitlab.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/howto/gitlab.md b/howto/gitlab.md index 30169971..bbf3ce2e 100644 --- a/howto/gitlab.md +++ b/howto/gitlab.md @@ -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) -- GitLab