Skip to content

Commit

Permalink
Switch to gcr.io for the mount test container.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Jun 16, 2015
1 parent c4d040c commit ca83176
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions contrib/for-tests/mount-tester/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
all: push

TAG = 0.1
TAG = 0.2

mt: mt.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./mt.go

image: mt
sudo docker build -t kubernetes/mounttest:$(TAG) .
sudo docker build -t gcr.io/google_containers/mounttest:$(TAG) .

push: image
sudo docker push kubernetes/mounttest:$(TAG)
gcloud preview docker push gcr.io/google_containers/mounttest:$(TAG)

clean:
rm -f mt
2 changes: 1 addition & 1 deletion test/e2e/empty_dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func testPodWithVolume(path string, source *api.EmptyDirVolumeSource) *api.Pod {
Containers: []api.Container{
{
Name: containerName,
Image: "kubernetes/mounttest:0.1",
Image: "gcr.io/google_containers/mounttest:0.2",
VolumeMounts: []api.VolumeMount{
{
Name: volumeName,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/host_path.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func testPodWithHostVol(path string, source *api.HostPathVolumeSource) *api.Pod
Containers: []api.Container{
{
Name: containerName,
Image: "kubernetes/mounttest:0.1",
Image: "gcr.io/google_containers/mounttest:0.2",
VolumeMounts: []api.VolumeMount{
{
Name: volumeName,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var _ = Describe("Secrets", func() {
Containers: []api.Container{
{
Name: "secret-test",
Image: "kubernetes/mounttest:0.1",
Image: "gcr.io/google_containers/mounttest:0.2",
Args: []string{
"--file_content=/etc/secret-volume/data-1",
"--file_mode=/etc/secret-volume/data-1"},
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/service_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var _ = Describe("ServiceAccounts", func() {
Containers: []api.Container{
{
Name: "service-account-test",
Image: "kubernetes/mounttest:0.1",
Image: "gcr.io/google_containers/mounttest:0.2",
Args: []string{
fmt.Sprintf("--file_content=%s/%s", serviceaccount.DefaultAPITokenMountPath, api.ServiceAccountTokenKey),
},
Expand Down

0 comments on commit ca83176

Please sign in to comment.