Skip to content

Commit

Permalink
[buildkite] Pause periodic triggers temporarily due to agent capacity (
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders authored Sep 8, 2023
1 parent 7d8615e commit 7dcfdd6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 39 deletions.
2 changes: 2 additions & 0 deletions .buildkite/scripts/periodic.trigger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -euo pipefail

exit 0

echo "steps:"

source .buildkite/scripts/branches.sh
Expand Down
78 changes: 39 additions & 39 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7dcfdd6

Please sign in to comment.