Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Binary releases] Create a script that will containerise the DEB build process #5968

Closed
paulkatsoulakis opened this issue May 5, 2019 · 3 comments · Fixed by #6465
Closed
Assignees
Labels
area/packaging Packaging and operating systems support feature request New features
Milestone

Comments

@paulkatsoulakis
Copy link
Contributor

paulkatsoulakis commented May 5, 2019

Feature idea summary

Document the required activities that will generate a DEB package for a distribution, then create a scriptlet that will establish a container and execute the workflow within the container environment.

The scriptlet will determine the architecture and distro details, that will then determine the distro the DEB package is for.

References #5963

Expected behaviour
@paulkatsoulakis paulkatsoulakis added the area/packaging Packaging and operating systems support label May 5, 2019
@paulkatsoulakis paulkatsoulakis added this to the v1.15 milestone May 5, 2019
@paulkatsoulakis paulkatsoulakis self-assigned this May 5, 2019
@paulkatsoulakis paulkatsoulakis added this to To do in Paul's backlog May 6, 2019
Paul's backlog automation moved this from To do to Done May 13, 2019
Paul's backlog automation moved this from Done to In progress May 13, 2019
@cakrit cakrit modified the milestones: v1.15, v1.16-rc0 May 13, 2019
@cakrit cakrit added the size:3 label May 13, 2019
@cakrit cakrit modified the milestones: v1.16-rc0, v1.16-rc1 May 23, 2019
@cakrit cakrit added size:2 and removed size:2 labels May 23, 2019
@paulkatsoulakis paulkatsoulakis added the feature request New features label Jun 2, 2019
@paulkatsoulakis
Copy link
Contributor Author

The mechanism for containerising the build process is ready and under testing since last week.
What we did is take advantage of Travis CI and automate the process of:

  1. Create an LXC container, for the distribution we wish to build RPMs on
  2. Setup all required packages on that distribution
  3. Run build process and generate contents for DEB package
  4. Publish the resulting DEB package to packagecloud.io

Currently we intent to support packages for the following distributions:

  • Ubuntu
    disco - amd64 / x86
    cosmic - amd64 / x86
    bionic - amd64 / x86
    artful - amd64 / x86

  • Debian
    Buster - amd64 / x86
    Stretch - amd64 / x86
    Jessie - amd64 / x86
    Wheezy - amd64 / x86

At the moment the CI workflow has been implemented, we are still in the process of fine tuning the build process. The idea is to reuse the currently available configurations from contrib and then there will be another iteration to get these files up to date

@cakrit cakrit modified the milestones: v1.16-rc1, v.1.16-rc2 Jun 6, 2019
@paulkatsoulakis paulkatsoulakis modified the milestones: v.1.16-rc2, v1.16 Jun 7, 2019
@paulkatsoulakis paulkatsoulakis removed this from In progress in Paul's backlog Jun 18, 2019
@paulkatsoulakis paulkatsoulakis removed this from the v1.16 milestone Jun 20, 2019
@gvengel
Copy link

gvengel commented Jun 28, 2019

It would be awesome if you'd support all the Ubuntu releases currently under maintenance support by Canonical, particularly the LTS releases as these see heavy adoption. Many users will stay on an older LTS release waiting until it's no longer supported before upgrading to the next LTS.

Supported LTS releases:
bionic
xenial

Supported interim releases:
disco
cosmic

For more details see the Ubuntu Release Cycle.

@paulkatsoulakis paulkatsoulakis added this to the v1.17-rc1 milestone Jul 3, 2019
@paulkatsoulakis
Copy link
Contributor Author

paulkatsoulakis commented Jul 3, 2019

Hello @gvengel, thanks for your info.
I totally agree with you, you should actually check out the refined list mentioned on issue #6036

We mention:

Ubuntu (https://wiki.ubuntu.com/Releases)

Ubuntu 14.04.6 LTS (Trusty Tahr)
Ubuntu 16.04.6 LTS (Xenial Xerus)
Ubuntu 18.04.2 LTS (Bionic Beaver)
Ubuntu 19.04 (Disco Dingo) **latest

and

Debian (https://www.debian.org/releases/ and https://wiki.debian.org/LTS/)

Debian 7 (Wheezy)
Debian 8 (Jessie)
Debian 9 (Stretch)
Debian 10 (buster) **Not released yet

Let me know if that covers your comment or if i miss anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/packaging Packaging and operating systems support feature request New features
Projects
None yet
3 participants