1
0
Fork 0

linux agents and trigger new pipeline only

This commit is contained in:
Mikhail Goncharov 2023-08-31 18:18:13 +02:00
parent 4285a96511
commit 96e3f866ae
2 changed files with 19 additions and 19 deletions

View file

@ -18,7 +18,7 @@ metadata:
name: linux
namespace: buildkite
spec:
replicas: 6
replicas: 3
strategy:
rollingUpdate:
maxUnavailable: 1
@ -37,11 +37,11 @@ spec:
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
resources:
limits:
cpu: 30
memory: 80Gi
cpu: 55
memory: 200Gi
requests:
cpu: 30
memory: 80Gi
cpu: 55
memory: 200Gi
volumeMounts:
- name: github-ssh
mountPath: /mnt/ssh
@ -78,5 +78,5 @@ spec:
- name: workdir
emptyDir: {}
nodeSelector:
cloud.google.com/gke-nodepool: linux-agents-2
cloud.google.com/gke-nodepool: linux-56
terminationGracePeriodSeconds: 30

View file

@ -77,20 +77,20 @@ if __name__ == '__main__':
'env': env
}]
if run_build:
trigger_build_step = {
'trigger': trigger,
'label': ':rocket: build and test',
'async': False,
'depends_on': 'create-branch',
'build': {
'branch': f'phab-diff-{diff_id}',
'env': env,
},
}
steps.append(trigger_build_step)
# trigger_build_step = {
# 'trigger': trigger,
# 'label': ':rocket: build and test',
# 'async': False,
# 'depends_on': 'create-branch',
# 'build': {
# 'branch': f'phab-diff-{diff_id}',
# 'env': env,
# },
# }
# steps.append(trigger_build_step)
steps.append({
'trigger': 'experimental-goncharov',
'label': ':rocket: build and test (test)',
'trigger': 'phabricator-build',
'label': ':rocket: build and test',
'async': False,
'depends_on': 'create-branch',
'build': {