Skip to content

tunguski/kosher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab Java Event Listener Base Application

Build Status Coverage Status

Base application for creating GitLab event listener.

Building Kosher application

  1. Maven build: mvn clean install
  2. Build development docker container: docker build -t tunguski/kosher .
  3. Run Kosher locally: docker run --name kosher -d -p 10081:8080 --volumes-from=gitlab_gitlab_1 tunguski/kosher

Test development version

  1. Create test project in Gitlab. We use cloned Kosher project for this purpose.
  2. Add Webhook that connects Gitlab build to Kosher: http://kosher:8080/hooks
  3. Test your webhook in Gitlab. It should start Kosher build. You can check if it started by looking at logs: docker logs -f --tail=20 kosher It should produce build logs for started build.
  4. Check resulted build via Kosher web view. Our test project is cloned as tunguski/kosher and test build starts for master branch. If you configure project as described here, you should be able to see result at http://localhost:10081/tunguski/kosher/master/index.html

Developing Kosher style

If you want to work on your site's style, please read Kosher-base-style README for more information.

About

Base GitLab events listening application

Resources

License

Stars

Watchers

Forks

Packages

No packages published