Merge pull request #1988 from cevich/release-1.6_add_self_destruct

[release-1.6] Cirrus: Add CI self-destruct condition on EOL date
This commit is contained in:
Miloslav Trmač 2023-05-04 20:03:38 +02:00 committed by GitHub
commit ec2beb9181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,17 @@
set -e set -e
_EOL=20270501
if [[ $(date +%Y%m%d) -ge $_EOL ]]; then
die "As of $_EOL this branch is probably
no longer supported in RHEL 9.0/8.8, please
confirm this with RHEL Program Management. If so:
It should be removed from Cirrus-Cron,
the .cirrus.yml file removed, and
the VM images (manually) unmarked
'permanent=true'"
fi
# BEGIN Global export of all variables # BEGIN Global export of all variables
set -a set -a