Skip to content
Menu
Open World News Open World News
  • Privacy Policy
Open World News Open World News

Simon Josefsson: Guix Container Images for GitLab CI/CD

Posted on December 19, 2024 by Michael G

I am using GitLab CI/CD pipelines for several upstream projects (libidn, libidn2, gsasl, inetutils, libtasn1, libntlm, …) and a long-time concern for these have been that there is too little testing on GNU Guix. Several attempts have been made, and earlier this year Ludo’ came really close to finish this. My earlier effort to idempotently rebuild Debian recently led me to think about re-bootstrapping Debian. Since Debian is a binary distribution, it re-use earlier binary packages when building new packages. The prospect of re-bootstrapping Debian in a reproducible way by rebuilding all of those packages going back to the beginning of time does not appeal to me. Instead, wouldn’t it be easier to build Debian trixie (or some future release of Debian) from Guix, by creating a small bootstrap sandbox that can start to build Debian packages, and then make sure that the particular Debian release can idempotently rebuild itself in a reproducible way? Then you will eventually end up with a reproducible and re-bootstrapped Debian, which pave the way for a trustworthy release of Trisquel. Fortunately, such an endeavour appears to offer many rabbit holes. Preparing Guix container images for use in GitLab pipelines is one that I jumped into in the last few days, and just came out of.

Let’s go directly to the point of this article: here is a GitLab pipeline job that runs in a native Guix container image that builds libksba after installing the libgpg-error dependency from Guix using the pre-built substitutes.

test-amd64-latest-wget-configure-make-libksba:
  image: registry.gitlab.com/debdistutils/guix/container:latest
  before_script:
  - lndir /gnu/store/*profile/etc/ /etc
  - rm -f /etc/group
  - groupadd --system guixbuild
  - for i in $(seq -w 1 10); do useradd -g guixbuild -G guixbuild -d /var/empty -s $(command -v nologin) -c "Guix build user $i" --system guixbuilder$i; done
  - export HOME=/
  - export LANG=C.UTF-8
  - guix-daemon --disable-chroot --build-users-group=guixbuild &
  - guix archive --authorize < /share/guix/ci.guix.gnu.org.pub
  - guix archive --authorize < /share/guix/bordeaux.guix.gnu.org.pub
  - guix describe
  - guix package -i libgpg-error
  - GUIX_PROFILE="//.guix-profile"
  - . "$GUIX_PROFILE/etc/profile"
  script:
  - wget https://www.gnupg.org/ftp/gcrypt/libksba/libksba-1.6.7.tar.bz2
  - tar xfa libksba-1.6.7.tar.bz2
  - cd libksba-1.6.7
  - ./configure
  - make V=1
  - make check VERBOSE=t V=1

You can put that in a .gitlab-ci.yml and push it to GitLab and you will end up with a nice pipeline job output.

As you may imagine, there are several things that are sub-optimal in the before_script above that ought to be taken care of by the Guix container image, and I hope to be able to remove as much of the ugliness as possible. However that doesn’t change that these images are useful now, and I wanted to announce this work to allow others to start testing them and possibly offer help. I have started to make use of these images in some projects, see for example the libntlm commit for that.

You are welcome to join me in the Guix container images for GitLab CI/CD project! Issues and merge requests are welcome – happy hacking folks!

Thanks again to our outgoing sponsor: OS-SCi

Posted on December 19, 2024 by Michael G
We’re grateful for our weekly sponsor, OpenSource Science B.V., an educational institution focused on Open Source software. OS-SCi is training the next generation FOSS engineers, by using Open Source technologies and philosophy in a project learning environment. One final reminder: OS-SCi is offering OSNews readers a free / gratis online masterclass by Prof. Ir. Erik Mols on how the proprietary ecosystem is killing itself. This is a live event, on January 9, 2025 at 17:00 PM CET. Sign up here.

Jasemin Scene #186

Posted on December 18, 2024 by Michael G

Video by via Dailymotion Source Glumac/GlumicaSerhat TutumluerCeyda DüvenciÖzge ÖzderHale AkınlıBennu YıldırımlarBatuhan KaracakayaSongül ÖdenMelda AratCenk Ertanİlker Kurtİncilay ŞahinMetin BüktelEvrim SolmazServer MutluEce HakimDevrim ÖzderErdal BilingenFurkan Andıç Go to Source

«معاناة ولادتها بالغربة».. زينة تكشف سراً لأول مرة

Posted on December 18, 2024 by Michael G

Video by via Dailymotion Source «معاناة ولادتها بالغربة».. زينة تكشف سراً لأول مرة العين الإخبارية.. بوابة إخبارية عربية شاملة، تغطي أخبار العالم العربي والدولي .. تضعك دائما في قلب الحدث، لتصبح عينك على العالم برؤية مختلفة، ومحتوى متميز ———————————————– ‎زوروا مواقعنا الخاصة #العين_الإخبارية Website: https://al-ain.com X: https://x.com/AlAinNews TikTok: https://www.tiktok.com/@alainnews YouTube: https://www.youtube.com/c/AlAinNews Facebook: https://www.facebook.com/AlAinNews Instagram: https://www.instagram.com/AlAinNews…

Easy-to-follow tutorial for making a Christmas tree gate fold Christmas card

Posted on December 18, 2024 by Michael G

Video by via Dailymotion Source Katharina has made it easy for many people looking to add something special to their Christmas festivities with this fun tutorial. She shared a step-by-step guide to create a Christmas tree-shaped gate fold card using just an A4 sheet of paper. This easy-to-follow craft is perfect for those wanting to…

Wamen PPMI Gelar Simulasi Makan Bergizi Gratis di Grobogan

Posted on December 18, 2024 by Michael G

Video by via Dailymotion Source GROBOGAN, KOMPAS.TV – Simulasi makan bergizi gratis digelar Kementerian Perlindungan Pekerja Migran Indonesia di Grobogan, Jawa Tengah. Simulasi dilaksanakan di wilayah yang memiliki pekerja migran cukup banyak. Wakil Menteri Perlindungan Pekerja Migran Indonesia, Dzulfikar Ahmad Tawalla mendatangi Desa Wolo, Kecamatan Penawangan, Grobogan. Secara simbolis, Wakil Menteri menyerahkan makanan bergizi kepada…

Street Fight (2024) | Jason Statham’s Latest Action Thriller | Full Movie in 4K Ultra HD

Posted on December 18, 2024 by Michael G

Video by via Dailymotion Source Get ready for adrenaline-pumping action as Jason Statham stars in Street Fight, the ultimate action-packed thriller of 2024! Witness intense street battles, high-stakes drama, and jaw-dropping stunts in stunning 4K Ultra HD. Follow the story of a fearless fighter as he takes on a ruthless gang to protect his city….

ULTIM’ORA ANTICIPOPAGAMENTI ASSEGNO DI INCLUSIONE DICEMBRE 2024 + CALENDARIO PAGAMENTI ADI 2025

Posted on December 18, 2024 by Michael G

Video by via Dailymotion Source DATE DI PAGAMENTO DELL’ASSEGNO DI INCLUSIONE DI DICEMBRE 2024 E NUOVO CALENDARIO 2025 DELL’ASSEGNO DI INCLUSIONE INPS. Ciao amiche e amici di Radio UCI sono giulia e nel video di oggi ti parlo dei prossimi pagamenti ADI.___#assegnodiinclusione #adi #inps ___CAPITOLI00:00 PAGAMENTI ASSEGNO DI INCLUSIONE DICEMBRE 2024 + CALENDARIO PAGAMENTI ADI…

CENTRAL 98 | Dicas para evitar os quilinhos extras no fim de ano

Posted on December 18, 2024 by Michael G

Video by via Dailymotion Source A Dra. Tatiana Rage traz as dicas para você maneirar nas refeições chamativas no momento das confraternizações de fim ano, seja de Natal ou Réveillon. Go to Source

ARY News 4 PM Headlines | 18th DEC 2024 | NA speaker says ‘doors open’ for govt-PTI dialogue

Posted on December 18, 2024 by Michael G

Video by via Dailymotion Source #SpeakerAyazSadiq #PTI #PMLNGovernment #headlines PM directs actions to curb human trafficking defaming Pakistan Ravichandran Ashwin retires from international cricket No progress over political talks till now, says Hamid Raza Punjab revises schools winter vacations Restrictions on X causing minimal impact as less than 2% Pakistanis use it, claims IT minister…

  • Previous
  • 1
  • …
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • …
  • 1,531
  • Next

Recent Posts

  • An easy way to develop Home Assistant integrations
  • SmartEsq has launched an AI-powered MFN Election tool
  • Open Source email Clients
  • When and how to use benchmarking
  • How Plotly AI revolutionizes the dashboard development process

Categories

  • Android
  • Linux
  • News
  • Open Source
©2025 Open World News | Powered by Superb Themes
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT