| |
| resource "buildkite_pipeline" "bazel-remote-cache" { |
| name = "Bazel Remote Cache" |
| repository = "https://github.com/buchgr/bazel-remote.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = false |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "google-bazel-presubmit" { |
| name = "Google Bazel Presubmit" |
| repository = "https://bazel.googlesource.com/bazel.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = { |
| ENABLE_METRICS_COLLECTION = "true" |
| }, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline --print_shard_summary --file_config=.bazelci/presubmit.yml | tee /dev/tty | buildkite-agent pipeline upload'" |
| ], |
| priority = 99 |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| maximum_timeout_in_minutes = 60 |
| skip_intermediate_builds = false |
| tags = [] |
| provider_settings = null |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| } |
| |
| resource "buildkite_pipeline" "bazel-bazel-examples" { |
| name = "Bazel :bazel: Examples" |
| repository = "https://github.com/bazelbuild/examples.git" |
| default_branch = "main" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline --file_config=.bazelci/presubmit.yml | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-toolchains" { |
| name = "Bazel toolchains" |
| repository = "https://github.com/bazelbuild/bazel-toolchains.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "tulsi-bazel-darwin" { |
| name = "Tulsi :bazel: :darwin:" |
| repository = "https://github.com/bazelbuild/tulsi.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| branch_configuration = "master bazel/*" |
| cancel_intermediate_builds = true |
| cancel_intermediate_builds_branch_filter = "!master !bazel/*" |
| skip_intermediate_builds = true |
| skip_intermediate_builds_branch_filter = "!master !bazel/*" |
| tags = [] |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = true |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-watcher" { |
| name = "Bazel watcher" |
| repository = "https://github.com/bazelbuild/bazel-watcher.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = false |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| |
| |
| resource "buildkite_pipeline" "bazel-codelabs" { |
| name = "Bazel Codelabs" |
| repository = "https://github.com/bazelbuild/codelabs.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline --file_config=.bazelci/presubmit.yml | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = false |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = true |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-gazelle" { |
| name = "Bazel Gazelle" |
| repository = "https://github.com/bazel-contrib/bazel-gazelle.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline --file_config=.bazelci/presubmit.yml | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = false |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = true |
| separate_pull_request_statuses = true |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-at-head-plus-downstream" { |
| name = "Bazel@HEAD + Downstream" |
| repository = "https://github.com/bazelbuild/bazel.git" |
| description = "Test Bazel@HEAD + downstream projects@last_green_commit" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = { |
| BAZELCI_DOWNSTREAM_PIPELINE = "true" |
| UPDATE_BAZEL_LOCK_FILE = "true" |
| }, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py bazel_downstream_pipeline --file_config=.bazelci/build_bazel_binaries.yml | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| # GitHub activities are disabled for this pipeline |
| trigger_mode = "none" |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-bench" { |
| name = "bazel-bench" |
| repository = "https://github.com/bazelbuild/bazel-bench.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = false |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = true |
| separate_pull_request_statuses = true |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-central-registry" { |
| name = "Bazel Central Registry" |
| repository = "https://github.com/bazelbuild/bazel-central-registry.git" |
| description = "Running tests for BCR" |
| default_branch = "main" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| branch_configuration = "main gh-readonly-queue/{base_branch}/*" |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = true |
| separate_pull_request_statuses = true |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = true |
| skip_builds_for_existing_commits = true |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-bazel-macos-ninja" { |
| name = "Bazel :bazel: :macos: :ninja:" |
| repository = "https://github.com/bazelbuild/bazel.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = { |
| ENCRYPTED_BUILDKITE_ANALYTICS_TOKEN = "CiQA4DEB9rzbux2bc8Cn1JvZIggsEeEq0GCnh1xykjNdwcgN/YESQgAqwcvXqhZ5FkGlrfoeE5/7JLEqQ0vYCfVIKPI9JR0cuo8s3oYZTyxBjbHEhsnh31+LnK2K3GiLyc+vDP7EyNx0ww==" |
| }, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/fweikert/continuous-integration/token/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py --script https://raw.githubusercontent.com/fweikert/continuous-integration/token/buildkite/bazelci.py project_pipeline --print_shard_summary --http_config=https://raw.githubusercontent.com/fweikert/bazel/macos_v2/.bazelci/postsubmit.yml | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| branch_configuration = "master" |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| # GitHub activities are disabled for this pipeline |
| trigger_mode = "none" |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-platforms-bazel" { |
| name = "Bazel Platforms :bazel:" |
| repository = "https://github.com/bazelbuild/platforms.git" |
| default_branch = "main" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-worker-api" { |
| name = "bazel-worker-api" |
| repository = "https://github.com/bazelbuild/bazel-worker-api.git" |
| default_branch = "main" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = true |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = true |
| skip_builds_for_existing_commits = true |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "vscode-bazel-vs-bazel" { |
| name = "vscode-bazel :vs: :bazel:" |
| repository = "https://github.com/bazelbuild/vscode-bazel.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| # GitHub activities are disabled for this pipeline |
| trigger_mode = "none" |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-skylib" { |
| name = "Bazel skylib" |
| repository = "https://github.com/bazelbuild/bazel-skylib.git" |
| default_branch = "main" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-at-head-plus-disabled" { |
| name = "Bazel@HEAD + Disabled" |
| repository = "https://github.com/bazelbuild/bazel.git" |
| description = "Test disabled downstream projects to see if they are already fixed." |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = { |
| BAZELCI_DOWNSTREAM_PIPELINE = "true" |
| }, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py bazel_downstream_pipeline --file_config=.bazelci/build_bazel_binaries.yml --test_disabled_projects | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| # GitHub activities are disabled for this pipeline |
| trigger_mode = "none" |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-arm64" { |
| name = "Bazel (arm64)" |
| repository = "https://github.com/bazelbuild/bazel.git" |
| description = "Run Bazel test suite on Linux ARM64 platform" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline --http_config=https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/pipelines/bazel-linux-arm64.yml?$(date +%s) | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = false |
| build_tags = true |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = true |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "build.pull_request.labels includes \"linux-arm64-presubmit\"" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = false |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "limdor-bazel-examples" { |
| name = "limdor/bazel-examples" |
| repository = "https://github.com/limdor/bazel-examples" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bcr-bazel-compatibility-test" { |
| name = "BCR Bazel Compatibility Test" |
| repository = "https://github.com/bazelbuild/bazel-central-registry.git" |
| description = "Test any given Bazel version with any given BCR modules and optionally with incompatible flags. See https://github.com/bazelbuild/continuous-integration/tree/master/buildkite/bazel-central-registry#bcr-bazel-compatibility-test" |
| default_branch = "main" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = { |
| CI_RESOURCE_PERCENTAGE : 10 |
| USE_BAZEL_VERSION : "last_rc" |
| # INCOMPATIBLE_FLAGS: "--incompatible_enable_deprecated_label_apis,--incompatible_disable_native_repo_rules" |
| # USE_BAZELISK_MIGRATE: "1" |
| # SELECT_TOP_BCR_MODULES: 5 |
| # MODULE_SELECTIONS: "rules_java@latest" |
| # SMOKE_TEST_PERCENTAGE: 2 |
| # SKIP_WAIT_FOR_APPROVAL: 1 |
| }, |
| steps = { |
| image = "gcr.io/bazel-public/ubuntu2404", |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazel-central-registry/bcr_presubmit.py?$(date +%s)\" -o bcr_presubmit.py", |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazel-central-registry/bcr_compatibility.py?$(date +%s)\" -o bcr_compatibility.py", |
| "python3 bcr_compatibility.py" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| emoji = ":bazel:" |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| pipeline_template_id = null |
| provider_settings = { |
| # GitHub activities are disabled for this pipeline |
| trigger_mode = "none" |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-bazel" { |
| name = "Bazel :bazel:" |
| repository = "https://github.com/bazelbuild/bazel.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = { |
| DOCS_DIR = "docs" |
| ENABLE_METRICS_COLLECTION = "true" |
| }, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| # Optional: Add --monitor_flaky_tests=true to disable receiving remote cache |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline --file_config=.bazelci/postsubmit.yml --print_shard_summary | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| branch_configuration = "master release-*" |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = false |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazelisk" { |
| name = "Bazelisk" |
| repository = "https://github.com/bazelbuild/bazelisk.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline --file_config=.bazelci/config.yml | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| branch_configuration = "master" |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = false |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = false |
| pull_request_branch_filter_configuration = "" |
| publish_commit_status = true |
| publish_commit_status_per_step = false |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = false |
| skip_builds_for_existing_commits = false |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazelisk-plus-incompatible-flags" { |
| name = "Bazelisk + Incompatible flags" |
| repository = "https://github.com/bazelbuild/continuous-integration.git" |
| description = "Use bazelisk --migrate to test incompatible flags with downstream projects@last_green_commit" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = { |
| BAZELCI_DOWNSTREAM_PIPELINE = "true" |
| USE_BAZELISK_MIGRATE = "true" |
| BAZELISK_CLEAN = "1" |
| USE_BAZEL_VERSION = "last_green" |
| }, |
| steps = { |
| commands = [ |
| "bash -c 'set -euo pipefail; python3 buildkite/bazelci.py bazel_downstream_pipeline | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| # GitHub activities are disabled for this pipeline |
| trigger_mode = "none" |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-auto-sheriff-face-with-cowboy-hat" { |
| name = "Bazel Auto Sheriff :face_with_cowboy_hat:" |
| repository = "https://github.com/bazelbuild/continuous-integration.git" |
| description = "A pipeline to do most of work for the Bazel Green Team" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = {}, |
| steps = { |
| commands = [ |
| "cd buildkite", |
| "python3 bazel_auto_sheriff.py" |
| ], |
| label = ":male-police-officer: :female-police-officer: :police_car:" |
| } |
| }) |
| allow_rebuilds = true |
| cancel_intermediate_builds = false |
| skip_intermediate_builds = false |
| tags = [] |
| branch_configuration = null |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| # GitHub activities are disabled for this pipeline |
| trigger_mode = "none" |
| } |
| } |
| |
| resource "buildkite_pipeline" "bazel-bazel-github-presubmit" { |
| name = "Bazel :bazel: Github Presubmit" |
| repository = "https://github.com/bazelbuild/bazel.git" |
| default_branch = "master" |
| steps = templatefile("pipeline.yml.tpl", { |
| envs = { |
| USE_BAZEL_DIFF = "true" |
| ENABLE_METRICS_COLLECTION = "true" |
| }, |
| steps = { |
| commands = [ |
| "curl -sS \"https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?$(date +%s)\" -o bazelci.py", |
| "bash -c 'set -euo pipefail; python3 bazelci.py project_pipeline --file_config=.bazelci/presubmit.yml | tee /dev/tty | buildkite-agent pipeline upload'" |
| ] |
| } |
| }) |
| allow_rebuilds = true |
| branch_configuration = "!master !release-* !copybara_*" |
| cancel_intermediate_builds = true |
| skip_intermediate_builds = true |
| tags = [] |
| cluster_id = null |
| color = null |
| default_team_id = null |
| emoji = null |
| pipeline_template_id = null |
| provider_settings = { |
| trigger_mode = "code" |
| build_branches = true |
| build_pull_requests = true |
| build_tags = false |
| build_pull_request_forks = true |
| build_pull_request_ready_for_review = false |
| build_pull_request_labels_changed = false |
| build_pull_request_base_branch_changed = false |
| prefix_pull_request_fork_branch_names = true |
| filter_enabled = false |
| filter_condition = "" |
| pull_request_branch_filter_enabled = true |
| pull_request_branch_filter_configuration = "!copybara_*" |
| publish_commit_status = true |
| publish_commit_status_per_step = true |
| separate_pull_request_statuses = false |
| publish_blocked_as_pending = true |
| cancel_deleted_branch_builds = true |
| skip_builds_for_existing_commits = true |
| skip_pull_request_builds_for_existing_commits = true |
| ignore_default_branch_pull_requests = false |
| build_merge_group_checks_requested = false |
| cancel_when_merge_group_destroyed = false |
| use_merge_group_base_commit_for_git_diff_base = false |
| } |
| } |
| |
| |
| |
| |
| |