1
0
Fork 0
Commit graph

13 commits

Author SHA1 Message Date
Mikhail Goncharov
80978127ee update containers for linux + container for win 2023-08-28 12:05:01 +02:00
Mikhail Goncharov
a271c42e6f update cmake to 3.23 and llvm to 16 in linux image 2023-04-21 10:15:01 +02:00
Mikhail Goncharov
39264db819 add sudo for llvm installation and sample run script 2023-01-30 12:48:19 +01:00
Mikhail Goncharov
76d6f29154 use one dockerfile, upgrade to clang 15
successfully run
https://buildkite.com/llvm-project/llvm-main/builds/6204 based on this
image
2022-12-25 15:01:13 +01:00
Christian Kühnel
6394ae39b4 Adding an emptyDir to kubernetes deployment
This should resolve the out-of-disk problems reported in #379
2022-01-19 17:44:42 +01:00
Mikhail Goncharov
f7058aaa51 add post-checkout to run git prune
fix #321
2021-07-27 18:16:40 +02:00
Mikhail Goncharov
1b603e884a migrage linux-agents to a new pool 2021-05-15 10:58:23 +02:00
Mikhail Goncharov
e703a856cb Add graceful termination period for linux agents
Now builds will not be dropped on cluster upgrades. That requires
container updates.
2021-05-14 14:56:18 +02:00
Mikhail Goncharov
dd4e6210bb pre-checkout hook
That will fix #112 by checking out into 'llvm-project' directory
(derived from repository name).
2020-06-17 14:41:00 +02:00
Mikhail Goncharov
1505cfb635 build 2020-05-14 12:57:38 +02:00
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
Mikhail Goncharov
e860c29a47 Checkout scripts and define pipeline in python 2020-04-24 14:47:00 +02:00
Mikhail Goncharov
27ab5abd0a Forked docker image for premerge
- added simple script to define pipeline, it will check out from this
  repo later

- refactored docker container, e.g. merged most of the RUN steps into
  one and moved steps that are likely to change closer to the end. That
  should improve rebuild / upload speed.

Sample run: https://buildkite.com/llvm-project/premerge/builds/14
2020-04-24 12:29:44 +02:00