Add test lines to end of raspi_master.yaml
This commit is contained in:
parent
71fbc01775
commit
f20223c36b
|
@ -8,3 +8,7 @@ raspi_0w.yaml
|
|||
raspi_2.yaml
|
||||
raspi_3.yaml
|
||||
raspi_4.yaml
|
||||
*.img
|
||||
vmdb2/*
|
||||
.idea
|
||||
vmdb2
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
WD=/home/notplants/computer/projects/peachcloud/image-specs
|
||||
cd $WD/vmdb2
|
||||
sudo ./vmdb2 --verbose --rootfs-tarball=$WD/my_raspi.tar.gz --output $WD/my_raspi.img $WD/raspi_3.yaml --log $WD/my_raspi.log
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
KEY_PATH=/home/notplants/.ssh/do_rsa
|
||||
|
||||
rsync -avzh --exclude target --exclude .idea --exclude .git --exclude *.img -e "ssh -i $KEY_PATH" . root@165.227.141.30:/srv/image-specs/
|
||||
|
||||
ssh -i $KEY_PATH root@165.227.141.30 'cd /srv/image-specs; echo "hi"'
|
|
@ -0,0 +1 @@
|
|||
scp -i /home/notplants/.ssh/do_rsa root@165.227.141.30:/srv/image-specs/raspi_3.img peach.img
|
|
@ -132,3 +132,22 @@ steps:
|
|||
- shell: |
|
||||
rm "${ROOT?}/etc/resolv.conf"
|
||||
root-fs: /
|
||||
|
||||
|
||||
- create-file: /srv/hi.txt
|
||||
trailing-newline: '1'
|
||||
contents: |
|
||||
hello
|
||||
here
|
||||
are
|
||||
some
|
||||
lines
|
||||
unless: rootfs_unpacked
|
||||
|
||||
|
||||
- shell: |
|
||||
echo "does this work?" > /srv/turtle.txt
|
||||
|
||||
echo "and also this?" > /srv/cat.txt
|
||||
|
||||
root-fs: /
|
Loading…
Reference in New Issue