about summary refs log tree commit diff
path: root/ops/buildkite/tvl.tf
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-01T17·17+0100
committerclbot <clbot@tvl.fyi>2023-02-01T17·25+0000
commit30c445405671ab64198c4c048436883dfbd726b9 (patch)
tree8cfa4a4cd7273f737a6190569a8bb6cf46c5499c /ops/buildkite/tvl.tf
parent87de3fff52baa927699fbc3a473302c169fec69d (diff)
fix(ops/buildkite): set default_branch explicitly r/5817
It looks like this needs to be set for the tvix pipeline to succeed.

It was set to `canon` for `tvl-kit` (not sure if manually, or some
autodetection previously did it for us that's not present anymore).

Anyways, this sets it to how it's set in the web interface, to hopefully
fix it.

Change-Id: Ic3eb60e3f421fa949a84dcdaa928823ff45f679a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8008
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'ops/buildkite/tvl.tf')
-rw-r--r--ops/buildkite/tvl.tf27
1 files changed, 15 insertions, 12 deletions
diff --git a/ops/buildkite/tvl.tf b/ops/buildkite/tvl.tf
index d5d809e4fc16..4c45909a0c36 100644
--- a/ops/buildkite/tvl.tf
+++ b/ops/buildkite/tvl.tf
@@ -24,22 +24,25 @@ provider "buildkite" {
 }
 
 resource "buildkite_pipeline" "depot" {
-  name        = "depot"
-  description = "Run full CI pipeline of the depot, TVL's monorepo."
-  repository  = "https://cl.tvl.fyi/depot"
-  steps       = file("./steps-depot.yml")
+  name           = "depot"
+  description    = "Run full CI pipeline of the depot, TVL's monorepo."
+  repository     = "https://cl.tvl.fyi/depot"
+  steps          = file("./steps-depot.yml")
+  default_branch = "refs/heads/canon"
 }
 
 resource "buildkite_pipeline" "tvix" {
-  name        = "tvix"
-  description = "Tvix, an exported subset of TVL depot"
-  repository  = "https://code.tvl.fyi/depot.git:workspace=views/tvix.git"
-  steps       = file("./steps-tvix.yml")
+  name           = "tvix"
+  description    = "Tvix, an exported subset of TVL depot"
+  repository     = "https://code.tvl.fyi/depot.git:workspace=views/tvix.git"
+  steps          = file("./steps-tvix.yml")
+  default_branch = "canon"
 }
 
 resource "buildkite_pipeline" "tvl_kit" {
-  name        = "tvl-kit"
-  description = "TVL Kit, an exported subset of TVL depot"
-  repository  = "https://code.tvl.fyi/depot.git:workspace=views/kit.git"
-  steps       = file("./steps-tvl-kit.yml")
+  name           = "tvl-kit"
+  description    = "TVL Kit, an exported subset of TVL depot"
+  repository     = "https://code.tvl.fyi/depot.git:workspace=views/kit.git"
+  steps          = file("./steps-tvl-kit.yml")
+  default_branch = "canon"
 }