Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
infra:torrent [2016/08/16 11:47] sebian |
infra:torrent [2018/12/09 01:46] sebian |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Prepare and upload a new image ====== | ====== Prepare and upload a new image ====== | ||
- | This script take in argument the image date ('2016-05-21' for example), you must have access on LDN servers ('mirabelle.ldn'), and you must have the private GPG key of LaBriqueInterNet (0xCD8F4D648AC0ECC1, see LDN GPG keyring, ask ju or sebian for more informations). | + | This script takes in argument the image date (''2016-05-21'' for example), you must have access on LDN servers (''bender.ldn-fai.net'' and ''brique.ldn-fai.net''), and you must have the private GPG key of LaBriqueInterNet (''0xCD8F4D648AC0ECC1'', available in the LDN password-store, :?: ask ju or sebian for more information). |
<code> | <code> | ||
+ | mkdir /media/pub/ | ||
+ | sshfs brique.ldn-fai.net:/var/www/repo.labriqueinter.net /media/pub | ||
+ | cp /path/to/the/new/labriqueinternet_A20LIME*.img.tar.xz /media/pub/images/ | ||
+ | cd /tmp/ | ||
wget https://raw.githubusercontent.com/labriqueinternet/configuration_scripts/master/utils/publish-image.sh | wget https://raw.githubusercontent.com/labriqueinternet/configuration_scripts/master/utils/publish-image.sh | ||
- | sshfs mirabelle.ldn:/var/www/repo-labriqueinternet /media/pub | ||
</code> | </code> | ||
Line 11: | Line 14: | ||
<code> | <code> | ||
- | bash publish-image.sh 2016-05-21 | + | bash publish-image.sh -i 2016-08-16 |
</code> | </code> | ||
- | This script update the MD5SUM file with the compressed image, generate the torrent and the asc signature, upload torrents files on the authorized files (on LDN tracker), and finally update the symlinks. | + | This script update the MD5SUMS file with the compressed image, generate the torrent and the asc signature, upload torrents files on the authorized files (on [[http://tracker.ldn-fai.net:6969|LDN Tracker]]), and finally update the symlinks. |