GithubHelp home page GithubHelp logo

prowess's Introduction

Prow

Prow is a CI system that offers various features such as rich Github automation. Read more about the project : Prow

Project setup

We use prow for github hooks integration mostly. Read about the requirements for the bot access rights on your repo : Getting started

How this instance is setup

Setup an AKS cluster with HTTP-routing enabled.

  • create a .secrets folder at the root of the repo
    • generate the secrets (.secrets/hmac-token and .secrets/cookie.txt). -> make generate-secrets
    • add the github bot oauth token used by tide for decrypting the events : .secrets/oauth-token
    • add the github bot authentication secrets for deck : .secrets/github-secret
  • make prow-prereq will setup the prow crds, setup the cert-manager and issuer for SSL endpoint, and add the secrets to the cluster
  • make prow-config adds the config maps and plugins

Before deploying the services, make sure to set the cluster's public ip address DNS name in the MC_* resource group, and that the ingress' host properties are aligned with it. then :

  • make prow-services adds the prow services.

Set your github's project hook to https://<PROW_URL>/hook and send it all events. A green tick should come up.

Troubleshoot

kubectl get pods
k get pods
NAME                    READY   STATUS    RESTARTS   AGE
deck-85ccfb7749-9gjp2   1/1     Running   0          19m
hook-6c468b8d4b-9xqht   1/1     Running   0          19h
tide-65b756f66-wcfhd    1/1     Running   0          167m

Check the logs for tide and hook

kubectl logs hook-6c468b8d4b-9xqht
kubectl logs tide-65b756f66-wcfhd

Access the deck at https://<PROW_URL>

Add a repo to tide integration

  1. Give the bot Contributor Write access to the repo
  2. Add https://<PROW_URL>/hook as a hook to your repo (need the secret hmac-token from keyvault)
  3. Add your repo to config.yaml and plugin.yaml
  4. make prow-config-update

prowess's People

Contributors

serbrech avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.