mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-08 00:51:44 +02:00
added test for pulling from docker registry
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
FROM busybox
|
||||
RUN echo "hey" > /hey
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"Image1": "gcr.io/kbuild-test/docker-test-registry:latest",
|
||||
"Image2": "gcr.io/kbuild-test/kbuild-test-registry:latest",
|
||||
"DiffType": "File",
|
||||
"Diff": {
|
||||
"Adds": null,
|
||||
"Dels": null,
|
||||
"Mods": null
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -14,8 +14,8 @@
|
||||
},
|
||||
{
|
||||
"Name": "/var/log/apt/term.log",
|
||||
"Size1": 24421,
|
||||
"Size2": 24421
|
||||
"Size1": 23671,
|
||||
"Size2": 23671
|
||||
},
|
||||
{
|
||||
"Name": "/var/cache/ldconfig/aux-cache",
|
||||
@@ -24,8 +24,8 @@
|
||||
},
|
||||
{
|
||||
"Name": "/var/log/apt/history.log",
|
||||
"Size1": 5415,
|
||||
"Size2": 5415
|
||||
"Size1": 5661,
|
||||
"Size2": 5661
|
||||
},
|
||||
{
|
||||
"Name": "/var/log/alternatives.log",
|
||||
|
||||
@@ -110,6 +110,14 @@ var fileTests = []struct {
|
||||
kbuildContext: buildcontextPath,
|
||||
repo: "test-add",
|
||||
},
|
||||
{
|
||||
description: "test registry",
|
||||
dockerfilePath: "/workspace/integration_tests/dockerfiles/Dockerfile_test_registry",
|
||||
configPath: "/workspace/integration_tests/dockerfiles/config_test_registry.json",
|
||||
dockerContext: buildcontextPath,
|
||||
kbuildContext: buildcontextPath,
|
||||
repo: "test-registry",
|
||||
},
|
||||
}
|
||||
|
||||
var structureTests = []struct {
|
||||
|
||||
Reference in New Issue
Block a user