<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tools/run-container, branch 20.4</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=20.4</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=20.4'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2020-06-18T15:45:16+00:00</updated>
<entry>
<title>RPM build: disable the dynamic mirror URLs when using a proxy (#437)</title>
<updated>2020-06-18T15:45:16+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-06-18T15:45:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=d4639837ff623f199afd3e44aa836bf4b845456e'/>
<id>urn:sha1:d4639837ff623f199afd3e44aa836bf4b845456e</id>
<content type='text'>
When using an http proxy make sure to disable all the dynamic mirror
URLs. In particular:

 - Uncomment the baseurl in /etc/yum.repos.d/*.repo.
 - Comment out the mirrorlist and metalink URLs in *.repo.
 - Replace the dynamic download.fedoraproject.org host with
   dl.fedoraproject.org, which is static.
 - Run the above as part of the MAYBE_RELIABLE_YUM_INSTALL command,
   as installing packages may add new repos (e.g. EPEL).
 - Stop disabling fastestmirror, not needed when doing the above.</content>
</entry>
<entry>
<title>Adapt the package building scripts to use Python 3 (#231)</title>
<updated>2020-05-02T00:57:24+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-05-02T00:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=4d2684848722cb2d469ad4fa60999bf81cf7056e'/>
<id>urn:sha1:4d2684848722cb2d469ad4fa60999bf81cf7056e</id>
<content type='text'>
Since upstream cloud-init has dropped python2 support,
adapt remaining package build scripts and tools to python3 only

Changes:

* Do not template debian/rules as python3 is the only supported version
* Drop six from requirements.txt
* Makefile: drop everything related to Python 2
* run-container: install the CI deps only on ubuntu|debian
* read-version: update the shebang to use Python 3
* brpm: read_dependencies(): drop unused argument
* read-dependencies: switch to Py3 and drop the --python-version option
* pkg-deps.json: drop the Python version field and update the redhat deps
* pkg-deps.json: drop the unittest2 and contextlib2 renames
* Update RPM the spec file to use Python 3 when building the RPM
* bddeb: drop support for Python 2</content>
</entry>
<entry>
<title>cloudinit: move to pytest for running tests (#211)</title>
<updated>2020-03-10T17:26:05+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>oddbloke@ubuntu.com</email>
</author>
<published>2020-03-10T17:26:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=986f37b017134ced5d9dd38b420350916297002b'/>
<id>urn:sha1:986f37b017134ced5d9dd38b420350916297002b</id>
<content type='text'>
As the nose docs[0] themselves note, it has been in maintenance mode for the past several years. pytest is an actively developed, featureful and popular alternative that the nose docs themselves recommend. See [1] for more details about the thinking here.

(This PR also removes stale tox definitions, instead of modifying them.)

[0] https://nose.readthedocs.io/en/latest/
[1] https://lists.launchpad.net/cloud-init/msg00245.html</content>
</entry>
<entry>
<title>run-container: use 'test -n' instead of 'test ! -z' (#202)</title>
<updated>2020-01-30T18:34:12+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-01-30T18:34:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=0ecbd888c9491176ae41bbfa2b74a05234882000'/>
<id>urn:sha1:0ecbd888c9491176ae41bbfa2b74a05234882000</id>
<content type='text'>
Fixes shellcheck warning SC2236.</content>
</entry>
<entry>
<title>tools/run-container: drop support for python2 (#192)</title>
<updated>2020-01-28T15:30:21+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2020-01-28T15:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=fa3bdc9ecf9421ac3bad1bf6d01a82c70714af29'/>
<id>urn:sha1:fa3bdc9ecf9421ac3bad1bf6d01a82c70714af29</id>
<content type='text'>
Drop support for specifying an Python interpreter different from python3
from tools/run-container.</content>
</entry>
<entry>
<title>run-container: centos: comment out the repo mirrorlist</title>
<updated>2019-05-30T16:39:17+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>pl@ninthfloor.org</email>
</author>
<published>2019-05-30T16:39:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=19ddb1fb11434f860daee2238cdc23a56b9dc86f'/>
<id>urn:sha1:19ddb1fb11434f860daee2238cdc23a56b9dc86f</id>
<content type='text'>
In this way only the 'baseurl' mirror is used, which is easier
to allow through firewalls and proxies.
</content>
</entry>
<entry>
<title>run-container: uncomment baseurl in yum.repos.d/*.repo when using a proxy</title>
<updated>2019-01-25T17:52:41+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2019-01-25T17:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=7a4696596bbcccfedf5c6b6e25ad684ef30d9cea'/>
<id>urn:sha1:7a4696596bbcccfedf5c6b6e25ad684ef30d9cea</id>
<content type='text'>
When using a proxy it is often useful to know in advance which mirrors
are to be contacted, so a whitelist can be set up. This is not easy when
using the yum.conf(5) mirrorlist option, as the retrieved list of mirrors
may change. The repository definition may also specify a canonical mirror
with the 'baseurl' option; this option is often commented out by default
to favor the usage of worldwide mirrors. This patch uncomments 'baseurl'
when an http_proxy is being used, so the canonical mirror is used *in
addition to* the mirrors retrieved from the mirrorlist.
</content>
</entry>
<entry>
<title>tools: Fix run-container when neither source or binary package requested.</title>
<updated>2018-06-28T19:03:56+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2018-06-28T19:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=c42a926ae730994f66fe87c264b65f6e4dca69a1'/>
<id>urn:sha1:c42a926ae730994f66fe87c264b65f6e4dca69a1</id>
<content type='text'>
If run-container was called without --package or --binary-package, then
it would still try to copy out artifacts and would fail doing so as
there were no artifacts to collect.

Also fix a bug when only --source-package without --package.
</content>
</entry>
<entry>
<title>tools/run-container: replace tools/run-centos with more generic.</title>
<updated>2018-05-23T16:31:48+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2018-05-23T16:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=a821cde1722b18ec54279a5fbfb5da96032ef95e'/>
<id>urn:sha1:a821cde1722b18ec54279a5fbfb5da96032ef95e</id>
<content type='text'>
tools/run-container is like tools/run-centos, but currently supports
the following images from lxc-images
   opensuse/42.3
   centos/6
   centos/7
   ubuntu/16.04
   debian/10
   debian/sid

Also here is to make installation via zypper in tools/read-dependencies
not prompt user.
</content>
</entry>
</feed>
