1
0
Fork 0
llvm-premerge-checks/kubernetes/buildbot/windows.yaml
Mikhail Goncharov 9ee22a88c9 buildbot agents
2023-10-04 13:35:05 +02:00

59 lines
1.7 KiB
YAML

# Copyright 2022 Google LLC
#
# Licensed under the the Apache License v2.0 with LLVM Exceptions (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://llvm.org/LICENSE.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
name: buildbot-windows-test
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: buildbot-windows-test
template:
metadata:
labels:
app: buildbot-windows-test
spec:
containers:
- name: runner
image: gcr.io/llvm-premerge-checks/buildbot-windows:latest
resources:
limits:
cpu: 31
memory: 110Gi
requests:
cpu: 31
memory: 110Gi
volumeMounts:
- name: workdir
mountPath: "C:\\ws"
env:
- name: WORKDIR
value: "c:/ws" # matching workdir
# Empty dir volume can use all disk space from VM. By default container
# disk will only be 20Gb and run out of space.
volumes:
- name: workdir
emptyDir: {}
nodeSelector:
cloud.google.com/gke-nodepool: windows-32
tolerations:
- key: "node.kubernetes.io/os"
operator: "Equal"
value: "windows"
effect: "NoSchedule"
terminationGracePeriodSeconds: 30