From 7dcfdd6215ee08a434869b76f86e57f66b923ef4 Mon Sep 17 00:00:00 2001 From: Brian Seeders Date: Fri, 8 Sep 2023 11:10:41 -0400 Subject: [PATCH] [buildkite] Pause periodic triggers temporarily due to agent capacity (#99373) --- .buildkite/scripts/periodic.trigger.sh | 2 + catalog-info.yaml | 78 +++++++++++++------------- 2 files changed, 41 insertions(+), 39 deletions(-) diff --git a/.buildkite/scripts/periodic.trigger.sh b/.buildkite/scripts/periodic.trigger.sh index 3571d112c5b6d..36d106e87ee9c 100644 --- a/.buildkite/scripts/periodic.trigger.sh +++ b/.buildkite/scripts/periodic.trigger.sh @@ -2,6 +2,8 @@ set -euo pipefail +exit 0 + echo "steps:" source .buildkite/scripts/branches.sh diff --git a/catalog-info.yaml b/catalog-info.yaml index b9c0c98b45e6c..4eb88fd121985 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -98,45 +98,45 @@ spec: build_pull_requests: false publish_commit_status: false trigger_mode: none ---- -# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json -apiVersion: backstage.io/v1alpha1 -kind: Resource -metadata: - name: buildkite-pipeline-elasticsearch-periodic-trigger - description: Triggers periodic pipelines for all required branches - links: - - title: Pipeline - url: https://buildkite.com/elastic/elasticsearch-periodic-trigger -spec: - type: buildkite-pipeline - system: buildkite - owner: group:elasticsearch-team - implementation: - apiVersion: buildkite.elastic.dev/v1 - kind: Pipeline - metadata: - description: ":elasticsearch: Triggers periodic pipelines for all required branches" - name: elasticsearch / periodic / trigger - spec: - repository: elastic/elasticsearch - pipeline_file: .buildkite/scripts/periodic.trigger.sh - branch_configuration: main - teams: - elasticsearch-team: {} - ml-core: {} - everyone: - access_level: BUILD_AND_READ - provider_settings: - build_branches: false - build_pull_requests: false - publish_commit_status: false - trigger_mode: none - schedules: - Periodically on main: - branch: main - cronline: "0 0,8,16 * * * America/New_York" - message: "Triggers pipelines 3x daily" +# --- +# # yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json +# apiVersion: backstage.io/v1alpha1 +# kind: Resource +# metadata: +# name: buildkite-pipeline-elasticsearch-periodic-trigger +# description: Triggers periodic pipelines for all required branches +# links: +# - title: Pipeline +# url: https://buildkite.com/elastic/elasticsearch-periodic-trigger +# spec: +# type: buildkite-pipeline +# system: buildkite +# owner: group:elasticsearch-team +# implementation: +# apiVersion: buildkite.elastic.dev/v1 +# kind: Pipeline +# metadata: +# description: ":elasticsearch: Triggers periodic pipelines for all required branches" +# name: elasticsearch / periodic / trigger +# spec: +# repository: elastic/elasticsearch +# pipeline_file: .buildkite/scripts/periodic.trigger.sh +# branch_configuration: main +# teams: +# elasticsearch-team: {} +# ml-core: {} +# everyone: +# access_level: BUILD_AND_READ +# provider_settings: +# build_branches: false +# build_pull_requests: false +# publish_commit_status: false +# trigger_mode: none +# schedules: +# Periodically on main: +# branch: main +# cronline: "0 0,8,16 * * * America/New_York" +# message: "Triggers pipelines 3x daily" --- # yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json apiVersion: backstage.io/v1alpha1