web

command
v0.0.0-...-7d5e071 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2017 License: MIT Imports: 30 Imported by: 0

README

Decap Web Service

This project's dependencies are managed by the dep tool, which is emerging as the official Go dependency management tool.

This is the core web service for Decap. It exposes REST API endoints for a web UI frontend, and receives post commit hooks from Github (and eventually other repository managers, including Stash and Bitbucket), and parses those events and launches a new build in the build container accordingly.

A given branch on a project is locked in etcd to ensure that only one container is building this project branch at any one time. This may be more important for some projects types than others.

Post commit hook endpoints

HTTP endpoints for various source code management systems

Repository Manager Name URL
Github /hooks/github
Build scripts repository reload /hooks/buildscripts

Github post-commit hooks should be pointed at /hooks/github. Decap will parse the payload and launch a build accordingly.

The /hooks/buildscripts endpoint is a special endpoint that post-commit hooks on the build-scripts repository should hit. It forces a reload of the managed Projects.

REST API

Read more about the Decap REST API.

More information

See the Developer Getting Started Guide for more information

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
Package storage implements the backing store for build artifacts.
Package storage implements the backing store for build artifacts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL