1
0
Fork 0

buildbots config, cloudbuild and artifacts registry

This commit is contained in:
Mikhail Goncharov 2023-10-05 15:50:25 +02:00
parent 2f9e6fbf78
commit c923185aee
4 changed files with 22 additions and 9 deletions

View file

@ -0,0 +1,5 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'us-central1-docker.pkg.dev/llvm-premerge-checks/docker/buildbot-linux', '.' ]
images:
- 'us-central1-docker.pkg.dev/llvm-premerge-checks/docker/buildbot-linux:latest'

View file

@ -1,6 +1,5 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/${PROJECT_ID}/buildkite-premerge-debian:latest', '.']
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/${PROJECT_ID}/buildkite-premerge-debian:latest']
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'us-central1-docker.pkg.dev/llvm-premerge-checks/docker/buildkite-linux', '.' ]
images:
- 'us-central1-docker.pkg.dev/llvm-premerge-checks/docker/buildkite-linux:latest'

View file

@ -15,18 +15,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: buildbot-windows-test
name: buildbot-windows
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: buildbot-windows-test
app: buildbot-windows
template:
metadata:
labels:
app: buildbot-windows-test
app: buildbot-windows
spec:
containers:
- name: runner
@ -44,6 +44,15 @@ spec:
env:
- name: WORKDIR
value: "c:/ws" # matching workdir
- name: BUILDBOT_PASSWORD
valueFrom:
secretKeyRef:
name: buildbot-premerge-windows-1
key: password
- name: BUILDBOT_NAME
value: premerge-windows-1
- name: BUILDBOT_ADDRESS
value: lab.llvm.org:9994
# Empty dir volume can use all disk space from VM. By default container
# disk will only be 20Gb and run out of space.
volumes:

View file

@ -34,7 +34,7 @@ spec:
spec:
containers:
- name: runner
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
image: us-central1-docker.pkg.dev/llvm-premerge-checks/docker/buildkite-linux:latest
resources:
limits:
cpu: 31