Skip to content

Commit 2cce0b3

Browse files
committed
repurpose to autorun_on_main
Signed-off-by: Huamin Li <[email protected]>
1 parent 6a46208 commit 2cce0b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

buildkite/test-template-ci.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ steps:
533533
--tag {{ docker_image_hpu }} \
534534
--progress plain \
535535
https://github.com/vllm-project/vllm-gaudi.git
536-
536+
537537
docker push {{ docker_image_hpu }}
538538
env:
539539
DOCKER_BUILDKIT: "1"
@@ -544,7 +544,7 @@ steps:
544544
- exit_status: -10 # Agent was lost
545545
limit: 2
546546
{% endif %}
547-
547+
548548
{% for step in steps %}
549549
{% if step.fast_check_only != true %}
550550

@@ -570,14 +570,14 @@ steps:
570570
{% set ns.blocked = 0 %}
571571
{% endif %}
572572

573-
{% if ns.blocked == 1 or (step.optional and nightly != "1") %}
573+
{% if (ns.blocked == 1 or (step.optional and nightly != "1")) and not (step.autorun_on_main == true and branch == "main") %}
574574
- block: "Run {{ step.label }}"
575575
depends_on: image-build
576576
key: block-{{ step.label | replace(" ", "-") | lower | replace("(", "") | replace(")", "") | replace("%", "") | replace(",", "-") | replace("+", "-") }}
577577
{% endif %}
578578

579579
- label: "{{ step.label }}"
580-
{% if ns.blocked == 1 or (step.optional and nightly != "1") %}
580+
{% if (ns.blocked == 1 or (step.optional and nightly != "1")) and not (step.autorun_on_main == true and branch == "main") %}
581581
depends_on: block-{{ step.label | replace(" ", "-") | lower | replace("(", "") | replace(")", "") | replace("%", "") | replace(",", "-") | replace("+", "-") }}
582582
{% else %}
583583
depends_on: {{ "image-build-cpu" if step.no_gpu else "image-build" }}

0 commit comments

Comments
 (0)