Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu/xenial #395

Merged
merged 88 commits into from
May 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
14c1f48
setup.py: drop NIH check_output implementation (#282)
OddBloke Mar 27, 2020
1905ff4
sources/tests/test_init: drop use of deprecated inspect.getargspec (#…
OddBloke Mar 27, 2020
41cc201
.travis.yml: allow 30 minutes of inactivity in cloud tests (#287)
OddBloke Mar 27, 2020
36a597d
CiTestCase: remove now-unneeded parse_and_read helper method (#286)
OddBloke Mar 27, 2020
2566fdb
net: introduce is_ip_address function (#288)
OddBloke Mar 28, 2020
e76057f
HACKING.rst: add Type Annotations design section (#293)
OddBloke Mar 30, 2020
ee03779
net/cmdline: replace type comments with annotations (#294)
OddBloke Mar 31, 2020
4f825b3
cloudinit: refactor util.is_ipv4 to net.is_ipv4_address (#292)
OddBloke Mar 31, 2020
4fb6fd8
net: ubuntu focal prioritize netplan over eni even if both present (#…
blackboxsw Mar 31, 2020
d00126c
Fix cloud-init ignoring some misdeclared mimetypes in user-data.
garloff Mar 31, 2020
ed350ac
rbxcloud: gracefully handle arping errors (#262)
ad-m Mar 31, 2020
c478d0b
distros: replace invalid characters in mirror URLs with hyphens (#291)
OddBloke Mar 31, 2020
b698b34
CiTestCase: stop using and remove sys_exit helper (#283)
OddBloke Mar 31, 2020
f51e3d0
HACKING.rst: add note about variable annotations (#295)
OddBloke Mar 31, 2020
1bbc490
distros: drop leading/trailing hyphens from mirror URL labels (#296)
OddBloke Mar 31, 2020
9efa64f
HACKING.rst: reorganise/update CLA signature info (#297)
OddBloke Mar 31, 2020
95ef35d
util: remove unnecessary lru_cache import fallback (#299)
OddBloke Apr 1, 2020
0dae099
tools/.github-cla-signers: add beezly as CLA signer (#301)
OddBloke Apr 2, 2020
bec8f38
openbsd: set_passwd should not unlock user (#289)
goneri Apr 2, 2020
723e2bc
Add support for NFS/EFS mounts (#300)
beezly Apr 2, 2020
09fea85
net: ignore 'renderer' key in netplan config (#306)
raharper Apr 3, 2020
e30599c
readme: OpenBSD is now supported (#309)
goneri Apr 6, 2020
e1a0604
docs: Add steps to re-run cloud-id and cloud-init (#313)
Apr 10, 2020
48b15bf
HACKING.rst: add pytest version gotchas section (#311)
OddBloke Apr 14, 2020
46cf23c
swap file "size" being used before checked if str (#315)
otubo Apr 14, 2020
9d7b35c
cc_mounts: fix incorrect format specifiers (#316)
OddBloke Apr 15, 2020
0c5c736
test_mounts: expand happy path test for both happy paths (#319)
OddBloke Apr 16, 2020
d7cad8b
tests: add missing mocks for get_interfaces_by_mac (#326)
OddBloke Apr 20, 2020
ceb3ae7
network_state: add missing space to log message (#325)
OddBloke Apr 22, 2020
1b049e6
YAML align indent sizes for docs readability (#323)
nishigori Apr 22, 2020
845a393
conftest: introduce disable_subp_usage autouse fixture (#304)
OddBloke Apr 23, 2020
506590e
More unit test documentation (#314)
OddBloke Apr 23, 2020
e9ab123
.travis.yml: don't run integration test on ubuntu/* branches (#321)
OddBloke Apr 23, 2020
c5b44e4
log: remove unnecessary import fallback logic (#327)
OddBloke Apr 23, 2020
7276aa5
distros: handle a potential mirror filtering error case (#328)
OddBloke Apr 23, 2020
38a7e6e
cloudinit: drop dependencies on unittest2 and contextlib2 (#322)
OddBloke Apr 24, 2020
e449996
nocloud: drop work around for Linux 2.6 (#324)
goneri Apr 24, 2020
72f6eb0
BSD: find_devs_with_ refactoring (#298)
goneri Apr 24, 2020
61a1924
schema: add json schema for write_files module (#152)
blackboxsw Apr 24, 2020
429c1ab
schema: ignore spurious pylint error (#332)
OddBloke Apr 27, 2020
f5e1d67
DataSourceNoCloud/OVF: drop claim to support FTP (#333)
OddBloke Apr 28, 2020
b70f110
Add docs about creating parent folders (#330)
Apr 28, 2020
32338f5
doc/format: reference make-mime.py instead of an inline script (#334)
OddBloke Apr 29, 2020
03aed95
Release 20.2 (#337)
blackboxsw Apr 29, 2020
5815dd9
yum_add_repo: Add Centos to the supported distro list (#340)
raharper Apr 30, 2020
0a4971b
doc/rtd/conf.py: bump copyright year to 2020 (#341)
OddBloke Apr 30, 2020
7dceb98
cc_locale: introduce schema (#335)
OddBloke Apr 30, 2020
25698b1
.travis.yml: introduce caching (#329)
OddBloke Apr 30, 2020
70dbccb
DataSourceEc2: use metadata's NIC ordering to determine route-metrics…
OddBloke May 1, 2020
4d26848
Adapt the package building scripts to use Python 3 (#231)
paride May 2, 2020
fededca
Add "therealfalcon" as contributor (#344)
TheRealFalcon May 4, 2020
59dd290
Add lucasmoura as contributor (#345)
lucasmoura May 4, 2020
f9b393b
bsd: upgrade support (#305)
goneri May 4, 2020
73d8748
analyze/dump: add support for Amazon Linux 2 log lines (#346)
OddBloke May 6, 2020
022122a
Create tests to validate schema examples (#348)
lucasmoura May 6, 2020
1c2d988
lp-to-git-users: adding chengcheng-chcheng (#356)
chengcheng-chcheng May 7, 2020
b24b376
make suse and sles support 127.0.1.1 (#336)
chengcheng-chcheng May 7, 2020
34b8680
Add test to ensure docs examples are valid cloud-init configs (#355)
TheRealFalcon May 8, 2020
f5c3f3c
.travis.yml: don't run lintian during integration test package builds…
OddBloke May 9, 2020
73a5b32
HACKING.rst: more unit testing documentation (#354)
OddBloke May 11, 2020
f9d0414
HACKING.rst: guide people to add themselves to the CLA file (#349)
OddBloke May 11, 2020
ee64b62
HACKING.rst: change contact info to Rick Harding (#359)
lucasmoura May 11, 2020
73aed04
doc: update boot.rst with correct timing of runcmd (#351)
OddBloke May 11, 2020
d10ce3e
analyze/dump: refactor shared string into variable (#350)
OddBloke May 12, 2020
c8f20b3
conftest: add docs and tests regarding CiTestCase's subp functionalit…
OddBloke May 12, 2020
2e32c40
Add schema to apt configure config (#357)
lucasmoura May 13, 2020
0894087
cloud_tests: emit dots on Travis while fetching images (#347)
OddBloke May 14, 2020
b73b319
migrating momousta lp user to Moustafa-Moustafa GitHub user (#361)
Moustafa-Moustafa May 14, 2020
4261ae5
cloudinit: remove unneeded __future__ imports (#362)
OddBloke May 14, 2020
09492b1
cloudinit: minor pylint fixes (#360)
OddBloke May 14, 2020
f23a4c4
templater: drop Jinja Python 2 compatibility shim (#353)
OddBloke May 15, 2020
e7a8da7
doc/rtd/topics/faq: Updates LXD docs links to current site (#368)
tomponline May 15, 2020
904ad36
make finding libc platform independent (#366)
igalic May 18, 2020
8bcf1c0
cc_snap: apply validation to snap.commands properties (#364)
OddBloke May 18, 2020
fae90f1
test_resolv_conf: refresh stale comment (#374)
OddBloke May 20, 2020
de9c02a
conftest: implement partial disable_subp_usage (#371)
OddBloke May 21, 2020
98a6d9a
cc_snap: validate that assertions property values are strings (#370)
OddBloke May 21, 2020
8c1b1bb
Add bipinbachhao as contributor (#379)
bipinbachhao May 22, 2020
9612397
HACKING: mention that .github-cla-signers is alpha-sorted (#380)
OddBloke May 22, 2020
2314c0c
Travis: do not install python3-contextlib2 (dropped dependency) (#388)
paride May 25, 2020
289e314
HACKING.rst: introduce .net -> Networking refactor section (#384)
OddBloke May 26, 2020
8377897
enable Puppet, Chef mcollective in default config (#385)
igalic May 27, 2020
9ed54b3
d/control: drop python3-nose and python3-unittest2
blackboxsw May 29, 2020
1f1a7cb
changelog: add content for dropping python3-nose and python3-unittest2
blackboxsw May 29, 2020
eace86f
merge from 8377897b at 20.2-38-g8377897b
blackboxsw May 29, 2020
d16c1f6
update changelog (New upstream snapshot 20.2-38-g8377897b).
blackboxsw May 29, 2020
e1d433d
changelog: manual reorder content
blackboxsw May 29, 2020
5985ff4
releasing cloud-init version 20.2-38-g8377897b-0ubuntu1~16.04.1
blackboxsw May 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 33 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
language: python
dist: bionic

# We use two different caching strategies. The default is to cache pip
# packages (as most of our jobs use pip packages), which is configured here.
# For the integration tests, we instead want to cache the lxd images. The
# directory in which the images are stored (/var/snap/lxd/common/lxd/images/)
# is not readable/writeable by the default user (which is a requirement for
# caching), so we instead cache the `lxd_images/` directory. We move lxd
# images out of there before we run tests and back in once tests are complete.
# We _move_ the images out and only copy the most recent lxd image back into
# the cache, to avoid our cache growing without bound. (We only need the most
# recent lxd image because the integration tests only use a single image.)
#
# We cache the lxd images because this saves a few seconds in the general
# case, but provides substantial speed-ups when cloud-images.ubuntu.com, the
# source of the images, is under heavy load.
cache: pip

install:
# Required so `git describe` will definitely find a tag; see
# https://github.com/travis-ci/travis-ci/issues/7422
Expand All @@ -17,12 +33,24 @@ matrix:
env:
TOXENV=py3
PYTEST_ADDOPTS=-v # List all tests run by pytest
- install:
- if: NOT branch =~ /^ubuntu\//
cache:
- directories:
- lxd_images
before_cache:
- |
# Find the most recent image file
latest_file="$(sudo ls -Art /var/snap/lxd/common/lxd/images/ | tail -n 1)"
# This might be <hash>.rootfs or <hash>, normalise
latest_file="$(basename $latest_file .rootfs)"
# Find all files with that prefix and copy them to our cache dir
sudo find /var/snap/lxd/common/lxd/images/ -name $latest_file* -print -exec cp {} lxd_images/ \;
install:
- git fetch --unshallow
- sudo apt-get build-dep -y cloud-init
- sudo apt-get install -y --install-recommends sbuild ubuntu-dev-tools fakeroot tox
# These are build deps but not pulled in by the build-dep call above
- sudo apt-get install -y --install-recommends dh-systemd python3-coverage python3-contextlib2 python3-pytest python3-pytest-cov
- sudo apt-get install -y --install-recommends dh-systemd python3-coverage python3-pytest python3-pytest-cov
- pip install .
- pip install tox
# bionic has lxd from deb installed, remove it first to ensure
Expand All @@ -32,6 +60,8 @@ matrix:
- sudo snap install lxd
- sudo lxd init --auto
- sudo mkdir --mode=1777 -p /var/snap/lxd/common/consoles
# Move any cached lxd images into lxd's image dir
- sudo find lxd_images/ -type f -print -exec mv {} /var/snap/lxd/common/lxd/images/ \;
- sudo usermod -a -G lxd $USER
- sudo sbuild-adduser $USER
- cp /usr/share/doc/sbuild/examples/example.sbuildrc /home/$USER/.sbuildrc
Expand All @@ -40,7 +70,7 @@ matrix:
- ./packages/bddeb -S
# Use this to get a new shell where we're in the sbuild group
- sudo -E su $USER -c 'mk-sbuild xenial'
- sudo -E su $USER -c 'sbuild --nolog --verbose --dist=xenial cloud-init_*.dsc'
- sudo -E su $USER -c 'sbuild --nolog --no-run-lintian --verbose --dist=xenial cloud-init_*.dsc'
# Ubuntu LTS: Integration
- sg lxd -c 'tox -e citest -- run --verbose --preserve-data --data-dir results --os-name xenial --test modules/apt_configure_sources_list.yaml --test modules/ntp_servers --test modules/set_password_list --test modules/user_groups --deb cloud-init_*_all.deb'
- python: 3.5
Expand Down
109 changes: 109 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,112 @@
20.2
- doc/format: reference make-mime.py instead of an inline script (#334)
- Add docs about creating parent folders (#330) [Adrian Wilkins]
- DataSourceNoCloud/OVF: drop claim to support FTP (#333) (LP: #1875470)
- schema: ignore spurious pylint error (#332)
- schema: add json schema for write_files module (#152)
- BSD: find_devs_with_ refactoring (#298) [Gonéri Le Bouder]
- nocloud: drop work around for Linux 2.6 (#324) [Gonéri Le Bouder]
- cloudinit: drop dependencies on unittest2 and contextlib2 (#322)
- distros: handle a potential mirror filtering error case (#328)
- log: remove unnecessary import fallback logic (#327)
- .travis.yml: don't run integration test on ubuntu/* branches (#321)
- More unit test documentation (#314)
- conftest: introduce disable_subp_usage autouse fixture (#304)
- YAML align indent sizes for docs readability (#323) [Tak Nishigori]
- network_state: add missing space to log message (#325)
- tests: add missing mocks for get_interfaces_by_mac (#326) (LP: #1873910)
- test_mounts: expand happy path test for both happy paths (#319)
- cc_mounts: fix incorrect format specifiers (#316) (LP: #1872836)
- swap file "size" being used before checked if str (#315) [Eduardo Otubo]
- HACKING.rst: add pytest version gotchas section (#311)
- docs: Add steps to re-run cloud-id and cloud-init (#313) [Joshua Powers]
- readme: OpenBSD is now supported (#309) [Gonéri Le Bouder]
- net: ignore 'renderer' key in netplan config (#306) (LP: #1870421)
- Add support for NFS/EFS mounts (#300) [Andrew Beresford] (LP: #1870370)
- openbsd: set_passwd should not unlock user (#289) [Gonéri Le Bouder]
- tools/.github-cla-signers: add beezly as CLA signer (#301)
- util: remove unnecessary lru_cache import fallback (#299)
- HACKING.rst: reorganise/update CLA signature info (#297)
- distros: drop leading/trailing hyphens from mirror URL labels (#296)
- HACKING.rst: add note about variable annotations (#295)
- CiTestCase: stop using and remove sys_exit helper (#283)
- distros: replace invalid characters in mirror URLs with hyphens (#291)
(LP: #1868232)
- rbxcloud: gracefully handle arping errors (#262) [Adam Dobrawy]
- Fix cloud-init ignoring some misdeclared mimetypes in user-data.
[Kurt Garloff]
- net: ubuntu focal prioritize netplan over eni even if both present
(#267) (LP: #1867029)
- cloudinit: refactor util.is_ipv4 to net.is_ipv4_address (#292)
- net/cmdline: replace type comments with annotations (#294)
- HACKING.rst: add Type Annotations design section (#293)
- net: introduce is_ip_address function (#288)
- CiTestCase: remove now-unneeded parse_and_read helper method (#286)
- .travis.yml: allow 30 minutes of inactivity in cloud tests (#287)
- sources/tests/test_init: drop use of deprecated inspect.getargspec (#285)
- setup.py: drop NIH check_output implementation (#282)
- Identify SAP Converged Cloud as OpenStack [Silvio Knizek]
- add Openbsd support (#147) [Gonéri Le Bouder]
- HACKING.rst: add examples of the two test class types (#278)
- VMWware: support to update guest info gc status if enabled (#261)
[xiaofengw-vmware]
- Add lp-to-git mapping for kgarloff (#279)
- set_passwords: avoid chpasswd on BSD (#268) [Gonéri Le Bouder]
- HACKING.rst: add Unit Testing design section (#277)
- util: read_cc_from_cmdline handle urlencoded yaml content (#275)
- distros/tests/test_init: add tests for _get_package_mirror_info (#272)
- HACKING.rst: add links to new Code Review Process doc (#276)
- freebsd: ensure package update works (#273) [Gonéri Le Bouder]
- doc: introduce Code Review Process documentation (#160)
- tools: use python3 (#274)
- cc_disk_setup: fix RuntimeError (#270) (LP: #1868327)
- cc_apt_configure/util: combine search_for_mirror implementations (#271)
- bsd: boottime does not depend on the libc soname (#269)
[Gonéri Le Bouder]
- test_oracle,DataSourceOracle: sort imports (#266)
- DataSourceOracle: update .network_config docstring (#257)
- cloudinit/tests: remove unneeded with_logs configuration (#263)
- .travis.yml: drop stale comment (#255)
- .gitignore: add more common directories (#258)
- ec2: render network on all NICs and add secondary IPs as static (#114)
(LP: #1866930)
- ec2 json validation: fix the reference to the 'merged_cfg' key (#256)
[Paride Legovini]
- releases.yaml: quote the Ubuntu version numbers (#254) [Paride Legovini]
- cloudinit: remove six from packaging/tooling (#253)
- util/netbsd: drop six usage (#252)
- workflows: introduce stale pull request workflow (#125)
- cc_resolv_conf: introduce tests and stabilise output across Python
versions (#251)
- fix minor issue with resolv_conf template (#144) [andreaf74]
- doc: CloudInit also support NetBSD (#250) [Gonéri Le Bouder]
- Add Netbsd support (#62) [Gonéri Le Bouder]
- tox.ini: avoid substition syntax that causes a traceback on xenial (#245)
- Add pub_key_ed25519 to cc_phone_home (#237) [Daniel Hensby]
- Introduce and use of a list of GitHub usernames that have signed CLA
(#244)
- workflows/cla.yml: use correct username for CLA check (#243)
- tox.ini: use xenial version of jsonpatch in CI (#242)
- workflows: CLA validation altered to fail status on pull_request (#164)
- tox.ini: bump pyflakes version to 2.1.1 (#239)
- cloudinit: move to pytest for running tests (#211)
- instance-data: add cloud-init merged_cfg and sys_info keys to json
(#214) (LP: #1865969)
- ec2: Do not fallback to IMDSv1 on EC2 (#216)
- instance-data: write redacted cfg to instance-data.json (#233)
(LP: #1865947)
- net: support network-config:disabled on the kernel commandline (#232)
(LP: #1862702)
- ec2: only redact token request headers in logs, avoid altering request
(#230) (LP: #1865882)
- docs: typo fixed: dta → data [Alexey Vazhnov]
- Fixes typo on Amazon Web Services (#217) [Nick Wales]
- Fix docs for OpenStack DMI Asset Tag (#228)
[Mark T. Voelker] (LP: #1669875)
- Add physical network type: cascading to openstack helpers (#200)
[sab-systems]
- tests: add focal integration tests for ubuntu (#225)

20.1
- ec2: Do not log IMDSv2 token values, instead use REDACTED (#219)
(LP: #1863943)
Expand Down
Loading