Skip to content

Commit

Permalink
Sleep until Success (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored and aknysh committed Nov 17, 2017
1 parent c8f2193 commit 0ac9787
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ ENV MOTD_URL=http://geodesic.sh/motd
ENV HOME=/mnt/local

VOLUME ["/mnt/local"]
VOLUME ["/mnt/remote"]

ADD rootfs/ /

Expand Down
1 change: 1 addition & 0 deletions rootfs/usr/local/include/toolbox/config/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ destroy-bucket: validate
mount: validate
@mkdir -p $(REMOTE_MOUNT_POINT)
@(nohup goofys -f --file-mode=0600 --region ${CLUSTER_STATE_BUCKET_REGION} --sse $(CLUSTER_STATE_BUCKET) ${REMOTE_MOUNT_POINT}) 2>&1 >>/var/log/goofys.log 2>&1 &
@until mountpoint -q ${REMOTE_MOUNT_POINT}; do sleep 0.250; done
@echo "Mounted $(CLUSTER_STATE_BUCKET) to $(REMOTE_MOUNT_POINT)"
@mkdir -p $(REMOTE_STATE)
@mkdir -p $(dir $(KUBECONFIG))
Expand Down

0 comments on commit 0ac9787

Please sign in to comment.