We don't need the test image namespace anymore since we've already
upgrade those images to the latest multi-arch ones.
Signed-off-by: Dennis Chen <dennis.chen@arm.com>
| ... | ... |
@@ -53,7 +53,6 @@ esac |
| 53 | 53 |
export PACKAGE_ARCH |
| 54 | 54 |
|
| 55 | 55 |
DOCKERFILE='Dockerfile' |
| 56 |
-TEST_IMAGE_NAMESPACE= |
|
| 57 | 56 |
case "$PACKAGE_ARCH" in |
| 58 | 57 |
amd64) |
| 59 | 58 |
case "${DOCKER_ENGINE_GOOS:-$DOCKER_CLIENT_GOOS}" in
|
| ... | ... |
@@ -64,9 +63,6 @@ case "$PACKAGE_ARCH" in |
| 64 | 64 |
;; |
| 65 | 65 |
*) |
| 66 | 66 |
DOCKERFILE="Dockerfile.$PACKAGE_ARCH" |
| 67 |
- if [ "$PACKAGE_ARCH" != "aarch64" ]; then |
|
| 68 |
- TEST_IMAGE_NAMESPACE="$PACKAGE_ARCH" |
|
| 69 |
- fi |
|
| 70 | 67 |
;; |
| 71 | 68 |
esac |
| 72 |
-export DOCKERFILE TEST_IMAGE_NAMESPACE |
|
| 69 |
+export DOCKERFILE |
| ... | ... |
@@ -26,7 +26,6 @@ const frozenImgDir = "/docker-frozen-images" |
| 26 | 26 |
// images were passed in. If the images need to be downloaded, then it will respect |
| 27 | 27 |
// the passed in images |
| 28 | 28 |
func FrozenImagesLinux(client client.APIClient, images ...string) error {
|
| 29 |
- imgNS := os.Getenv("TEST_IMAGE_NAMESPACE")
|
|
| 30 | 29 |
var loadImages []struct{ srcName, destName string }
|
| 31 | 30 |
for _, img := range images {
|
| 32 | 31 |
if !imageExists(client, img) {
|
| ... | ... |
@@ -38,9 +37,6 @@ func FrozenImagesLinux(client client.APIClient, images ...string) error {
|
| 38 | 38 |
if img == "hello-world:frozen" {
|
| 39 | 39 |
srcName = "hello-world:latest" |
| 40 | 40 |
} |
| 41 |
- if imgNS != "" {
|
|
| 42 |
- srcName = imgNS + "/" + srcName |
|
| 43 |
- } |
|
| 44 | 41 |
loadImages = append(loadImages, struct{ srcName, destName string }{
|
| 45 | 42 |
srcName: srcName, |
| 46 | 43 |
destName: img, |