Skip to content

ghenry/docker-gitlab-ci-for-perl-modules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a build machine for perl modules with Docker.

For now, only Dist::Zilla project will works.

You can pull the docker image :

sudo docker pull celogeek/gitlab-ci-perlbrew

Or build it

./build.sh

To use it with gitlab_ci_runner :

Create a directory into the gitlab_ci_runner with special right. It will keep the cache of build modules.

mkdir ~/buildlib
chmod 2777 ~/buildlib

You gitlab_ci_runner need to have right to run sudo docker run.

First add docker groups :

sudo groupadd docker
sudo adduser gitlab_ci_runner docker
sudo visudo

And add this :

%docker ALL = NOPASSWD: /usr/local/bin/docker run *

To start a test in gitlabci, here the command :

sudo docker run -v ~/buildlib:/buildlib -v $PWD:/build celogeek/gitlab-ci-perlbrew

About

Docker to build perl-modules with gitlab_ci_runner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%