-
Notifications
You must be signed in to change notification settings - Fork 16
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
Disable trigger of cos_integration in PR #345
Conversation
The cos_integration workflow should be triggered only by dispatch or, when the workflow was changed and not for all PR. fixes: canonical#344 Signed-off-by: Robert Gildein <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From #344 :
The cos_integration.yaml is triggered during PR, however the integration test are not building charm locally.
Why not build the charm locally then so we can run the cos_integration tests on PRs? I don't understand the rationale for dropping the tests - it's important to run all CI tests on PRs to catch issues before they are merged.
Also, why does this not work currently when run on PRs, but does work on manual dispatch or weekly tests?
I think that this tests was designed to run only weekly, @jneo8 ? I'm ok to use builded charm for testing this with latest/stable channel. However, running it with latest/edge in PR is not good aproach, since it can easialy failed and halt the PR, so that's why I think tunning on latest/edge should by only done by weekly test.
I think that there is some issue with new release of cos in latested/edge, which is blocking my other PR. |
This integration test isn't testing the code in a pending PR, so it doesn't add value as a gate to merging. @rgildein is creating a separate issue to track adapting the test code to make it more appropriate for testing PRs |
overriding to land this PR and unblock others - we can rediscuss this change internally though!
Ah right, so it's only testing hardware-observer-operator from the charm store? That makes more sense for why it's a weekly test then. |
Note: The purpose of this test is to make sure the newest cos integration can work with hardware observer. Weekly is fine but the purpose is to remind someone to check with cos team to make sure we are on the path. |
Yes, that purpose makes sense to me. What do you say about running it with PR and BTW, Test are failing for almost a week, we need to investigate why. |
Could we add this purpose, and the fact that it tests hardware observer from the charm store (not from the repo), as a comment at least in the cos_integration.yaml file please? Otherwise we're bound to have this misunderstanding again. |
There is an issue #349 for running these test in every PR, so for now comment is not needed. But I agree that's confusing. |
The cos_integration workflow should be triggered only by dispatch or, when the workflow was changed and not for all PR.
fixes: #344