linux agents and trigger new pipeline only
This commit is contained in:
parent
4285a96511
commit
96e3f866ae
2 changed files with 19 additions and 19 deletions
|
@ -18,7 +18,7 @@ metadata:
|
||||||
name: linux
|
name: linux
|
||||||
namespace: buildkite
|
namespace: buildkite
|
||||||
spec:
|
spec:
|
||||||
replicas: 6
|
replicas: 3
|
||||||
strategy:
|
strategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxUnavailable: 1
|
maxUnavailable: 1
|
||||||
|
@ -37,11 +37,11 @@ spec:
|
||||||
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
|
image: gcr.io/llvm-premerge-checks/buildkite-linux:latest
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 30
|
cpu: 55
|
||||||
memory: 80Gi
|
memory: 200Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 30
|
cpu: 55
|
||||||
memory: 80Gi
|
memory: 200Gi
|
||||||
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-agents-2
|
cloud.google.com/gke-nodepool: linux-56
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
|
@ -77,20 +77,20 @@ if __name__ == '__main__':
|
||||||
'env': env
|
'env': env
|
||||||
}]
|
}]
|
||||||
if run_build:
|
if run_build:
|
||||||
trigger_build_step = {
|
# trigger_build_step = {
|
||||||
'trigger': trigger,
|
# 'trigger': trigger,
|
||||||
'label': ':rocket: build and test',
|
# 'label': ':rocket: build and test',
|
||||||
'async': False,
|
# 'async': False,
|
||||||
'depends_on': 'create-branch',
|
# 'depends_on': 'create-branch',
|
||||||
'build': {
|
# 'build': {
|
||||||
'branch': f'phab-diff-{diff_id}',
|
# 'branch': f'phab-diff-{diff_id}',
|
||||||
'env': env,
|
# 'env': env,
|
||||||
},
|
# },
|
||||||
}
|
# }
|
||||||
steps.append(trigger_build_step)
|
# steps.append(trigger_build_step)
|
||||||
steps.append({
|
steps.append({
|
||||||
'trigger': 'experimental-goncharov',
|
'trigger': 'phabricator-build',
|
||||||
'label': ':rocket: build and test (test)',
|
'label': ':rocket: build and test',
|
||||||
'async': False,
|
'async': False,
|
||||||
'depends_on': 'create-branch',
|
'depends_on': 'create-branch',
|
||||||
'build': {
|
'build': {
|
||||||
|
|
Loading…
Reference in a new issue