CI: Skip install_solidus check on non-current version#5477
CI: Skip install_solidus check on non-current version#5477tvdeyen merged 1 commit intosolidusio:mainfrom
Conversation
7780358 to
d6d9f89
Compare
|
Oh boy. Circle CI syntax is the most confusing ever. Maybe someone with a deeper knowledge can fix this? /c @elia |
d6d9f89 to
48ec0b9
Compare
Codecov Report
@@ Coverage Diff @@
## main #5477 +/- ##
=======================================
Coverage 88.93% 88.93%
=======================================
Files 622 622
Lines 14909 14909
=======================================
Hits 13259 13259
Misses 1650 1650 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
48ec0b9 to
2c0da77
Compare
|
Ok, I figured it out, but we need to enable triggers in order to determine if the event send from github is a pull request event so we can trigger the solidus installer build for pull request to the |
The installer always uses the current released minor version (4.2 time writing this), but the check runs on all pipeline runs, wasting CI time and precious resources. Also it fails anyway, because of conflicting dependencies. So, we only run the check on main and latest minor now.
2c0da77 to
8d653a5
Compare
|
I now configured it such that it only runs on main and v4.2 branches, but this does not include pull requests to these branches. Boy, I would like us to use github actions instead of circle ci... |
kennyadsl
left a comment
There was a problem hiding this comment.
It makes sense, this assumes that no one will install Solidus starting from older versions, and I think it's a safe assumptions.
💔 Some backports could not be created
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
💔 Some backports could not be created
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
💔 Some backports could not be created
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
💔 Some backports could not be created
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
Summary
The installer always uses the current released minor version (4.2 time writing this), but the check runs on all pipeline runs, wasting CI time and precious resources. Also it fails anyway, because of conflicting dependencies.
So, we only run the check on main and latest minor now.
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
The following are not always needed: