kcott has asked for the wisdom of the Perl Monks concerning the following question:
G'day All,
I have been tasked with investigating using GitLab CI/CD for our $work Perl modules. I am trying to locate documentation, or other information, on image: perl:5.???.
I started my search from "GitLab CI Pipeline for Perl DBD::Mock using Module::Build" (by Gábor Szabó). Then, via a few links, I found "DBD::Mock: .gitlab-ci.yml". This shows image: perl:5.X-threaded (where X is all even values from 8 to 30) and an image: perl:latest.
From "Gitlab Perl CI and CD Pipeline", again via a few links, I found "Perl - Official Image|Docker Hub". This page has an "Image Variants" section which explains the extension tags (e.g. -threaded) which was useful. However, it only lists Perl versions 5.30, 5.32 & 5.34 (and some without specific versions, e.g. latest).
At $work, we code to a minimum 5.16 version. I'd probably want image: perl:5.X (X=16..34) and image: perl:latest. It seems that there are only a limited number of official images. I don't want to just write image: perl:5.16, cross my fingers, and hope for the best (cargo-cult fashion). I would like to find out more: what's valid; do I need to download them; do I need to create them myself. So, any information on that would be greatly appreciated.
I have also looked in "GitLab CI/CD" and "Super Search". I didn't find anything useful; however, it's not impossible that I overlooked something in these.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl images for GitLab CI
by haukex (Archbishop) on May 05, 2022 at 08:11 UTC | |
by kcott (Archbishop) on May 05, 2022 at 11:46 UTC | |
|
Re: Perl images for GitLab CI
by VinsWorldcom (Prior) on May 05, 2022 at 11:06 UTC | |
by kcott (Archbishop) on May 05, 2022 at 12:10 UTC |