Ken,

What I've been doing is a `docker pull ...` of the image I want to CI/CD with and then manually running a Docker container from it `docker run ...` and then basically stepping through the steps I'd put in my .gitlab-ci.yml file. This way I can catch any missing dependencies, any download certificate issues from my $work proxy, any packages / modules I "assume" are in the build but aren't and need to be `cpan install ...` ...

When I'm happy with that, then I create my .gitlab-ci.yml from my build notes and cross fingers it works the same! Most of the time it does. Note if you're going to do this for perl:5.16, perl:5.18, etc... I'd redo the steps for each just to make sure and then create a multi-step .gitlab-ci.yml that'll test them all.

Hope that helps!

Cheers.

In reply to Re: Perl images for GitLab CI by VinsWorldcom
in thread Perl images for GitLab CI by kcott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.