1
0
Fork 0
llvm-premerge-checks/kubernetes
Mikhail Goncharov a152d97e3c Simple service to integrate harbormaster w/ buildkite
Harbormaster can send a request in url encoded form while buildkite
expects a POST request with json. Instead of modifying harbormastar or
buildkite this adds a simple proxy that accepts url encoded form and
creates a request that buildkite expects. To avoid potential abuse,
nginx asks for simple http auth credentials stored in harbormaster.

All build parameters passed by proxy are put into build metadata and as
ph_* env variables available during the build.

Secrets involved:
- harbormastert knows http-auth to proxy (stored in privatly and in k8
  buildkite/http-auth as auth file);
- proxy knows buildkite api token (mine atm);
- build agent knows conduit API token (mine atm),
  and SSH key of llvm-premerge-tests-bot (in k8 buildkite/github-ssh).

Sample build: https://reviews.llvm.org/harbormaster/build/64828/8/
https://buildkite.com/llvm-project/premerge/builds/48
2020-05-13 13:13:33 +02:00
..
buildkite Simple service to integrate harbormaster w/ buildkite 2020-05-13 13:13:33 +02:00
jenkins-staging configuration for new GCP project (#31) 2019-10-28 09:35:49 -07:00
phabricator-proxy Simple service to integrate harbormaster w/ buildkite 2020-05-13 13:13:33 +02:00
results-nginx configuration for new GCP project (#31) 2019-10-28 09:35:49 -07:00
reverse-proxy Update specs to match cert-manager 0.15 2020-05-07 14:38:48 +02:00
windows-agents added windows cluster 2020-02-03 12:41:54 +01:00
cluster_create.sh added windows cluster 2020-02-03 12:41:54 +01:00
cluster_delete.sh added license 2019-10-04 14:31:57 +02:00
deploy.sh backup for github launch 2019-10-14 09:07:34 +02:00
disk_create.sh forwarding credentials working on jenkins-staging 2019-10-09 18:29:44 +02:00
disk_delete.sh added license 2019-10-04 14:31:57 +02:00
jenkins.yaml upgraded to 4 Linux agents 2020-04-20 21:56:03 +02:00
nfs.yaml moved results storage to larger disk 2019-12-16 12:01:36 +01:00
storage_create.sh added scripts to set up cloud storage 2019-12-18 18:30:43 +01:00
store_buildkite_token.sh fixed namespaces 2020-01-17 11:42:16 +01:00
store_ssh_key.sh Simple service to integrate harbormaster w/ buildkite 2020-05-13 13:13:33 +02:00
windows_agent_create.sh changed machine name to argument 2020-05-08 11:31:48 +02:00