tackle utility walks you through deploying a new instance of prow
in a couple of minutes, try it out!
Tackle at this point in time needs to be built from source. The following steps will walk you through the process:
- Clone the
git clone firstname.lastname@example.org:kubernetes/test-infra.git
tackle(This requires a working go installation on your system)
cd test-infra/prow/cmd/tackle && go build -o tackle
- Optionally move
sudo mv tackle /usr/sbin/tackle
Note: Creating a cluster using the
tackle utility assumes you
gcloud application in your
$PATH and are logged in. If you are
doing this on another cloud skip to the Manual deployment below.
Installing Prow using
tackle will help you through the following steps:
- Choosing a kubectl context (or creating a cluster on GCP / getting its credentials if necessary)
- Deploying prow into that cluster
- Configuring GitHub to send prow webhooks for your repos. This is where you’ll provide the absolute
To install prow run the following and follow the on-screen instructions:
- Once your cluster is created, you’ll get a prompt to apply a
starter.yaml. Before you do that open another terminal and apply the prow CRDs using:
kubectl apply --server-side=true -f https://raw.githubusercontent.com/kubernetes/test-infra/master/config/prow/cluster/prowjob-crd/prowjob_customresourcedefinition.yaml
After that specify the
starter.yamlyou want to use (please make sure to replace the values mentioned here). Once that is done some pods still won’t be in the
Runningstate because we haven’t created the secret containing the credentials needed for our GCS bucket. To do that follow the steps in Configure a GCS bucket.
Once that is done,
tackleshould show you the URL where you can access the prow dashboard. To use it with your repositories head over to the settings of the GitHub app you created and there under webhook secret, supply the HMAC token you specified in the
Once that is done, install the GitHub app on the repositories you want (this is only needed if you ran
--skip-githubflag) and you should now be able to use Prow :)
See the Next Steps section after running this utility.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.