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 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: test-linux-buildkite name: linux-big
namespace: buildkite namespace: buildkite
spec: spec:
replicas: 1 replicas: 1
@ -26,11 +26,11 @@ spec:
type: RollingUpdate type: RollingUpdate
selector: selector:
matchLabels: matchLabels:
app: test-linux-buildkite app: linux-test-big
template: template:
metadata: metadata:
labels: labels:
app: test-linux-buildkite app: linux-test-big
spec: spec:
containers: containers:
- name: buildkite-linux - name: buildkite-linux
@ -58,7 +58,7 @@ spec:
fieldRef: fieldRef:
fieldPath: metadata.name fieldPath: metadata.name
- name: BUILDKITE_AGENT_TAGS - 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 - name: BUILDKITE_BUILD_PATH
value: "/var/lib/buildkite-agent/builds" value: "/var/lib/buildkite-agent/builds"
- name: BUILDKITE_API_TOKEN - name: BUILDKITE_API_TOKEN

View file

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

View file

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

View file

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

View file

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