Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

jenkins-x/prow-pipeline-controller

Repository files navigation

Nothing to see here

Instead look here lighthouse

Prow Pipeline Controller

This is a replacement controller for the original Prow pipeline controller intended for use within Jenkins-X. In contrast to the original controller, this version is aware of the Jenkins-X pipelinerunner controller available in jx and triggers pipeline runs by making HTTP requests to this controller.

The Prow Pipeline Controller is used and configured as part of the Prow Helm charts for Jenkins-X.

Development

The following paragraphs describe how to build and work with the source of this application.

Prerequisites

The project is written in Go, so you will need a working Go installation (Go version >= 1.12.4).

The build itself is driven by GNU Make which also needs to be installed on your system.

Compile the code

$ make `uname | tr '[:upper:]' '[:lower:]'`

After successful compilation the pipeline binary can be found in the bin directory.

Run the tests

$ make test

Check formatting

$ make check

Build Docker image

$ make docker

Cleanup

$ make clean