2019-10-04 10:26:20 +02:00
|
|
|
# Overview
|
2023-10-13 17:05:56 +02:00
|
|
|
This folder contains files related to the machines running the build/test/checks
|
|
|
|
for the merge guards.
|
2019-11-26 17:10:30 +01:00
|
|
|
|
|
|
|
## Scripts
|
|
|
|
The scripts are written in bash (for Linux) and powershell (for Windows).
|
|
|
|
|
|
|
|
### build_run.(sh|ps1)
|
|
|
|
Build the docker image and run it locally. This is useful for testing it.
|
|
|
|
|
|
|
|
### build_deploy.(sh|ps1)
|
2023-10-13 17:05:56 +02:00
|
|
|
Build the docker and deploy it to the GCP registry. This is useful for deploying
|
|
|
|
it in the Kubernetes cluster.
|
|
|
|
|
|
|
|
`buildkite-linux` has a cloudbuild.yaml and can be build / deployed by running
|
|
|
|
`gcloud builds submit --config ./cloudbuild.yaml`.
|
|
|
|
|
|
|
|
Note that some of the images are stored at
|
|
|
|
us-central1-docker.pkg.dev/llvm-premerge-checks/docker/ and some at
|
|
|
|
gcr.io/llvm-premerge-checks/ . Prefer a former one if possible.
|