CI changes

9 views
Skip to first unread message

Apollon Oikonomopoulos

unread,
Aug 27, 2020, 7:11:26 AM8/27/20
to ganeti...@googlegroups.com
Hi,

Following #1512[1], we now do a matrix build on each PR/push-to-master
for Debian Stable, Debian Testing, Ubuntu Bionic and Ubuntu
Focal. Additionally, there's a nightly build scheduled to run every day
for all four OSs. This will hopefully allow us to have fewer
regressions, especially when supporting newer GHC releases.

Internally we use pre-built Docker images to perform the builds using
GitHub Actions' built-in support[2]. The images are built from the
Dockerfiles hosted at https://github.com/ganeti/ci-images and pushed to
Docker Hub automatically, whenever a new commit is pushed to the ci-images
repository. The images are also rebuilt once a week, to incorporate the
latest changes from the distributions.

The workflow for publishing the images currently uses a key for my own
personal Docker Hub account (which is fine), but it would be a good idea
to grant admin rights to the Docker Hub repo to someone else as well
(any volunteers?).

I'm aware of the limits Docker is going to impose beginning Nov 1[3]; I
would be very happy to move the images to the GitHub Packages Registry
(and actually attempted to do so), but GPR currently doesn't work with
the Actions Docker integration[4](!), at least not in a meaningful
way. That said, if anyone is willing and able to host a dedicated
docker registry and keep our images outside the "cloud", please speak up :)

Cheers,
Apollon

[1] https://github.com/ganeti/ganeti/pull/1512
[2] https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontainer
[3] https://www.docker.com/blog/scaling-docker-to-serve-millions-more-developers-network-egress/
[4] https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358

Rudolph Bott

unread,
Sep 6, 2020, 5:04:09 PM9/6/20
to Apollon Oikonomopoulos, ganeti...@googlegroups.com
Hey Apollon,

On Thu, Aug 27, 2020 at 1:11 PM Apollon Oikonomopoulos <apo...@dmesg.gr> wrote:
Hi,

Following #1512[1], we now do a matrix build on each PR/push-to-master
for Debian Stable, Debian Testing, Ubuntu Bionic and Ubuntu
Focal. Additionally, there's a nightly build scheduled to run every day
for all four OSs. This will hopefully allow us to have fewer
regressions, especially when supporting newer GHC releases.

This is a very welcome change/PR - thanks for the work!
 
I'm aware of the limits Docker is going to impose beginning Nov 1[3]; I
would be very happy to move the images to the GitHub Packages Registry
(and actually attempted to do so), but GPR currently doesn't work with
the Actions Docker integration[4](!), at least not in a meaningful
way.

Well this is odd. The thread does not seem to indicate any work being done on this from Github's end. I hope with Docker's upcoming limitations, Github will change their policy. For now, this whole Dockerhub vs. Github Packages Registry is probably not our most important problem :-)

Cheers,
Rudi

--
 Rudolph Bott - bo...@sipgate.de

 sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
 HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
 Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391

Reply all
Reply to author
Forward
0 new messages