Skip to content

Use perl-versions@v2.0#147

Open
happy-barney wants to merge 2 commits intoPerl:mainfrom
happy-barney:hpb/perl-versions-v2
Open

Use perl-versions@v2.0#147
happy-barney wants to merge 2 commits intoPerl:mainfrom
happy-barney:hpb/perl-versions-v2

Conversation

@happy-barney
Copy link
Contributor

perl-versions now supports target parameter to avoid accidental failures when new version is added but perl-tester docker image is not published yet.

Version v2.0:
- uses `until-perl` instead of `to-perl`
- supports new `single-out` input/output parameter to provide one version
  to be treated specially and excluded from the `perl-versions` output
- supports `target` parameter to allow building a hierarchy of targets
  without temporary failures. For example:
  - `docker-perl-tester` will use the `perl` target
  - every other workflow using `docker-perl-tester` will use the
    `perl-tester` target
The default target is `perl-tester` (referring to this repository).

The `target` parameter was introduced to handle asynchronicity
during the publishing process. The updated workflow is:
- `perl-versions` adds a new version (e.g. upcoming v5.44) to the `perl` target
- the default target (`perl-tester`) still provides 5.42 as the latest,
  ensuring jobs do not fail with "there is no v5.44 built yet"
- once v5.44 is successfully created, it is added to the `perl-tester` target
@atoomic
Copy link
Member

atoomic commented Feb 26, 2026

Are the smoker failures, coming from CPAN flapping installation issues?

@happy-barney
Copy link
Contributor Author

I'll look at it tomorrow or during weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants