-
-
Notifications
You must be signed in to change notification settings - Fork 120
Report git hash of each repository #401
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
What do you mean by repository? The corresponding solvers+precice versions are "fixed" in the docker-compose.tutorial.yaml. One thing i could do is to place a file there that resolves the git heads of each of the branches used. (This however would mean i have to checkout the But re-triggering this via the github CLI would probably be difficult as its assumed that Ofc, we can introduce the notion of only using commits, this would however, mean a little refactor on the dockerfile side as it will probably not work out of the box. (this would probably also solve some caching issues, e.g hitting a stale cache) |
Well... Each component.
I can pass build arguments to each component, including which version to use. It is important for me to know, when looking at arbitrary results, which state of each component was used to generate those results.
Why is something like Note that this issue is only about reporting, not about passing all kinds of git references to |
I totally agree on this. The problem is: The actual commit is only known by the docker container. We treat that as a black box right now. We will just stuff some arguments in and in the end we have a container that will happily execute the
kind of, but we also run into the issue of stale caches:
Line 3 will probably generate cache hit, because the string This however is not really behavior we want to see? One solution would be to just allow tags or commits to be used in the ref of the component. Which also would solve the problem of undocumented refs. |
Conclusion from yesterday's discussion: Restricting to commits and tags is fine. It should also make caching behavior clearer. |
Closed by #410 |
Related to #400.
The actual git commits of each repository are not reported anywhere.
While just
develop
is nice and easy when triggering the tests, it does not let me reproduce the tests. How do I know that my commit is there?Even something dirty, such as
git show | head -n 5
for each repository would be nice.The text was updated successfully, but these errors were encountered: