1
0
Fork 0

renames, new linux image (for test)

This commit is contained in:
Mikhail Goncharov 2023-08-28 18:58:35 +02:00
parent 0e00301500
commit 6883776b75
6 changed files with 25 additions and 23 deletions

View file

@ -15,7 +15,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-linux-buildkite
name: linux-big
namespace: buildkite
spec:
replicas: 1
@ -26,11 +26,11 @@ spec:
type: RollingUpdate
selector:
matchLabels:
app: test-linux-buildkite
app: linux-test-big
template:
metadata:
labels:
app: test-linux-buildkite
app: linux-test-big
spec:
containers:
- name: buildkite-linux
@ -58,7 +58,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: BUILDKITE_AGENT_TAGS
value: "queue=linux-test,name=$(POD_NAME),cluster=google"
value: "queue=linux-test-big,name=$(POD_NAME),cluster=google"
- name: BUILDKITE_BUILD_PATH
value: "/var/lib/buildkite-agent/builds"
- name: BUILDKITE_API_TOKEN

View file

@ -15,7 +15,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: buildkite-linux-agents-test
name: linux-test
namespace: buildkite
spec:
replicas: 1
@ -26,22 +26,22 @@ spec:
type: RollingUpdate
selector:
matchLabels:
app: linux-agents-test
app: linux-test
template:
metadata:
labels:
app: linux-agents-test
app: linux-test
spec:
containers:
- name: runner
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
resources:
limits:
cpu: 110
memory: 420Gi
cpu: 30
memory: 80Gi
requests:
cpu: 110
memory: 420Gi
cpu: 30
memory: 80Gi
volumeMounts:
- name: github-ssh
mountPath: /mnt/ssh
@ -78,5 +78,5 @@ spec:
- name: workdir
emptyDir: {}
nodeSelector:
cloud.google.com/gke-nodepool: linux-big
cloud.google.com/gke-nodepool: linux-agents-2
terminationGracePeriodSeconds: 30

View file

@ -15,7 +15,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: buildkite-service-agents-test
name: service-test
namespace: buildkite
spec:
replicas: 1
@ -26,11 +26,11 @@ spec:
type: RollingUpdate
selector:
matchLabels:
app: buildkite-service-agents
app: service-test
template:
metadata:
labels:
app: buildkite-service-agents
app: service-test
spec:
containers:
- name: runner
@ -56,7 +56,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: BUILDKITE_AGENT_TAGS
value: "queue=service-test,name=$(POD_NAME)"
value: "queue=service-test,name=$(POD_NAME),cluster=google"
- name: BUILDKITE_BUILD_PATH
value: "/var/lib/buildkite-agent/builds"
- name: CONDUIT_TOKEN

View file

@ -15,26 +15,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: service-agents
name: service
namespace: buildkite
spec:
replicas: 4
strategy:
rollingUpdate:
maxSurge: 50%
maxUnavailable: 50%
maxUnavailable: 1
maxSurge: 0
type: RollingUpdate
selector:
matchLabels:
app: agent-premerge-debian
app: service
template:
metadata:
labels:
app: agent-premerge-debian
app: service
spec:
containers:
- name: buildkite-premerge-debian
image: gcr.io/llvm-premerge-checks/buildkite-premerge-debian:stable
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
resources:
limits:
cpu: 2
@ -56,7 +56,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: BUILDKITE_AGENT_TAGS
value: "queue=service,name=$(POD_NAME)"
value: "queue=service,name=$(POD_NAME),cluster=google"
- name: CONDUIT_TOKEN
valueFrom:
secretKeyRef:

View file

@ -58,6 +58,8 @@ spec:
secretKeyRef:
name: buildkite-api-token-readonly
key: token
# - name: BUILDKITE_BUILD_CHECKOUT_PATH
# value: "c:\\ws\\src"
volumes:
- name: workdir
emptyDir: {}