Disable image checking for testing #9284
-
|
I'm running concourse worker inside NixOS. The worker process can find resource types and start the This happens inside a unit test, so the containers don't have access to the internet. Is there a way to disable checking for images just for testing purposes? If that is not possible, how can I specify a docker registry to use instead of docker hub? I tried to set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
In this case it has to check or fetch the image because the image given in the example pipeline is from docker hub. I ended up setting up a local registry and uploaded an example image built from scratch. The key is that the registry has to be visible from the worker: image_resource:
type: registry-image
source:
repository: server:4321/tag
tag: latest |
Beta Was this translation helpful? Give feedback.
In this case it has to check or fetch the image because the image given in the example pipeline is from docker hub.
I ended up setting up a local registry and uploaded an example image built from scratch. The key is that the registry has to be visible from the worker: