1
0
Fork 0
llvm-premerge-checks/scripts
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
metrics fixed report writing 2020-05-06 17:24:26 +02:00
phab2github added documentation, fixed constructor 2020-03-13 16:58:12 +01:00
phabtalk extended log scan preiod to 90 days 2020-05-12 08:46:24 +02:00
.gitignore first draft of benchmark script 2020-03-25 09:07:28 +01:00
benchmark.py write results on failures 2020-04-02 09:44:13 +02:00
choose_projects.py By default: building all enabled projects. 2020-04-23 11:22:31 +02:00
clang-format.ignore Ignore selected paths for clang-format and clang-tidy 2020-01-22 19:05:36 +01:00
clang-tidy-comments.ignore Ignore selected paths for clang-format and clang-tidy 2020-01-22 19:05:36 +01:00
clang-tidy.ignore Ignore selected paths for clang-format and clang-tidy 2020-01-22 19:05:36 +01:00
cleanup_branches.py continuing after failures 2020-05-08 16:24:16 +02:00
common.ps1 fixed more windows weirdness 2019-12-16 10:09:47 +00:00
ignore_diff.py fixed linter script 2020-03-26 09:47:45 +01:00
lint.sh changed output paths of lint.sh 2020-03-26 10:19:20 +01:00
llvm-dependencies.yaml added missing dependency 2020-05-11 16:55:20 +02:00
requirements.txt upgrade gitpython to 3.0.6 2020-02-24 15:04:46 +00:00
run_buildkite.ps1 added quotes 2020-02-05 14:27:08 +01:00
run_buildkite.sh setting targetdir 2020-01-17 10:25:24 +01:00
run_cmake.ps1 changing git diff after changes were committed 2020-02-10 16:28:41 +01:00
run_cmake.py fix issue as 'all' can't be built 2020-05-11 16:09:27 +02:00
run_cmake.sh removed lldb 2020-04-24 11:59:37 +02:00
run_cmake_config.yaml Revert "added -DCMAKE_BUILD_TYPE=RelWithDebInfo for Windows builds" 2020-04-23 11:45:52 +02:00
run_ninja.ps1 changed error action 2020-01-17 15:56:23 +01:00
run_ninja.py wiping sccache on timeouts 2020-05-04 14:22:49 +00:00
run_ninja.sh trying to fix partial test XML 2020-02-06 17:48:36 +01:00
windows_agent_bootstrap.ps1 improved windows agent creation 2020-05-08 13:19:04 +02:00
windows_agent_start.ps1 added testing option 2020-04-02 08:42:08 +02:00