I’m working on what I plan to be the next version of my Perl CI Helpers project and it will break any existing use of said project.
Fortunately, I’ve been tagging releases and you can easily pin your consumption of the project to a specific tag! If you want to pin to the last release, you can do this in your config like this:
resources:
repositories:
- repository: ci-perl-helpers
type: github
name: houseabsolute/ci-perl-helpers
ref: refs/tags/v0.0.15
endpoint: houseabsolute/ci-perl-helpers
stages:
template: templates/build.yml@ci-perl-helpers
parameters:
image_version: v0.0.15
template: templates/test.yml@ci-perl-helpers
parameters:
image_version: v0.0.15
coverage: codecov
include_threaded_perls: 'true'
The highlighted lines are what is required to fully pin the helpers.
The next version will greatly increase the flexibility of the helpers, letting you test with any Perl version on any platform, instead of hardcoding macOS and Windows to just the latest stable Perl version. You’ll also be able to install arbitrary platform packages (apt, brew, or chocolatey), as well as add your own arbitrary list of pre- and post-test steps.