-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix z3 install and CN tests for Dockerfiles #712
base: master
Are you sure you want to change the base?
Conversation
@dc-mak this fixes the error in https://github.com/rems-project/cerberus/actions/runs/11784243588/job/32823035384 |
Hmm, to minimise this in the future, can you please also adjust the docker.yml to run on any PR that edits the docker.yml or any Dockerfiles? https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request |
…e. This should be OK as we don't expect the dockerfiles to be changing very often and from multiple branches
@dc-mak I tried - but as you can see, the on-change triggers do not seem to work very well (or at all). This matches my previous experience, so if you have an idea how to fix this go ahead, otherwise I would just merge as is, as moving forward we shouldn't need to change the Dockerfiles much |
It seems to have triggered the workflow but I did it when the actual scheduled job is also running, so it is waiting behind that to finish... https://github.com/rems-project/cerberus/actions/runs/11803628827 |
It's not allowed anyway (as desired) but it fails the CI spuriously.
@dc-mak I would also recommend that the Adding:
Indeed, this will only work on |
Fair point, feel free to add and push |
https://docs.docker.com/build/ci/github-actions/share-image-jobs https://docs.docker.com/reference/cli/docker/buildx/build/#output There also seem to be some caching options of some sort. |
The nighly docker build hid an error in docker invocation. I fixed the invocation of
run-cn.sh
and properly installed z3 via opam in both docker images.