Scroll to navigation

PKGOS-TRIGGER-ODRM-HOOK(1) Debian OpenStack packaging PKGOS-TRIGGER-ODRM-HOOK(1)

NAME

pkgos-trigger-odrm-hook - trigger the osbpo.debian.net ODRM webhook to rebuild the repository

SYNOPSIS

pkgos-trigger-odrm-hook

DESCRIPTION

pkgos-trigger-odrm-hook sends a POST request to the ODRM webhook of https://osbpo.debian.net, whose URL is defined by OSBPO_DEBIAN_NET_HOOK_URL in /etc/pkgos/pkgos.conf, with the JSON payload {"debian_release":"<TARGET_DISTRO>", "openstack_release":"<TARGET_OPENSTACK_REL>"}, in order to have the Debian release / OpenStack release repository rebuilt after a package upload. The request carries an X-Hub-Signature-256 header holding an HMAC-SHA256 signature of the payload, computed with OSBPO_DEBIAN_NET_SHARED_SECRET from the same configuration file, as shared secret. Both the URL and the secret must be configured, or the script exits with an error. Note that the curl command is not echoed, so that the shared secret does not leak in the build logs.

OPTIONS

None.

FILES

/etc/pkgos/pkgos.conf
Global OpenStack packaging tools configuration file, defining OSBPO_DEBIAN_NET_HOOK_URL, OSBPO_DEBIAN_NET_SHARED_SECRET, TARGET_DISTRO and TARGET_OPENSTACK_REL .

EXAMPLES

SEE ALSO

curl(1), openssl(1).

AUTHOR

This script and its man page: (c) 2026, Thomas Goirand <zigo@debian.org>, released under the Apache-2.0 license.

23 September 2026 openstack-pkg-tools