Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove preserve file before calling prune_nodes #83

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

jadhaj
Copy link
Contributor

@jadhaj jadhaj commented Nov 5, 2024

below scripys:
bash ./wipe/baremetal-lab-post-wipe-commands.sh
bash ./dns/baremetal-lab-post-dns-commands.sh
bash ./firewall/baremetal-lab-post-firewall-commands.sh
bash ./load-balancer/baremetal-lab-post-load-balancer-commands.sh

contains the following code snippet:
[ -z “${PULL_NUMBER:-}” ] &&
timeout -s 9 10m ssh “${SSHOPTS[@]}” “root@${AUX_HOST}”
test -f /var/builds/${NAMESPACE}/preserve &&
exit 0
which causes them to exit 0 early, due to the existence of preserve file, hence actual pruning will not happen

The PR propose to delete preserve file once a decision is taken to prune the cluster, before calling prune_nodes

@openshift-ci openshift-ci bot requested review from aleskandro and jhou1 November 5, 2024 07:39
@ccardenosa
Copy link

/lgtm

Copy link

openshift-ci bot commented Nov 5, 2024

@ccardenosa: changing LGTM is restricted to collaborators

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link

openshift-ci bot commented Nov 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aleskandro, ccardenosa, jadhaj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Nov 7, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit f9fae8b into openshift-qe:master Nov 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants