Compenstate for executable bit being lost during push

This commit is contained in:
kdavis-mozilla 2018-10-16 08:19:42 +02:00
Родитель 18f112c322
Коммит 594d9b431a
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -3,6 +3,7 @@ lxc init headnode:kenlm kenlm
printf "uid 1777 0\ngid 1777 0" | lxc config set kenlm raw.idmap - printf "uid 1777 0\ngid 1777 0" | lxc config set kenlm raw.idmap -
lxc config device add kenlm sda disk source=/snakepit path=snakepit lxc config device add kenlm sda disk source=/snakepit path=snakepit
lxc start kenlm lxc start kenlm
lxc exec kenlm chmod +x /root/kenlm/kenlm_run.sh
lxc exec kenlm /root/kenlm/kenlm_run.sh lxc exec kenlm /root/kenlm/kenlm_run.sh
lxc stop kenlm lxc stop kenlm
lxc config device remove kenlm sda lxc config device remove kenlm sda

Просмотреть файл

@ -2,6 +2,7 @@
lxc init ubuntu:bionic job$JOB_NUMBER lxc init ubuntu:bionic job$JOB_NUMBER
lxc file push kenlm_install.sh job$JOB_NUMBER/root/ lxc file push kenlm_install.sh job$JOB_NUMBER/root/
lxc start job$JOB_NUMBER lxc start job$JOB_NUMBER
lxc exec job$JOB_NUMBER chmod +x /root/kenlm_install.sh
lxc exec job$JOB_NUMBER /root/kenlm_install.sh lxc exec job$JOB_NUMBER /root/kenlm_install.sh
lxc stop job$JOB_NUMBER lxc stop job$JOB_NUMBER
lxc publish --public job$JOB_NUMBER --alias kenlm lxc publish --public job$JOB_NUMBER --alias kenlm