Revision 71f2649f ci/utils.py
b/ci/utils.py | ||
---|---|---|
306 | 306 |
cmd = """ |
307 | 307 |
echo 'APT::Install-Suggests "false";' >> /etc/apt/apt.conf |
308 | 308 |
apt-get update |
309 |
apt-get install curl --yes |
|
309 |
apt-get install curl --yes --force-yes
|
|
310 | 310 |
echo -e "\n\n{0}" >> /etc/apt/sources.list |
311 | 311 |
# Synnefo repo's key |
312 | 312 |
curl https://dev.grnet.gr/files/apt-grnetdev.pub | apt-key add - |
313 | 313 |
# X2GO Key |
314 | 314 |
apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E |
315 |
apt-get install x2go-keyring --yes |
|
315 |
apt-get install x2go-keyring --yes --force-yes
|
|
316 | 316 |
apt-get update |
317 |
apt-get install x2goserver x2goserver-xsession iceweasel --yes |
|
317 |
apt-get install x2goserver x2goserver-xsession \ |
|
318 |
iceweasel --yes --force-yes |
|
318 | 319 |
""".format(self.config.get('Global', 'apt_repo')) |
319 | 320 |
_run(cmd, False) |
320 | 321 |
|
... | ... | |
439 | 440 |
ssh_keys.startswith("ftp://"): |
440 | 441 |
cmd = """ |
441 | 442 |
apt-get update |
442 |
apt-get install wget --yes |
|
443 |
apt-get install wget --yes --force-yes
|
|
443 | 444 |
wget {0} -O {1} --no-check-certificate |
444 | 445 |
""".format(ssh_keys, keyfile) |
445 | 446 |
_run(cmd, False) |
... | ... | |
524 | 525 |
self.logger.info("Configure repositories on remote server..") |
525 | 526 |
self.logger.debug("Install/Setup git") |
526 | 527 |
cmd = """ |
527 |
apt-get install git --yes |
|
528 |
apt-get install git --yes --force-yes
|
|
528 | 529 |
git config --global user.name {0} |
529 | 530 |
git config --global user.email {1} |
530 | 531 |
""".format(self.config.get('Global', 'git_config_name'), |
... | ... | |
608 | 609 |
cmd = """ |
609 | 610 |
apt-get update |
610 | 611 |
apt-get install zlib1g-dev dpkg-dev debhelper git-buildpackage \ |
611 |
python-dev python-all python-pip --yes |
|
612 |
python-dev python-all python-pip --yes --force-yes
|
|
612 | 613 |
pip install devflow |
613 | 614 |
""" |
614 | 615 |
_run(cmd, False) |
... | ... | |
633 | 634 |
self.logger.debug("Install snf-deploy package") |
634 | 635 |
cmd = """ |
635 | 636 |
dpkg -i snf-deploy*.deb |
636 |
apt-get -f install --yes |
|
637 |
apt-get -f install --yes --force-yes
|
|
637 | 638 |
""" |
638 | 639 |
with fabric.cd("synnefo_build-area"): |
639 | 640 |
with fabric.settings(warn_only=True): |
Also available in: Unified diff