Merge ~powersj/cloud-init:enable-snap into cloud-init:master
| Status: | Merged |
|---|---|
| Merged at revision: | a07f2629f0a38b6277477b0002d39400d1ea1685 |
| Proposed branch: | ~powersj/cloud-init:enable-snap |
| Merge into: | cloud-init:master |
| Diff against target: |
54 lines (+26/-3) 3 files modified
.gitignore (+4/-0) setup.py (+1/-3) snapcraft.yaml (+21/-0) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot | continuous-integration | Approve on 2017-04-12 | |
| Scott Moser | 2017-03-24 | Approve on 2017-04-12 | |
|
Review via email:
|
|||
Commit Message
snap: allows for creating cloud-init snap
Add a basic snapcraft.yaml file to allow the creation of cloud-init as
a snap. This will always pull down the latest source from master for
the snap. setup.py will now also set the default init system to be
systemd when no init system is specified.
Description of the Change
To test:
1. git clone -b enable-snap git+ssh:
2. cd cloud-init
3. Because the required setup.py change is not in master, you need to edit snapcraft.yaml to use the local repo with the change. Edit parts -> cloud-init -> source as follows:
source: .
4. snapcraft
5. sudo snap install cloud-init_
--classic because it is class
--dangerous because it is not from the store and local
6. Try it out:
sudo cloud-init -v
sudo cloud-init -h
I have run a `sudo cloud-init init` and it executed as I believe is expected.
- 85f8a18... by Joshua Powers on 2017-03-24
- 261a29b... by Joshua Powers on 2017-04-07
PASSED: Continuous integration, rev:261a29bb7c9
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
- 18c9a7e... by Joshua Powers on 2017-04-12
PASSED: Continuous integration, rev:18c9a7e0e35
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:85f8a18274a 5d0f7429034d469 cfb73f78700488 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 157/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/157 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/157 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 157 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/157 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/157
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/ 157/rebuild
https:/