-
Notifications
You must be signed in to change notification settings - Fork 3
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
Trunk builds failing #1
Comments
I will investigate today and let you know |
I have some good news and some bad news.
|
Ah actually I used the correct repository: https://github.com/compiler-explorer/d8-builder So I made a fresh container from the fork that ce uses and I was able to do the build successfully. hmm.. this is strange. So the build is failing in the CI only it would seem. I did the build by starting a bash session inside the container and running the build manually. Let me try to trigger the build using the script build.sh as it would be done in the automated system. Maybe that will reproduce it. |
@mattgodbolt will it be possible to recreate that docker image? I think that will fix the problem. If it does, then I'd like to modify the build script to not do a |
@gautam1168 I'll try and work out how to recreate! thanks! |
If it works let me know and I'll open a PR to not do a git pull. If it doesn't work I will still need to reproduce this somehow. |
One way to fix both the docker-recreate issue and the git pull is to put in the docker image itself the SHA of the version to git checkout -- so...
then if we change the SHA it forces the image to rebuild too. Do you know such a checkout that would be appropriate? |
Well we don't know the SHA before we do the fetch. Right now when the trunk build happens we do the following:
And I was thinking we could change it to
This would remove the need for a |
Running now: https://github.com/compiler-explorer/compiler-workflows/actions/runs/5664634020 (but I am now afk to go to bed..) |
So it worked. Although in the logs I see there is still a pull. I am not really certain why the old container was failing but the pull is the only thing I can think of. Should I make a PR so that there won't be a Well actually I can think of one more thing. The |
I don't really understand I'll be honest: if the build ran OK why change?
right - the container step is more an "acceleration" I thought? I don't really mind either way: I'm not hugely invested in this other than having it working :) Thanks! |
I was thinking about how to prevent it from breaking again in the future.
So the container has this line:
Here the If you are comfortable with this for now we could just leave it as it is now. If it breaks again in the future I can make these changes to make it more stable. |
Thanks @gautam1168 - I apprecaiate the context. For now I don't have a strong opinion either way. Much appreciated :) |
Hi @gautam1168 - the (forked from here) CE daily build has been failing for a while with:
e..g https://github.com/compiler-explorer/compiler-workflows/actions/runs/5417971736/job/14672787198 and all around that time.
Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: