Merge bootstack-ops:add-snapcraft-base into bootstack-ops:master
Status: | Merged |
---|---|
Approved by: | David O Neill |
Approved revision: | 3ec3503205ad2500c304a2617673a37e38c41069 |
Merged at revision: | 8000536ab90b4abb8a3368acc651578c98f079a5 |
Proposed branch: | bootstack-ops:add-snapcraft-base |
Merge into: | bootstack-ops:master |
Diff against target: |
49 lines (+17/-4) 2 files modified
README.md (+10/-0) snap/snapcraft.yaml (+7/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David O Neill (community) | Approve | ||
Review via email: mp+367557@code.launchpad.net |
Commit message
Moved to using snapcraft bases and updated for snapcraft 3.0
Description of the change
Snapcraft 3.0 introduces the concept of bases, which allows the building of snaps on multipass-based core images, to prevent dependency hell, and streamline the build process.
This merge adds the core snap as a base, which is the 16.04 core snap. In the future, we should move to core18, however the dependency on the 9.5 postgresql client requires more thought for this to happen. As such, I've used the core snap instead of core18.
Snapcraft 3.0 also removes the 'install' property for running a script during the snap build, which we use to update the alternative for pg_dumpall to point to postgresql 9.5. The way to accomplish the same thing is to use the build-override setting, which is also included in this merge for the purpose of ensuring Snapcraft 3.0 compatibility.
Also updated the README.md with build instructions.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.