fix rosdump
This commit is contained in:
parent
0e79aa8f4e
commit
7d71f1b29c
@ -6,6 +6,10 @@ data:
|
||||
script.sh: |
|
||||
#!/bin/bash
|
||||
set -e
|
||||
mkdir -p /root/.ssh
|
||||
cp /config/ssh_identity /root/.ssh/id_ecdsa
|
||||
chmod 600 /root/.ssh/id_ed25519
|
||||
sleep 100
|
||||
if [ -d rosdump ]; then
|
||||
echo "Pulling Git repo"
|
||||
cd rosdump
|
||||
@ -58,7 +62,7 @@ spec:
|
||||
image: codemowers/git
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- bash
|
||||
- sh
|
||||
- /config/script.sh
|
||||
volumeMounts:
|
||||
- name: config
|
||||
|
Loading…
Reference in New Issue
Block a user