Merge ~smoser/cloud-init:bug/fix-ci-redhat into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Scott Moser on 2017-06-14 |
| Approved revision: | c0e1a31e3c7abd5e193145e3b56b05dcd488d469 |
| Merged at revision: | 55a006afca73633c607c537dee62097e85011443 |
| Proposed branch: | ~smoser/cloud-init:bug/fix-ci-redhat |
| Merge into: | cloud-init:master |
| Diff against target: |
431 lines (+139/-118) 5 files modified
dev/null (+0/-49) packages/pkg-deps.json (+1/-1) tests/unittests/test_handler/test_handler_disk_setup.py (+16/-16) tools/read-dependencies (+23/-9) tools/run-centos (+99/-43) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Approve on 2017-06-14 | |
| Chad Smith | 2017-06-14 | Approve on 2017-06-14 | |
| Joshua Powers (community) | Approve on 2017-06-14 | ||
|
Review via email:
|
|||
Commit Message
tools/run-centos: cleanups and move to using read-dependencies
These changes are all in an effort to get tools/run-centos using
read-dependencies rather than the 'setup-centos' script with a separate
set of dependencies listed.
- tools/read-
This allows run-centos to get both test and build dependencies.
Ultimately, I think it might be nicer for read-dependencies to take a
list of "goals" (build, test, run or test-tox) rather than having the
caller need to know to provide multiple --requirements.
- packages/
centos 6 has newer (1.8.6p3) version than listed, so its not a problem.
- test_handler_
which is not present in the version of unittest2 that is available in
centos 6 epel. We just adjust it to use with_logs = True.
- tools/run-cents:
- improve usage with example
- add 'inside_as_cd' to provide the dir you want to cd first to.
- avoid the intermediate tarball on disk in the container.
- add 'prep' subcommand and use it to install pre-dependencies.
- use read-dependencies.
| Scott Moser (smoser) wrote : | # |
With this changeset applied i can:
for ver in 6 7; do
./tools/
tee out${ver}.log; done
| Joshua Powers (powersj) wrote : | # |
Only reviewed run-centos: clean up looks good and runs as expected locally. Thanks for taking the time to convert over to using read-dependencies.
| Chad Smith (chad.smith) wrote : | # |
Approve as is, but it'd be nice to check all requirements-files specified to read-dependencies.
| Scott Moser (smoser) wrote : | # |
Approving per Chad and Josh.
PASSED: Continuous integration, rev:c0e1a31e3c7
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/


PASSED: Continuous integration, rev:2d2ba08ad2b eef90c5f2690ed8 35baa9638ac141 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 524/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/524 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/524 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 524 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/524 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/524
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 524/rebuild
https:/