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

Fixing rbac tests execution #1248

Closed

Conversation

gustavolira
Copy link
Contributor

Description

Update openshift-ci-tests.sh to echo RESULT

Changed the behavior in openshift-ci-tests.sh to echo the result instead of exiting the script using the RESULT variable. This modification allows further actions or analysis after the droute_send function call.

Which issue(s) does this PR fix

RBAC tests execution

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer


droute_send $release_name $project

exit ${RESULT}
echo ${RESULT}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should return and exit as per the result else it will not mark job as failed because of set -e while running tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@subhashkhileri ok it's just for test purpose, let's see if rbac tests will be executed

Update openshift-ci-tests.sh to echo RESULT

Changed the behavior in openshift-ci-tests.sh to echo the result instead of exiting the script using the RESULT variable. This modification allows further actions or analysis after the droute_send function call.

Signed-off-by: Gustavo Lira <[email protected]>
Copy link

openshift-ci bot commented May 9, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from subhashkhileri. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

Copy link

sonarcloud bot commented May 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.1% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

github-actions bot commented May 9, 2024

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1248!

@openshift-merge-robot
Copy link

PR needs rebase.

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.

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.

3 participants