about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-06-03T22·58+0000
committertazjin <tazjin@tvl.su>2022-06-06T11·05+0000
commit831b04a1e91b24ac4bd09664030bebc77c9a3273 (patch)
treecd2faac2cd61da830c41d3d8dda6ca94b5cd7f00 /ops
parentb29b6a092c1c80e91145782923437fbce08b9c9a (diff)
feat(ops/buildkite): Import main depot pipeline r/4214
Change-Id: Id470750aa90505002c6a7e4f840e56c4939ed391
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5840
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops')
-rw-r--r--ops/buildkite/steps-depot.yml6
-rw-r--r--ops/buildkite/tvl.tf7
2 files changed, 13 insertions, 0 deletions
diff --git a/ops/buildkite/steps-depot.yml b/ops/buildkite/steps-depot.yml
new file mode 100644
index 000000000000..011b29977144
--- /dev/null
+++ b/ops/buildkite/steps-depot.yml
@@ -0,0 +1,6 @@
+---
+steps:
+  - label: ":buildkite:"
+    key: ":init:"
+    command: |
+      buildkite-agent pipeline upload ops/pipelines/static-pipeline.yaml
diff --git a/ops/buildkite/tvl.tf b/ops/buildkite/tvl.tf
index 752a33b09233..5e15c5b8e92a 100644
--- a/ops/buildkite/tvl.tf
+++ b/ops/buildkite/tvl.tf
@@ -22,3 +22,10 @@ terraform {
 provider "buildkite" {
   organization = "tvl"
 }
+
+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")
+}