<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/Makefile, branch 20.1</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=20.1</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/atom?h=20.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/'/>
<updated>2019-09-18T10:31:35+00:00</updated>
<entry>
<title>tools: make clean now cleans the dev directory, not the system</title>
<updated>2019-09-18T10:31:35+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2019-09-18T10:31:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=ac8ef3eed1ca78d779b9fc414439e5dc4153735c'/>
<id>urn:sha1:ac8ef3eed1ca78d779b9fc414439e5dc4153735c</id>
<content type='text'>
Remove pyc files, .tox directories and docs during make clean.
</content>
</entry>
<entry>
<title>doc: document doc, create makefile and tox target</title>
<updated>2019-09-07T02:27:45+00:00</updated>
<author>
<name>Joshua Powers</name>
<email>josh.powers@canonical.com</email>
</author>
<published>2019-09-07T02:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=385232dc8da6532b54342cd11e6d822ff7cd3e5a'/>
<id>urn:sha1:385232dc8da6532b54342cd11e6d822ff7cd3e5a</id>
<content type='text'>
* Create makefile and tox targets for documentation building and testing
to better replicate the live web docs using the same theme.
* Created docs.rst to explain how to build and contribute to documentation
with style guide and tips.
* doc/rtd/conf.py:
    * Add copyright to rtd config
    * Use Sphinx's RTD theme to replicate actual docs
</content>
</entry>
<entry>
<title>tests: Add cloudinit package to all test targets</title>
<updated>2017-09-20T22:41:31+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2017-09-20T22:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=d3a8777244ebc107e1124c4fab441b5e0eb75f44'/>
<id>urn:sha1:d3a8777244ebc107e1124c4fab441b5e0eb75f44</id>
<content type='text'>
The package cloudinit was sparsely added to only the makefile's unittest
target and tox's py3 target. This branch adds cloudinit package to 'make
unittest3' and all tox environments. It tweaks one cloudinit unit test to
use mocked_object.call_count instead of mocked_object.assert_called_once
which is not defined in some python unittest versions.
</content>
</entry>
<entry>
<title>Makefile: No longer look for yaml files in obsolete ./bin/.</title>
<updated>2017-09-20T21:47:04+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2017-09-20T21:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=82b2da3a56680b43df00ed31837b8650b5971656'/>
<id>urn:sha1:82b2da3a56680b43df00ed31837b8650b5971656</id>
<content type='text'>
The bin/ dir was deleted some time ago, but the Makefile was still
searching for files down it.  This didn't cause any problems other Than a
wierd looking error message in a build log.
</content>
</entry>
<entry>
<title>tools: Add tooling for basic cloud-init performance analysis.</title>
<updated>2017-08-21T19:46:23+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2017-08-21T19:46:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=e74d7752f1761c3a8d3c19877de4707d00c49d08'/>
<id>urn:sha1:e74d7752f1761c3a8d3c19877de4707d00c49d08</id>
<content type='text'>
This branch adds cloudinit-analyze into cloud-init proper. It adds an
"analyze" subcommand to the cloud-init command line utility for quick
performance assessment of cloud-init stages and events.

On a cloud-init configured instance, running "cloud-init analyze blame"
will now report which cloud-init events cost the most wall time. This
allows for quick assessment of the most costly stages of cloud-init.

This functionality is pulled from Ryan Harper's analyze work.

The cloudinit-analyze main script itself has been refactored a bit for
inclusion as a subcommand of cloud-init CLI. There will be a followup
branch at some point which will optionally instrument detailed strace
profiling, but that approach needs a bit more discussion first.

This branch also adds:
 * additional debugging topic to the sphinx-generated docs describing
   cloud-init analyze, dump and show as well as cloud-init single usage.
 * Updates the Makefile unittests target to include cloudinit directory
   because we now have unittests within that package.

LP: #1709761
</content>
</entry>
<entry>
<title>makefile: fix ci-deps-ubuntu target</title>
<updated>2017-07-28T19:48:17+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2017-07-28T19:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=664a22021ce278dc4120a5737b21bf6fe5448166'/>
<id>urn:sha1:664a22021ce278dc4120a5737b21bf6fe5448166</id>
<content type='text'>
Remove errant hyphen in read-dependencies --distro ubuntu parameter for ci-deps-ubuntu.
All system packages can now be installed for ubuntu with make ci-deps-ubuntu".
[author: powersj, review:blackboxsw]
</content>
</entry>
<entry>
<title>ci deps: Add --test-distro to read-dependencies to install all deps</title>
<updated>2017-06-14T23:11:43+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2017-06-14T23:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=b23d9d7c5c112612dbaaf8c8371c9e735500b2eb'/>
<id>urn:sha1:b23d9d7c5c112612dbaaf8c8371c9e735500b2eb</id>
<content type='text'>
read-dependencies now takes --test-distro param to indicate we want to install
all system package depenencies to allow for testing and building for our
continous integration environment. It allows us to install all needed deps on
a fresh system with:
python3 ./tools/read-dependencies --distro ubuntu --test-distro [--dry-run].

Additionally read-dependencies now looks at what version of python is running
the script (py2 vs p3) and opts to install python 2 or 3 system deps
respectively. This behavior can still be overridden with
python3 ./tools/read-dependencies ... --python-version 2.

There are also some distro-specific packaging and test dependencies, like
devscripts, tox and libssl-dev on debian or ubuntu. Those pkg dependencies
have now been broken out from common pkg deps to avoid trying to install them
on centos/redhat/suse.
</content>
</entry>
<entry>
<title>pkg build ci: Add make ci-deps-&lt;distro&gt; target to install pkgs</title>
<updated>2017-06-14T02:13:34+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2017-06-07T23:26:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=744e648eaf6325758282ef23bffcc4194faa6bac'/>
<id>urn:sha1:744e648eaf6325758282ef23bffcc4194faa6bac</id>
<content type='text'>
This change adds a couple of makefile targets for ci environments to
install all necessary dependencies for package builds and test runs.

It adds a number of arguments to ./tools/read-dependencies to facilitate
reading pip dependencies, translating pip deps to system package names and
optionally installing needed system-package dependencies on the local
system. This relocates all package dependency and translation logic into
./tools/read-dependencies instead of duplication found in packages/brpm
and packages/bddeb.

In this branch, we also define buildrequires as including all runtime
requires when rendering cloud-init.spec.in and debian/control files
because our package build infrastructure will also be running all unit
test during the package build process so we need runtime deps at build
time.

Additionally, this branch converts
packages/(redhat|suse)/cloud-init.spec.in from cheetah templates to jinja
to allow building python3 envs.
</content>
</entry>
<entry>
<title>cloud.cfg: move to a template.  setup.py changes along the way.</title>
<updated>2017-06-08T16:59:48+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-09-28T20:20:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=41d46bfb85929c79dabcec3cf21c8d71401fd2b8'/>
<id>urn:sha1:41d46bfb85929c79dabcec3cf21c8d71401fd2b8</id>
<content type='text'>
Here we move the config/cloud.cfg to be rendered as a template.
That allows us to maintain deltas between distros in one place.
Currently we use 'variant' variable to make decisions.
A tools/render-cloudcfg is provided to render the file.

There were changes to setup.py, MANIFEST.in to allow us to put all
files into a virtual env installation and to render the cloud-config
file in 'install' or 'bdist' targets.

We have also included some config changes that were found in the
redhat distro spec.
 * include some config changes from the redhat distro spec.

The rendered cloud.cfg has some differences.
Ubuntu: white space and comment changes only.
Freebsd:
 - whitespace changes and comment changes
 - datasource_list definition moved to be closer to 'datasource'.
 - enable modules: migrator, write_files
 - move package-update-upgrade-install to final.

The initial work was done by Josh Harlow.
</content>
</entry>
<entry>
<title>Makefile: add deb-src and srpm targets. use PYVER more places.</title>
<updated>2017-06-08T13:57:54+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2017-06-07T17:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-cloud-init.git/commit/?id=e7c95208451422cfd3da7edfbd67dd271e7aa337'/>
<id>urn:sha1:e7c95208451422cfd3da7edfbd67dd271e7aa337</id>
<content type='text'>
This just adds targets for deb-src and srpm, and uses
PYVER anywhere where we run a python program.
</content>
</entry>
</feed>
