Merge ~raharper/curtin:fix-tools-build-package into curtin:master
Status: | Merged |
---|---|
Merged at revision: | c5cb03e197f0a5066188530f50b2c6c1f15a904a |
Proposed branch: | ~raharper/curtin:fix-tools-build-package |
Merge into: | curtin:master |
Diff against target: |
366 lines (+199/-91) 6 files modified
.gitignore (+12/-0) debian/changelog.trunk (+1/-1) dev/null (+0/-61) tools/build-deb (+14/-29) tools/make-tarball (+63/-0) tools/read-version (+109/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Needs Fixing | |
curtin developers | Pending | ||
Review via email: mp+335427@code.launchpad.net |
Description of the change
Fix tools/build-deb
- Import some tools from cloud-init
- tools/read-version
- Updated to mention curtin instead
- Added --shell which emits key=value pairs
- Added --long which emits just the version_long value
- tools/make-tarball
- Updated to mention/use curtin instead
- Removed tools/export-
- debian/
- Modified for easier replacement for the version string
- Removed all of the bzr command and revision parsing logic
and now use read-version to extract the long and short
version values and feed them to make-tarball
This now works and writes out debs like:
curtin_
curtin-
python3-
python-
FAILED: Continuous integration, rev:d27ca0c0214 d107a072e871b3d ffa7443ce9efbd /jenkins. ubuntu. com/server/ job/curtin- ci/708/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 708/console /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 708/console /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 708/console /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 708/console
https:/
Executed test runs:
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/708/ rebuild
https:/