From 734388ec1f44060a339a8f271dffa02280c071ce Mon Sep 17 00:00:00 2001 From: Yi-Te Huang Date: Wed, 26 Feb 2025 12:03:37 +0900 Subject: [PATCH] update buildkite CI pipeline settings --- .buildkite/CUDA_Ext.yml | 9 --------- .buildkite/pipeline.yml | 13 +++++++++++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.buildkite/CUDA_Ext.yml b/.buildkite/CUDA_Ext.yml index 589a310d3..40a80d6e5 100644 --- a/.buildkite/CUDA_Ext.yml +++ b/.buildkite/CUDA_Ext.yml @@ -22,12 +22,3 @@ steps: GROUP: "CUDA_Ext" SECRET_CODECOV_TOKEN: "ZfhQu/IcRLqNyZ//ZNs5sjBPaV76IHfU5gui52Qn+Rp8tOurukqgScuyDt+3HQ4R0hJYBw1/Nqg6jmBsvWSc9NEUx8kGsUJFHfN3no0+b+PFxA8oJkWc9EpyIsjht5ZIjlsFWR3f0DpPqMEle/QyWOPcal63CChXR8oAoR+Fz1Bh8GkokLlnC8F9Ugp9xBlu401GCbyZhvLTZnNIgK5yy9q8HBJnBg1cPOhI81J6JvYpEmcIofEzFV/qkfpTUPclu43WNoFX2DZPzbxilf3fsAd5/+nRkRfkNML8KiN4mnmjHxPPbuY8F5zC/PS5ybXtDpfvaMQc01WApXCkZk0ZAQ==;U2FsdGVkX1+eDT7dqCME5+Ox5i8GvWRTQbwiP/VYjapThDbxXFDeSSIC6Opmon+M8go22Bun3bat6Fzie65ang==" timeout_in_minutes: 60 - if: | - // Don't run Buildkite if the commit message includes the text [skip ci], [ci skip], or [no ci] - // Don't run Buildkite for PR draft - // Only run Buildkite when new commits and PR are made to main branch - build.message !~ /\[skip ci\]/ && - build.message !~ /\[ci skip\]/ && - build.message !~ /\[no ci\]/ && - !build.pull_request.draft && - (build.branch =~ /main/ || build.pull_request.base_branch =~ /main/) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 58abe6921..36199fd77 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,6 +1,17 @@ # see: https://github.com/staticfloat/forerunner-buildkite-plugin steps: - label: ":runner: Dynamically launch pipelines" + if: | + // Don't run Buildkite if the commit message includes the text [skip ci], [ci skip], or [no ci] + // Don't run Buildkite for PR draft + // Only run Buildkite when new commits and PR are made to main branch + build.message !~ /\[skip ci\]/ && + build.message !~ /\[ci skip\]/ && + build.message !~ /\[no ci\]/ && + !build.pull_request.draft && + (build.branch =~ /main/ || build.pull_request.base_branch =~ /main/) + agents: + queue: "juliagpu" plugins: - staticfloat/forerunner: # CUDA.jl tests watch: @@ -12,5 +23,3 @@ steps: - "test/ext-test/gpu/**" - "Project.toml" target: ".buildkite/CUDA_Ext.yml" - agents: - queue: "juliagpu"