continuous-delivery-template - continuous delivery workflow dockerhub, gitlab, and cpan
Perl template application configured to use Gitlab CI/CD service as continuous delivery workflow.
On the Perl side, this application template uses Dist::Zilla as building, testing and releasing framework.
hack on application code git commit ... git push
This will trigger building, testing and publishing the docker image with :ci tag to dockerhub.
If all tests pass and you are going to release a new version should use Dist::Zila as follows:
dzil release
Dist::Zilla will create a new git tag based on version number on lib/continuous/delivery/template.pm file and push the tag to github.
Dist::Zilla will publish the release on CPAN, the CPAN will run tests under a variety of platforns and environments throught CPANTESTERS.
Before you can upload Perl modules to CPAN you need to create an account on The [Perl programming] Authors Upload Server:
https://pause.perl.org
You need create an account on Docker Hub Container Regitry and configure the following secret variables on Gitlab CI / CD settings:
Your username on hub.docker.com.
Your password on hub.docker.com.
https://gitlab.com/joenio/continuous-delivery-template
https://hub.docker.com/r/joenio/continuous-delivery-template
https://metacpan.org/release/continuous::delivery::template
GitLab CI/CD Examples
Building Docker images with GitLab CI/CD
To install continuous::delivery::template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm continuous::delivery::template
CPAN shell
perl -MCPAN -e shell install continuous::delivery::template
For more information on module installation, please visit the detailed CPAN module installation guide.