From 1cece0f294a361a93d5e6c25ff0c60eaddbd3886 Mon Sep 17 00:00:00 2001 From: Rene Groeschke Date: Thu, 28 Aug 2025 19:42:27 +0200 Subject: [PATCH] Run snyk check in periodic build for each development branch we filter by regex for common name pattern of the dev branches to reduce risk of running from development branch. in reality those periodic builds are not likely to be triggered by developers so this is a good enough compromise. Branches that are not developed anymore will stay in snyk for now and require manual removal. --- .buildkite/pipelines/periodic.template.yml | 2 +- .buildkite/pipelines/periodic.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipelines/periodic.template.yml b/.buildkite/pipelines/periodic.template.yml index d00a38d5dad23..1406ba0c570bd 100644 --- a/.buildkite/pipelines/periodic.template.yml +++ b/.buildkite/pipelines/periodic.template.yml @@ -246,7 +246,7 @@ steps: image: family/elasticsearch-ubuntu-2404 machineType: n2-standard-8 buildDirectory: /dev/shm/bk - if: build.branch == "main" || build.branch == "9.1" || build.branch == "9.0" || build.branch == "8.19" || build.branch == "8.18" || build.branch == "7.17" + if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$/ - label: check-branch-consistency command: .ci/scripts/run-gradle.sh branchConsistency timeout_in_minutes: 15 diff --git a/.buildkite/pipelines/periodic.yml b/.buildkite/pipelines/periodic.yml index a279218464a3f..edeb8e715f511 100644 --- a/.buildkite/pipelines/periodic.yml +++ b/.buildkite/pipelines/periodic.yml @@ -684,7 +684,7 @@ steps: image: family/elasticsearch-ubuntu-2404 machineType: n2-standard-8 buildDirectory: /dev/shm/bk - if: build.branch == "main" || build.branch == "9.1" || build.branch == "9.0" || build.branch == "8.19" || build.branch == "8.18" || build.branch == "7.17" + if: build.branch =~ /^(main|\d+\.\d+|\d+\.x)$/ - label: check-branch-consistency command: .ci/scripts/run-gradle.sh branchConsistency timeout_in_minutes: 15