Skip to content

Commit

Permalink
Merge pull request #18423 from cevich/v3.0.1-rhel_ci_support_self-des…
Browse files Browse the repository at this point in the history
…truct

[v3.0.1-rhel] Cirrus: Add CI self-destruct condition on EOL date
  • Loading branch information
openshift-merge-robot authored May 3, 2023
2 parents c54e5d9 + b048b6e commit b501c22
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions contrib/cirrus/setup_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ die_unknown() {
die "Unknown/unsupported \$$var_name '$var_value'"
}

_EOL=20250501
if [[ $(date +%Y%m%d) -ge $_EOL ]]; then
die "As of $_EOL this branch is probably
no longer supported in RHEL 8.4.0, 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

msg "************************************************************"
msg "Setting up runtime environment"
msg "************************************************************"
Expand Down

0 comments on commit b501c22

Please sign in to comment.