estafette-ci-api

command module
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 48 Imported by: 0

README

Estafette CI

The estafette-ci-api component is part of the Estafette CI system documented at https://estafette.io.

Please file any issues related to Estafette CI at https://github.com/estafette/estafette-ci-central/issues

Estafette-ci-api

This component handles all api calls for github, bitbucket and slack integrations; it serves api calls for the web frontend; and it creates build jobs in Kubernetes doing the hard work.

Installation

Prepare using Helm:

brew install kubernetes-helm
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller --wait

Then install or upgrade with Helm:

helm repo add estafette https://helm.estafette.io
helm upgrade --install estafette-ci --namespace estafette-ci estafette/estafette-ci

Development

To start development run

git clone git@github.com:estafette/estafette-ci-api.git
cd estafette-ci-api
go get github.com/golang/mock/mockgen

Before committing your changes run

go generate ./...
go test -short ./...
go mod tidy

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api
clients/bigquery
Package bigquery is a generated GoMock package.
Package bigquery is a generated GoMock package.
clients/bitbucketapi
Package bitbucketapi is a generated GoMock package.
Package bitbucketapi is a generated GoMock package.
clients/builderapi
Package builderapi is a generated GoMock package.
Package builderapi is a generated GoMock package.
clients/cloudsourceapi
Package cloudsourceapi is a generated GoMock package.
Package cloudsourceapi is a generated GoMock package.
clients/cloudstorage
Package cloudstorage is a generated GoMock package.
Package cloudstorage is a generated GoMock package.
clients/cockroachdb
Package cockroachdb is a generated GoMock package.
Package cockroachdb is a generated GoMock package.
clients/dockerhubapi
Package dockerhubapi is a generated GoMock package.
Package dockerhubapi is a generated GoMock package.
clients/githubapi
Package githubapi is a generated GoMock package.
Package githubapi is a generated GoMock package.
clients/prometheus
Package prometheus is a generated GoMock package.
Package prometheus is a generated GoMock package.
clients/pubsubapi
Package pubsubapi is a generated GoMock package.
Package pubsubapi is a generated GoMock package.
clients/slackapi
Package slackapi is a generated GoMock package.
Package slackapi is a generated GoMock package.
services/bitbucket
Package bitbucket is a generated GoMock package.
Package bitbucket is a generated GoMock package.
services/catalog
Package catalog is a generated GoMock package.
Package catalog is a generated GoMock package.
services/cloudsource
Package cloudsource is a generated GoMock package.
Package cloudsource is a generated GoMock package.
services/estafette
Package estafette is a generated GoMock package.
Package estafette is a generated GoMock package.
services/github
Package github is a generated GoMock package.
Package github is a generated GoMock package.
services/queue
Package queue is a generated GoMock package.
Package queue is a generated GoMock package.
services/rbac
Package rbac is a generated GoMock package.
Package rbac is a generated GoMock package.

Jump to

Keyboard shortcuts

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