Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.29 KB

Deployment Guide.md

File metadata and controls

46 lines (33 loc) · 1.29 KB

Deploy Prow

  1. Create Namespaces
$ kubectl create namespace prow
$ kubectl create namespace test-pods
# non-mandetory, used for the grafana dashboard
$ kubectl create namespace grafana-dashboard
  1. Import the tls certificate from the cert-manager

  2. Deploy the configs:

$ kubectl create configmap config -n prow --from-file=config.yaml=./config/prow/config.yaml -o=yaml --dry-run=client | kubectl create -n prow -f -
$ kubectl create configmap plugins -n prow --from-file=plugins.yaml=./config/prow/plugins.yaml -o=yaml --dry-run=client | kubectl create -n prow -f -
# Dummy configmap to proceed the prow deployment
$ kubectl create configmap job-config -n prow
  1. Deploy the job configs:
$ ./hack/update-job-config.sh
  1. Deploy the buildfarms configuration - here

  2. Deploy all the required secrets

Note: Maintained in the IBM's internal GHE repository

  1. Deploy the prow
$ cd cluster
$ kubectl apply -f .

How to manually update the configmaps

$ kubectl create configmap config -n prow --from-file=config.yaml=config.yaml -o=yaml --dry-run | kubectl replace -f -
$ kubectl create configmap plugins -n prow --from-file=plugins.yaml=plugins.yaml -o=yaml --dry-run | kubectl replace -f -