From 831b04a1e91b24ac4bd09664030bebc77c9a3273 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 3 Jun 2022 22:58:05 +0000 Subject: [PATCH] feat(ops/buildkite): Import main depot pipeline Change-Id: Id470750aa90505002c6a7e4f840e56c4939ed391 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5840 Tested-by: BuildkiteCI Reviewed-by: sterni --- ops/buildkite/steps-depot.yml | 6 ++++++ ops/buildkite/tvl.tf | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 ops/buildkite/steps-depot.yml diff --git a/ops/buildkite/steps-depot.yml b/ops/buildkite/steps-depot.yml new file mode 100644 index 000000000..011b29977 --- /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 752a33b09..5e15c5b8e 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") +}