1
0
Fork 0
Commit graph

782 commits

Author SHA1 Message Date
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
ChristianKuehnel
57a2668479
explained docker containers 2020-05-12 09:02:20 +02:00
Christian Kühnel
169744c617 extended log scan preiod to 90 days
fixes #181
2020-05-12 08:46:24 +02:00
Christian Kühnel
514a87aa4f added missing dependency 2020-05-11 16:55:20 +02:00
Christian Kühnel
2264ff6c41 fix issue as 'all' can't be built 2020-05-11 16:09:27 +02:00
ChristianKuehnel
e357d584d7
Update user_doc.md 2020-05-11 11:38:01 +02:00
ChristianKuehnel
6f9fdcec4e
updated diagram 2020-05-11 10:23:04 +02:00
ChristianKuehnel
75f28322cc
Update README.md 2020-05-11 09:55:53 +02:00
Christian Kühnel
07404db9a2 disabling lldb again 2020-05-11 09:18:57 +02:00
Christian Kühnel
da722d3e40 continuing after failures 2020-05-08 16:24:16 +02:00
Christian Kühnel
ab5a0b307d extending timeout to 30 minutes
Deleting branches is slower than I expected...
2020-05-08 15:45:16 +02:00
Christian Kühnel
510ed904f8 adding flush after every print
so it appears in the Jenkins logs
2020-05-08 15:36:13 +02:00
Christian Kühnel
8ea2a3b846 using different way for deleting remote branches 2020-05-08 15:33:45 +02:00
Christian Kühnel
d48ff97d0d only push if we deleted something 2020-05-08 15:27:09 +02:00
Christian Kühnel
e6437d35f0 added missing dir 2020-05-08 15:24:16 +02:00
Christian Kühnel
45b28dd0df first version of repo cleanup script 2020-05-08 15:23:10 +02:00
Christian Kühnel
4c48379707 improved windows agent creation 2020-05-08 13:19:04 +02:00
Christian Kühnel
21abbbcd59 cleanup of jenkins pipelines 2020-05-08 13:07:50 +02:00
Christian Kühnel
cbb2820ef0 changed machine name to argument 2020-05-08 11:31:48 +02:00
Christian Kühnel
2435a5489b trying custom workspace folder 2020-05-07 17:43:17 +02:00
Christian Kühnel
f9a9fb2be0 lldb tests were fixed, re-enabling it 2020-05-07 17:27:07 +02:00
Mikhail Goncharov
edc77c6e48
Merge pull request #179 from google/update-cert-manager
Update specs to match cert-manager 0.15
2020-05-07 14:40:43 +02:00
Mikhail Goncharov
d09a194b1c Update specs to match cert-manager 0.15
Certificates are created automatically and not needed
2020-05-07 14:38:48 +02:00
Christian Kühnel
f1c697c299 only run tests if build has passed
this relates to #176
2020-05-06 17:24:26 +02:00
Christian Kühnel
795d8270f7 fixed report writing 2020-05-06 17:24:26 +02:00
ChristianKuehnel
5011b8bfdb
Updated docs after rollout of apply_patch stage 2020-05-06 14:16:23 +02:00
Christian Kühnel
b0c4021fb3 renamed windows pipeline 2020-05-06 13:30:26 +02:00
Christian Kühnel
10454dfba8 improved error handling for agent identification 2020-05-06 13:11:28 +02:00
Christian Kühnel
dadb507afb copied beta to production pipelines 2020-05-06 13:11:03 +02:00
Christian Kühnel
289dec11b7 ignoring .DS_Store 2020-05-06 12:44:16 +02:00
Christian Kühnel
0e12d53def added agent detection 2020-05-06 12:43:35 +02:00
Christian Kühnel
971d4b8b74 fixes #175 2020-05-06 12:41:58 +02:00
Christian Kühnel
d55096bb7c getting workflow stages 2020-05-06 12:06:40 +02:00
Christian Kühnel
27da151340 creating tmp dir as needed 2020-05-05 16:54:08 +02:00
Christian Kühnel
d6e9b1f6c4 manual commands for vs config 2020-05-04 14:23:02 +00:00
Christian Kühnel
9fabda9800 wiping sccache on timeouts 2020-05-04 14:22:49 +00:00
Christian Kühnel
b819a22205 added --dryrun 2020-05-04 14:16:50 +00:00
Christian Kühnel
5fd70b614d disabled lldb because of failing tests
see https://results.llvm-merge-guard.org/master_debian_clang8-2152/console-log.txt
2020-04-29 12:17:52 +02:00
Christian Kühnel
9841a13bbf re-enabled lldb
after failing test was fixed
2020-04-29 11:46:26 +02:00
Christian Kühnel
b22cb43579 added comments on disabling sccache 2020-04-27 15:53:18 +02:00
Christian Kühnel
0299405e2b enabled sccache for windows phabricator 2020-04-27 12:57:13 +02:00
Christian Kühnel
3b1f8dd40e enabled sccache for windows master 2020-04-27 09:20:42 +02:00
Mikhail Goncharov
39667898a7 use env variables 2020-04-24 15:43:09 +02:00
Mikhail Goncharov
1a3952afc4
Merge pull request #171 from google/run-bootstrap-from-scripts
Checkout scripts and define pipeline in python
2020-04-24 14:48:09 +02:00
Mikhail Goncharov
e860c29a47 Checkout scripts and define pipeline in python 2020-04-24 14:47:00 +02:00
Christian Kühnel
b386bd2e0d fixed typo in path 2020-04-24 14:35:23 +02:00
Christian Kühnel
9db1fd9654 disabled compiler-rt 2020-04-24 13:56:28 +02:00
Christian Kühnel
3f34e2e244 added python prefixes 2020-04-24 13:51:18 +02:00
Christian Kühnel
c7dda433a1 added python prefixes 2020-04-24 13:47:09 +02:00
Mikhail Goncharov
8f2cc6f5b4
Merge pull request #166 from google/update-image-pipeline-bootstrap
Forked docker image for premerge
2020-04-24 12:30:36 +02:00