Merge ~chad.smith/cloud-init:ci-deps-fixes into cloud-init:master
| Status: | Merged |
|---|---|
| Merged at revision: | b23d9d7c5c112612dbaaf8c8371c9e735500b2eb |
| Proposed branch: | ~chad.smith/cloud-init:ci-deps-fixes |
| Merge into: | cloud-init:master |
| Diff against target: |
149 lines (+43/-18) 4 files modified
Makefile (+2/-4) packages/bddeb (+3/-1) tools/read-dependencies (+37/-9) tools/run-centos (+1/-4) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Approve on 2017-06-14 | |
| Scott Moser | 2017-06-14 | Approve on 2017-06-14 | |
|
Review via email:
|
|||
Commit Message
ci deps: Add --test-distro to read-dependencies to install all deps
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/
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/
There are also some distro-specific packaging dependencies, like devscripts 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.
Description of the Change
ci dependency installs: Add --test-distro param to read-dependencies to install deps
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/
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/
There are also some distro-specific packaging dependencies, like devscripts 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.
Test instructions:
lxc launch images:
lxc exec test-y bash
apt update
apt install git
git clone -b master https:/
python3 ./tools/
make deb
./packages/bddeb -S
- 1ae35e5... by Chad Smith on 2017-06-14
- d2e7483... by Chad Smith on 2017-06-14
- 7e28797... by Chad Smith on 2017-06-14
PASSED: Continuous integration, rev:d2e7483380b
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
- fb499a2... by Chad Smith on 2017-06-14
PASSED: Continuous integration, rev:fb499a298b0
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
- f882215... by Chad Smith on 2017-06-14
PASSED: Continuous integration, rev:f8822150149
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:1ae35e5a494 4a68b3136e62c2b 89d4d91ee951d7 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 529/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/529 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/529 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 529 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/529 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/529
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/ 529/rebuild
https:/