carvel-dev / imgpkg

Store application configuration files in Docker/OCI registries
https://carvel.dev/imgpkg
Apache License 2.0
263 stars 62 forks source link

Change the registry used on windows tests #288

Open joaopapereira opened 3 years ago

joaopapereira commented 3 years ago

Describe the problem/challenge you have When running the tests in windows instead of relying on ttl.sh ephemeral registry we should explore other options since we have seen, lately, tests flaking because the images were removed from the registry

Describe the solution you'd like look for an equivalent image to registry:v2 or eventually create a binary that run a simple registry for us to do tests.


Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible" 👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

joaopapereira commented 3 years ago

We found a dockerfile that we can use to generate a registry that runs in windows in https://github.com/StefanScherer/dockerfiles-windows/blob/main/registry This image can be stored in our docker hub account.

We should create a script in our hack folder that would allow us to regenerate this image in an easy way.

cppforlife commented 3 years ago

@joaopapereira why dont we just go build the binary on the fly and run it directly instead of using docker for this?

joaopapereira commented 3 years ago

That is another option 😄 we just need to launch it in background and should be good

joaopapereira commented 2 years ago

This was accomplish with #332 nevertheless we are back to using ttl.sh for performance tests