-
Notifications
You must be signed in to change notification settings - Fork 174
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
Unable to merge PRs from remote branches because CI stalls #1010
Comments
I looked into it and it seems to be a issue with circleci. For all users of there own circleci account this dosn't mean that they need to stop using it, but for a pull request they only need to sync with upstream (what we already enforce) |
I circumvent the problem by pushing the branches I want to merge directly to navit-gps instead of my metalstrolch fork. But most contributers can not. This is quite annoying at the moment. Btw, it would save navit-gps's CI account processing time if the contributers could use their fork's CI account to check. Thank's for caring. |
@jkoan while I have no experience with Github Actions, I have recently implemented a few projects with Gitlab CI—might be worth revisiting a migration there ;-) Some things would need to be looked at (such as deployment to Google Play or requiring a successful check for a merge requests). What I have successfully implemented there is custom CI images, based upon a generic one and extended with our build dependencies—somewhat speeds up builds and saves us CI time (the limit on Gitlab is 2000 minutes/month for a free plan). |
Github actions still in the works. Current Progress: |
If the results being zipped is the only problem then I'd not say this is a big deal. Currently getting the artefacts out of ci is a sophisticated task anyway as it requires you to have a real CI account. Having to unzip them: Never mind. |
That would not even be a Problem anymore since its free for public repos |
Re Github Actions, I have just looked into them more deeply and they seem quite constrained. The folks over at Unison are considering moving to a different platform, mainly because of these limitations. Most importantly, there doesn’t seem to be a way to run your build on any Docker image of your choice, but only a few available images. @jkoan you started a mirror repository on GitLab back when Microsoft acquired Github. I might have suggested this in the past, but maybe it’s worth reconsidering for CI? GitLab even has instructions on how to migrate from CircleCI to GitLab CI. All in all, the structure is not too different, and we don’t seem to be making heavy use of the CI’s features (most is done in the form of shell commands) – which helps with portability. |
Regarding the "constrained" nature of GitHub actions I need to disagree. But this could also be a thing of evolution. Regarding moving to gitlab: I don't want to introduce yet another shift. Even when it's owned by Microsoft now unless we need to pay or there are other important reasons I would like to keep the status quo. Despite having said that I definitely want to keep everything as portable as possible. I want to even make it more portable than now. By using container images and the bare minimum of scripts together with the power of the build system itself (cmake/gradle) I think we are already really portable and future proof in ci regards. |
When creating a branch on a non navit-gps repository, all CI-steps seem to pass and the branch will be shown "green" ci-wise.
When creating a pull request, the additional steps like codefactor are run as well and indicate green.
But the completion of "build_all" is never indicated. It stalls (with yellow circle) waiting for some event that doesn't seem to come. Note: it doesn't indicate failure in that state.
Currently #1007 is affected from that.
Can somebody with acces to CI configuration check what build_all is waiting for on pull request? There must be a difference to only branch, as the usual building of CI passes.
We had this situation already when we refactored the CI steps, but the config wasn't updated. Maybe it has something to do with requiring a signed apk, which cannot be built outside of navit-gps due to missing keys.
The text was updated successfully, but these errors were encountered: