executor: use busybox:stable as default init image
Use "busybox:stable" as default init image name so it won't be checked/pulled any time.
This commit is contained in:
parent
875e118817
commit
afece4d846
|
@ -235,7 +235,7 @@ var defaultConfig = Config{
|
||||||
},
|
},
|
||||||
Executor: Executor{
|
Executor: Executor{
|
||||||
InitImage: InitImage{
|
InitImage: InitImage{
|
||||||
Image: "busybox",
|
Image: "busybox:stable",
|
||||||
},
|
},
|
||||||
ActiveTasksLimit: 2,
|
ActiveTasksLimit: 2,
|
||||||
},
|
},
|
||||||
|
|
|
@ -42,7 +42,7 @@ func TestDockerPod(t *testing.T) {
|
||||||
|
|
||||||
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
|
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
|
||||||
|
|
||||||
initImage := "busybox"
|
initImage := "busybox:stable"
|
||||||
|
|
||||||
d, err := NewDockerDriver(logger, "executorid01", toolboxPath, initImage)
|
d, err := NewDockerDriver(logger, "executorid01", toolboxPath, initImage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -41,7 +41,7 @@ func TestK8sPod(t *testing.T) {
|
||||||
|
|
||||||
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
|
logger := zaptest.NewLogger(t, zaptest.Level(zap.InfoLevel))
|
||||||
|
|
||||||
initImage := "busybox"
|
initImage := "busybox:stable"
|
||||||
|
|
||||||
d, err := NewK8sDriver(logger, "executorid01", toolboxPath, initImage)
|
d, err := NewK8sDriver(logger, "executorid01", toolboxPath, initImage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -265,7 +265,7 @@ func setup(ctx context.Context, t *testing.T, dir string) (*testutil.TestEmbedde
|
||||||
Labels: map[string]string{},
|
Labels: map[string]string{},
|
||||||
ActiveTasksLimit: 2,
|
ActiveTasksLimit: 2,
|
||||||
InitImage: config.InitImage{
|
InitImage: config.InitImage{
|
||||||
Image: "busybox",
|
Image: "busybox:stable",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Configstore: config.Configstore{
|
Configstore: config.Configstore{
|
||||||
|
|
Loading…
Reference in New Issue