]> git.ipfire.org Git - thirdparty/bind9.git/commit
Prevent unscheduled release publication
authorMichał Kępień <michal@isc.org>
Wed, 25 Mar 2026 17:09:02 +0000 (18:09 +0100)
committerMichał Kępień (GitLab job 7091315) <michal@isc.org>
Wed, 25 Mar 2026 17:13:48 +0000 (17:13 +0000)
commit9eea72e0d0537aebc41f673b31cad0777a2c6d2b
tree8b19e4b3e5edbd7390beca6931632ef25811e076
parent0f86eafac76ab57ecde60578caec6559c75654c6
Prevent unscheduled release publication

The "publish" job has no dependencies on other jobs, so nothing prevents
it from being accidentally started before the scheduled publication
date.  Although publication still requires confirmation via an SSH
connection to a dedicated, locked-down runner, performing that action
prematurely may have drastic consequences.  Therefore, it is worth
implementing additional safeguards.

Add an extra check to the "publish" job to ensure it can only be run on
the scheduled publication day.  In exceptional circumstances, this check
can be overridden by setting the FORCE_PUBLICATION CI variable to any
non-empty value.

(cherry picked from commit ce977f53b923072759a09f389d75de103e70c7e5)
.gitlab-ci.yml