<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tools/run-container, branch sagitta</title>
<subtitle> (mirror of https://github.com/marekm72/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=sagitta</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=sagitta'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/'/>
<updated>2021-07-13T19:23:19+00:00</updated>
<entry>
<title>run-container: fixup the centos repos baseurls when using http_proxy (#944)</title>
<updated>2021-07-13T19:23:19+00:00</updated>
<author>
<name>Paride Legovini</name>
<email>paride.legovini@canonical.com</email>
</author>
<published>2021-07-13T19:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=881be6e780b258e98d1ecba4777ba3e171d5760d'/>
<id>urn:sha1:881be6e780b258e98d1ecba4777ba3e171d5760d</id>
<content type='text'>
The EPEL repo file used to have download.fedoraproject.org as its
baseurl. That has now been replaced by `download.example`, which we need
to replace with dl.fedoraproject.org, the actual mirror we want to
download from.

We can't use download.fedoraproject.org or the mirrorlist (which is the
default way for finding mirrors) because of our internal proxy rules.

This change only applies if http_proxy is set, otherwise the mirrors are
reached in the default way.</content>
</entry>
<entry>
<title>tools: add support for building rpms on rocky linux (#940)</title>
<updated>2021-07-12T22:37:34+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2021-07-12T22:37:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=a185f31911dfc58662eb1eb5d39a9ab3ed178ff5'/>
<id>urn:sha1:a185f31911dfc58662eb1eb5d39a9ab3ed178ff5</id>
<content type='text'>
</content>
</entry>
<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/marekm72/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/marekm72/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/marekm72/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/marekm72/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/marekm72/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/marekm72/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/marekm72/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/marekm72/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>
</feed>
