[full-ci] chore: [OCISDEV-790] add ci-full flag#13728
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
2e85e63 to
c2a9145
Compare
LukasHirt
left a comment
There was a problem hiding this comment.
In drone, we were using filterTestSuitesToRun.js to find what tests should run. If you find the current approach works better I am fine with not using that but I would:
- check whether the result is the same
- if it won't be used anymore, delete it
Also, if we go with this approach, the GH action needs to be whitelisted.
c2a9145 to
7aa763f
Compare
LukasHirt
left a comment
There was a problem hiding this comment.
Seems like there is still some action needing to be whitelisted.
I'm waiting for your approval here first before asking Thomas to white list it. |
It would be best to first see the CI running here to see whether it works as expected. I would approve the code as it is now but waiting for the successful run is necessary. |
53ce230 to
728e7af
Compare
728e7af to
8cb6669
Compare
642827f to
7cac4e5
Compare
|
@PrajwolAmatya Could you please confirm the changes in this commit? Some of the latest changes we have in this commit "9bd7e30" broke the ci cause the |
7cac4e5 to
fac5d88
Compare
|



Description
Introduces a
check-flagsjob to the GitHub Actions test workflow that gates downstream jobs based on changed file paths and an opt-infull-ciflag in the PR title.Changes:
check-flagsjob runs before all other jobs and produces three outputs:full-ci:truewhen the PR title containsfull-ci(case-insensitive)ci-relevant:truewhen files relevant to CI (packages, tests, config files, etc.) were changedaffected-suites: the subset of test suites affected by the changed files, determined via filterTestSuitesToRun.jsbuildjob is now skipped on PRs when no CI-relevant files changed andfull-ciis not sete2e-playwrightjob skips individual test suites when they are not in the affected suites listapp-provider,ocm) are markedrequires_full_ci: trueand only run whenfull-ciis explicitly requestedcheck-tests-passednow also depends onbuildRelated Issue
Motivation and Context
CI runs on every PR are time-consuming and resource-intensive. Previously all jobs ran regardless of which files were changed. This change makes jobs conditional on the actual changes in the PR, while providing a
full-ciopt-in in the PR title for cases where complete coverage is required.How Has This Been Tested?
buildande2e-playwrightjobs are skippedfull-ci→ all jobs and suites run unconditionallyScreenshots (if appropriate):
N/A