Site Tools

Table of Contents

Using Gitlab and Satis to generate private composer Repository

This is mainly a wrapper for mborne/satis-gitlab intended to make it easy to use with minimal and simple configuration. Best used together with Gitlab. I'm using Gitlab Pages behind Apache, NGINX is the default/recommended way to use Gitlab Pages with.

{"name":"SATIS repository","homepage":"http://localhost/satis/","require":[],"require-dependencies":true,"require-dev-dependencies":true,"config":{"secure-http":false// Not required for https},"twig-template":"template/index.html.twig"}

Trigger on tag_push

Want to trigger your satis projects pipeline each time a Tag is created/deleted ?

Add the follwing file to /opt/gitlab/embedded/service/gitlab-rails/plugins/gitlab_pages_satis.rb

Make it executable (chmod +x gitlab_pages_satis.rb)

validate your plugins using sudo gitlab-rake plugins:validate to make sure its running