351a40fc by Adam Heath

Add the actual git clone command, and change the status container

slightly.
1 parent f91be1fc
......@@ -9,6 +9,8 @@ data:
#!/bin/sh
set -ex
GIT_SSH_COMMAND="ssh -i /tmp/cluster-ssh/ssh-private-key"
# FIXME: don't hard-code this.
git clone git@gitlab.brainfood.com:brainfood/k8s-start-of-day.git /tmp/git-storage/k8s-start-of-day
---
apiVersion: batch/v1
kind: Job
......@@ -55,7 +57,7 @@ spec:
containers:
- name: show-status
image: bash
command: ["bash", "-ex", "ls -l /tmp/git-storage"]
command: ["bash", "-ex", "ls -al /tmp"]
volumeMounts:
- name: git-storage
mountPath: /tmp/git-storage
......