The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

continuous-delivery-template - continuous delivery workflow dockerhub, gitlab, and cpan

DESCRIPTION

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:

You need create an account on Docker Hub Container Regitry and configure the following secret variables on Gitlab CI / CD settings:

$DOCKER_USER

Your username on hub.docker.com.

$DOCKER_PASSWORD

Your password on hub.docker.com.

Git Repository:

https://gitlab.com/joenio/continuous-delivery-template

Docker Container Registry:

https://hub.docker.com/r/joenio/continuous-delivery-template

CPAN:

https://metacpan.org/release/continuous::delivery::template

USEFULL DOCUMENTS