Closed DriesSchaumont closed 3 months ago
I've been having this issue for a while without really understanding why.
Thanks finding out what the root cause is!
As a workaround, I've been running docker system prune -a
whenever I had this issue.
@Grifs would you be willing to look into where the project config info isn't being passed to the right place?
Fixed in Viash 0.9.0-RC8
What happened?
When setting
organization: my_org
in the package config and running tests, the organization is not added to the docker image name.Steps to reproduce
The second time the test is executed, this bug goed unnoticed! (because the container exists)
Expected behavior
Notice that the first part of the logs says:
This is already odd, I think this should be
--setup build
(but it might be expected behavior) However, a bit later in the logs:So the
test_executable
script is looking at the wrong container name because the organization is missing. This is a problem when running the tests for a second time: the build step is executed for the wrong image ID and thetest_executable
uses the image from a previous test of the component.Relevant log output
No response
Version
Possible solution
No response
Confirmation
Additional context
No response