mirror of
https://github.com/containers/podman.git
synced 2025-07-04 01:48:28 +08:00
Cirrus: Add CI self-destruct condition on EOL date
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
@ -19,6 +19,18 @@ die_unknown() {
|
||||
die "Unknown/unsupported \$$var_name '$var_value'"
|
||||
}
|
||||
|
||||
_EOL=20231001
|
||||
if [[ $(date +%Y%m%d) -ge $_EOL ]]; then
|
||||
die "As of $_EOL this branch is probably
|
||||
no longer supported in RHEL 8.4.0.2, please
|
||||
confirm this with RHEL PM. If so:
|
||||
|
||||
It should be removed from Cirrus-Cron,
|
||||
the .cirrus.yml file removed, and
|
||||
the VM images (manually) unmarked
|
||||
'permanent=true'"
|
||||
fi
|
||||
|
||||
msg "************************************************************"
|
||||
msg "Setting up runtime environment"
|
||||
msg "************************************************************"
|
||||
|
Reference in New Issue
Block a user