about summary refs log blame commit diff
path: root/ops/buildkite/tvl.tf
blob: 5e15c5b8e92a6cc2a920d8fa36c2a8cfb81087f9 (plain) (tree)























                                                   






                                                                    
# Buildkite configuration for TVL.

terraform {
  required_providers {
    buildkite = {
      source = "buildkite/buildkite"
    }
  }

  backend "s3" {
    endpoint = "https://objects.dc-sto1.glesys.net"
    bucket   = "tvl-state"
    key      = "terraform/tvl-buildkite"
    region   = "glesys"

    skip_credentials_validation = true
    skip_region_validation      = true
    skip_metadata_api_check     = true
  }
}

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")
}