Merge pull request #9884 from brendandburns/gcr

Switch to loading busybox from gcr.
pull/6/head
Saad Ali 2015-06-17 11:38:24 -07:00
commit 56083489e3
3 changed files with 4 additions and 4 deletions

View File

@ -280,8 +280,8 @@ function verify_from_container() {
echo "waiting for $1 at $2:$3"
results=($(ssh-to-node "${test_node}" "
set -e;
sudo docker pull busybox >/dev/null;
sudo docker run busybox sh -c '
sudo docker pull gcr.io/google_containers/busybox >/dev/null;
sudo docker run gcr.io/google_containers/busybox sh -c '
for i in $(seq -s' ' 1 $(($4*3))); do
if wget -q -T 3 -O - http://$2:$3; then
echo

View File

@ -172,7 +172,7 @@ func makeCheckPod(ns string, nfsserver string) *api.Pod {
Containers: []api.Container{
{
Name: "scrub-checker",
Image: "busybox",
Image: "gcr.io/google_containers/busybox",
Command: []string{"/bin/sh"},
Args: []string{"-c", "test ! -e /mnt/index.html || exit 1"},
VolumeMounts: []api.VolumeMount{

View File

@ -76,7 +76,7 @@ func testPreStop(c *client.Client, ns string) {
Containers: []api.Container{
{
Name: "tester",
Image: "busybox",
Image: "gcr.io/google_containers/busybox",
Command: []string{"sleep", "600"},
Lifecycle: &api.Lifecycle{
PreStop: &api.Handler{