diff --git a/test/build-containerd.sh b/test/build-containerd.sh index 1cff039a4..43353cade 100755 --- a/test/build-containerd.sh +++ b/test/build-containerd.sh @@ -39,7 +39,7 @@ fi # Make sure output directory is clean. make clean # Build and push test tarball. -PUSH_VERSION=true DEPLOY_DIR=${DEPLOY_DIR:-""} \ +PUSH_VERSION=true DEPLOY_DIR=cri-containerd-staging/containerd \ make push TARBALL_PREFIX=containerd-cni \ INCLUDE_CNI=true \ CHECKOUT_CONTAINERD=false \ diff --git a/test/configure.sh b/test/configure.sh index f35f4925a..f894c633e 100755 --- a/test/configure.sh +++ b/test/configure.sh @@ -38,6 +38,13 @@ fetch_metadata() { # DEPLOY_PATH is the gcs path where cri-containerd tarball is stored. DEPLOY_PATH=${DEPLOY_PATH:-"cri-containerd-staging"} +# DEPLOY_PATH_METADATA is the metadata key of DEPLOY_PATH. +DEPLOY_PATH_METADATA="deploy-path" +deploy_path=$(fetch_metadata "${DEPLOY_PATH_METADATA}") +if [ ! -z "${deploy_path}" ]; then + DEPLOY_PATH=${deploy_path} +fi + # PULL_REFS_METADATA is the metadata key of PULL_REFS from prow. PULL_REFS_METADATA="PULL_REFS" pull_refs=$(fetch_metadata "${PULL_REFS_METADATA}") diff --git a/test/e2e_node/image-config-containerd.yaml b/test/e2e_node/image-config-containerd.yaml index a3960cc5f..a06ce725f 100644 --- a/test/e2e_node/image-config-containerd.yaml +++ b/test/e2e_node/image-config-containerd.yaml @@ -2,8 +2,8 @@ images: ubuntu: image: ubuntu-gke-1604-xenial-v20170420-1 project: ubuntu-os-gke-cloud - metadata: "user-data