Merge pull request #270 from sgotti/executor_use_busybox_stable_as_default_init_image

executor: use busybox:stable as default init image
This commit is contained in:
Simone Gotti 2021-05-25 22:47:16 +02:00 committed by GitHub
commit 42a07856cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -235,7 +235,7 @@ var defaultConfig = Config{
},
Executor: Executor{
InitImage: InitImage{
Image: "busybox",
Image: "busybox:stable",
},
ActiveTasksLimit: 2,
},

View File

@ -42,7 +42,7 @@ func TestDockerPod(t *testing.T) {
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
initImage := "busybox"
initImage := "busybox:stable"
d, err := NewDockerDriver(logger, "executorid01", toolboxPath, initImage)
if err != nil {

View File

@ -41,7 +41,7 @@ func TestK8sPod(t *testing.T) {
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
initImage := "busybox"
initImage := "busybox:stable"
d, err := NewK8sDriver(logger, "executorid01", toolboxPath, initImage)
if err != nil {

View File

@ -265,7 +265,7 @@ func setup(ctx context.Context, t *testing.T, dir string) (*testutil.TestEmbedde
Labels: map[string]string{},
ActiveTasksLimit: 2,
InitImage: config.InitImage{
Image: "busybox",
Image: "busybox:stable",
},
},
Configstore: config.Configstore{