~patviafore/simplestreams/+git/simplestreams:add_kvm_to_streams

Last commit made on 2019-06-24
Get this branch:
git clone -b add_kvm_to_streams https://git.launchpad.net/~patviafore/simplestreams/+git/simplestreams
Only Pat Viafore can upload to this branch. If you are Pat Viafore please log in for upload directions.

Branch merges

Branch information

Name:
add_kvm_to_streams
Repository:
lp:~patviafore/simplestreams/+git/simplestreams

Recent commits

640d250... by Pat Viafore

Change eoan support to correct serial.

Also fix filtering logic so that it picks up kvm images (use -disk-kvm
instead of disk-kvm ... the '-' is part of the suffix checked for
filtering)

b98c708... by Pat Viafore

Add KVM support to streams.

KVM should only be available from eoan forward

409fdc1... by Scott Moser

tools: rename export-tarball to make-tarball.

make-tarball is the name of this utility in cloud-init and curtin.
Rename it here for consistency.

f57d5a4... by Scott Moser

Do not run flake8 during 'make test', remove 'trusty-flake8' tox env.

Previously 'make test' would run flake8. That meant that during
a package build a flake8 failure would cause package failure.

We do not really care about flake8 errors (primarily style) at that
point. Rather, upstream has picked versions of
flake8, pycodestyle, and pyflakes that it will ensure code is good with.

Along that same line, there is no need for the tox 'trusty-flake8'
environment which was present to catch those errors before a package
build on trusty.

The changes here mean that 'make test' won't run flake8. Note,
make can still be explicitly invoked with 'flake8' target.

99ba3f2... by Alex Kavanagh

Add SSL support to simplestreams/openstack.py

This change enables the openstack integration to connect to https
OpenStack endpoints by using the OS_CACERT environement variable.

LP: #1802407

21c5bba... by Dan Watkins

Add 'ubuntu' alias to CURRENT_LTS.

This indicates the best "ubuntu" option available to users if they have
no other preference.

3122a85... by Dan Watkins

tenv: Put topdir/bin before topdir/tools in PATH

This means that the bin/sstream-mirror-glance Python script (rather than
the tools/sstream-mirror-glance shell script that redirects to the
Python script) comes first in PATH.

693795b... by Scott Moser

tools/install-deps: install enough deps for ./tools/build-deb to work.

Basic goal here is to have this work:
   ./tools/install-deps build && ./tools/build-deb

Changes:
a.) fix a bug parsing debian/control (it would miss 'debhelper')
b.) install fakeroot explicitly, otherwise 'debuild' wont work.
c.) install with --no-install-recommends. This just gets less stuff
    and means we're more explicit about dependencies.
d.) write the command being executed for 'apt-get install' to stderr.

d7c0f48... by Scott Moser

packaging: Fix to collect sstream-mirror-glance from usr/bin, not bin.

sstream-mirror-glance was being put into /bin rather than /usr/bin.
The other executables (sstream-mirror and such) are in /usr/bin.

6e9a452... by Scott Moser

validate_image: Fix python2 i386 error, and show value in ValueError.

On python 2 and i386 (32 bit), os.stat will return a long.
There, we see that:
   isinstance(os.path.getsize("/etc/passwd"), int) == False
Where as on python 3 or 64 bit arch, the above is True.

That would cause validate_image to raise a ValueError and tests to fail.