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

fix: Make the logic around last_count working #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jhutar
Copy link
Collaborator

@jhutar jhutar commented Oct 11, 2024

Did 2 changes here:

First is the important one where I removed && [[ $last_count -ge 0 ]] as that was blocking changing last_count, because it was initialized to -1. Now it should work as expected.

Second I made sure warning is printed if we fail to obtain current count value.

Copy link

openshift-ci bot commented Oct 11, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhutar

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

@jhutar
Copy link
Collaborator Author

jhutar commented Oct 11, 2024

/test mvp

@jhutar
Copy link
Collaborator Author

jhutar commented Oct 11, 2024

/test mvp

1 similar comment
@jhutar
Copy link
Collaborator Author

jhutar commented Oct 14, 2024

/test mvp

Copy link

openshift-ci bot commented Oct 14, 2024

@jhutar: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/mvp c169b16 link true /test mvp

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

ci-scripts/rhdh-setup/create_resource.sh Outdated Show resolved Hide resolved
ci-scripts/rhdh-setup/create_resource.sh Outdated Show resolved Hide resolved
Did 2 changes here:

First is the important one where I removed `&& [[ $last_count -ge 0 ]]`
as that was blocking changing last_count, because it was initialized to
-1. Now it should work as expected.

Second I made sure warning is printed if we fail to obtain current count
value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants