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

Do not run 'odo-infra-stage-test' Workflow on PRs if not needed #6823

Conversation

rm3l
Copy link
Member

@rm3l rm3l commented May 16, 2023

What type of PR is this:
/kind bug
/area infra
/area testing

What does this PR do / why we need it:
Currently, the odo-infra-stage-test job runs on all PRs (and ends up failing), even if the PR has not changed anything in scripts/ansible:

image

The job ends up failing and we manually have to override it.

This PR makes sure not to run it if not needed.

There is one additional point related to this job (see #6813 (comment)), but that can be addressed later.

Which issue(s) this PR fixes:
Related to #6813

This way, we won't need to manually override this job on all PRs.

PR acceptance criteria:

  • Unit test

  • Integration test

  • Documentation

How to test changes / Special notes to the reviewer:

@openshift-ci openshift-ci bot added kind/bug Categorizes issue or PR as related to a bug. area/infra Issues or PRs related to setting up or fixing things in infrastructure. Mostly CI infrastructure. area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering labels May 16, 2023
@openshift-ci openshift-ci bot requested review from feloy and valaparthvi May 16, 2023 15:02
@netlify
Copy link

netlify bot commented May 16, 2023

Deploy Preview for odo-docusaurus-preview canceled.

Name Link
🔨 Latest commit 44daecc
🔍 Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/64639afb8460ce00085af4b5

@rm3l rm3l mentioned this pull request May 16, 2023
@odo-robot
Copy link

odo-robot bot commented May 16, 2023

NoCluster Tests on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented May 16, 2023

OpenShift Unauthenticated Tests on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented May 16, 2023

Unit Tests on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented May 16, 2023

Validate Tests on commit finished successfully.
View logs: TXT HTML

@sonarcloud
Copy link

sonarcloud bot commented May 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@odo-robot
Copy link

odo-robot bot commented May 16, 2023

Kubernetes Tests on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented May 16, 2023

Windows Tests (OCP) on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented May 16, 2023

OpenShift Tests on commit finished successfully.
View logs: TXT HTML

@odo-robot
Copy link

odo-robot bot commented May 16, 2023

Kubernetes Docs Tests on commit cd11d3c finished successfully.
View logs: TXT HTML

@rm3l rm3l requested a review from anandrkskd May 17, 2023 07:45
Copy link
Contributor

@feloy feloy left a comment

Choose a reason for hiding this comment

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

Great, thanks

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label May 19, 2023
@feloy
Copy link
Contributor

feloy commented May 19, 2023

/override ODO-PODMAN-TEST

@openshift-ci
Copy link

openshift-ci bot commented May 19, 2023

@feloy: Overrode contexts on behalf of feloy: ODO-PODMAN-TEST

In response to this:

/override ODO-PODMAN-TEST

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/test-infra repository.

@openshift-merge-robot openshift-merge-robot merged commit d558780 into redhat-developer:main May 19, 2023
3 of 4 checks passed
@rm3l rm3l deleted the 6813-infra-ansible-scripts-do-not-run-workflow-unnecessarily-on-prs branch May 19, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infra Issues or PRs related to setting up or fixing things in infrastructure. Mostly CI infrastructure. area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants