Remove git dir in case of a restart.
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -20,6 +20,7 @@ data: | ... | @@ -20,6 +20,7 @@ data: |
20 | #!/bin/sh | 20 | #!/bin/sh |
21 | set -ex | 21 | set -ex |
22 | # FIXME: don't hard-code this. | 22 | # FIXME: don't hard-code this. |
23 | rm -rf /tmp/git-storage/k8s-start-of-day | ||
23 | git clone git@gitlab.brainfood.com:brainfood/k8s-start-of-day.git /tmp/git-storage/k8s-start-of-day | 24 | git clone git@gitlab.brainfood.com:brainfood/k8s-start-of-day.git /tmp/git-storage/k8s-start-of-day |
24 | cd /tmp/git-storage/k8s-start-of-day | 25 | cd /tmp/git-storage/k8s-start-of-day |
25 | if [ -e helmfile.yaml ]; then | 26 | if [ -e helmfile.yaml ]; then | ... | ... |
-
Please register or sign in to post a comment