Publish Docker image + Example CI WF + Upload to dockerhub#516
Publish Docker image + Example CI WF + Upload to dockerhub#516F-WRunTime merged 89 commits intomasterfrom
Conversation
The previous code was creating a new proof object from the spec file (first claim). Instead, the proof needs to be loaded from a file in the proof directory. Note that `APRProver.read_proof` and `APRProver/read_proof_data` have different expectations to how the proof is stored. The latter method has to be used.
Creating README.
Adding section for unsafe arithmetics
Jost corrected an error with `isize` and `usize`. And I changed some of the copy in the README. Also updates the branch to current master --------- Co-authored-by: Jost Berthold <jost.berthold@gmail.com> Co-authored-by: devops <devops@runtimeverification.com> Co-authored-by: rv-jenkins <admin@runtimeverification.com>
Co-authored-by: Daniel Cumming <124537596+dkcumming@users.noreply.github.com> Co-authored-by: devops <devops@runtimeverification.com> Co-authored-by: Jost Berthold <jost.berthold@gmail.com>
Reverts #512 --------- Co-authored-by: devops <devops@runtimeverification.com>
Co-authored-by: Daniel Cumming <124537596+dkcumming@users.noreply.github.com> Co-authored-by: devops <devops@runtimeverification.com> Co-authored-by: Jost Berthold <jost.berthold@gmail.com>
… bugs and challenge to fully isolate built dependencies into the src contained for packaging and installation deployiment. Current problem: - Post installation of whl .cache/kdist-<hash> file is not available and hardcoded to look in ~/.cache/kdist-<hash> - This needs a generalized location or be installed to site-package swith the rest of the library files for python packaging to work as intended. - Unresolved understanding of where stable-mir-json artifacts need to be stored / referenced for kmir prove - Published a single docker image from manual built image to produce an alias poetry-kmir usable image within CI, but is not ideal for scripting / simple usage and inspection by developer.
- Updating image tag to drop k_release from tag modified: .github/workflows/test.yml - Droping k_release from tag.
- Modify the WF to drop mdofying internal container user, rely on internal user and user id set by container manager. - docker cp copies file to the container with the internal user target uid to match internal container env, don't overwork this. - Maintain exec commands to use -l to consume internal user env modified: Dockerfile.kmir
…s move it up incase anyone using our contaienr is the first user on their own system
…uid to define our container ids try not loading bash profile
|
@jberthold Sorry for delay, I needed to step away this was stumping me. |
No problem at all. I was just going to try this one thing on a whim... but you got it building green already! 🎉 |
I think maybe we merge this PR and I make another one with my changes to the Dockerfile, so we get this to master sooner. |
jberthold
left a comment
There was a problem hiding this comment.
Let's merge this PR and iterate.
I would still like to modify the test so it will use fixuid but anyway there are more changes to the Dockerfile waiting, I'll do it on the next PR
… bugs and challenge to fully isolate built dependencies into the src contained for packaging and installation deployiment.
Current problem:
Objectives:
- [ ] Create a simple to use whl installation for developers / consumers of kmir- [ ] Slim the docker image as an easy CI callable for kmir in CIMVP
CI Run executing single test using published docker image to dockerhub