With the latest master we’ll use dockerhub busybox:stable
as the default init image so it won’t be fetched any time a task is started if it’s already available on the local k8s/docker node. We don’t need an always up to date busybox image and every image (besides bugs) should work.
To further improve this you can also define a custom image (and optional registry auth) in the agola config.yml executor part (Configuration | Agola) so you can pull the init image (must be a busybox image) from a different registry than dockerhub and avoid pull limits. In future we could move the default init image to a different registry that doesn’t have such pull limits (github container registry?).
executor:
[...]
# initial image used by the task setup phase. By default it'll be
# busybox:stable (on dockerhub), to avoid possible pull errors due to
# dockerhub limits you can define your own custom init image (it must be a
# busybox like image) and optional registry authentication.
initImage:
image: "busybox:stable"
#auth:
# auth type: basic or encodedauth
#type: "basic"
#
# basic auth
#username: "username"
#password: "password"
#
# encoded auth string
#auth: "..."
Images with latest (or empty) tag will always be fetched. In future we could also add an option to always force fetching (like k8s pull image policy).