2022-06-04 00:40:40 +02:00
|
|
|
# Buildkite configuration for TVL.
|
|
|
|
|
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
buildkite = {
|
|
|
|
source = "buildkite/buildkite"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
backend "s3" {
|
2024-09-01 14:13:59 +02:00
|
|
|
endpoints = {
|
|
|
|
s3 = "https://objects.dc-sto1.glesys.net"
|
|
|
|
}
|
2022-06-04 00:40:40 +02:00
|
|
|
bucket = "tvl-state"
|
|
|
|
key = "terraform/tvl-buildkite"
|
|
|
|
region = "glesys"
|
|
|
|
|
|
|
|
skip_credentials_validation = true
|
|
|
|
skip_region_validation = true
|
|
|
|
skip_metadata_api_check = true
|
2024-09-01 14:13:59 +02:00
|
|
|
skip_requesting_account_id = true
|
|
|
|
skip_s3_checksum = true
|
2022-06-04 00:40:40 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
provider "buildkite" {
|
|
|
|
organization = "tvl"
|
|
|
|
}
|
2022-06-04 00:58:05 +02:00
|
|
|
|
|
|
|
resource "buildkite_pipeline" "depot" {
|
2023-02-01 18:17:44 +01:00
|
|
|
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"
|
2022-06-04 00:58:05 +02:00
|
|
|
}
|
2022-06-04 01:03:29 +02:00
|
|
|
|
2023-02-01 17:36:49 +01:00
|
|
|
resource "buildkite_pipeline" "tvix" {
|
2023-02-01 18:17:44 +01:00
|
|
|
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"
|
2023-02-01 17:36:49 +01:00
|
|
|
}
|
|
|
|
|
2022-06-04 01:03:29 +02:00
|
|
|
resource "buildkite_pipeline" "tvl_kit" {
|
2023-02-01 18:17:44 +01:00
|
|
|
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"
|
2022-06-04 01:03:29 +02:00
|
|
|
}
|