about summary refs log tree commit diff
path: root/ops/buildkite/buildkite.tf
blob: e663adbf7ed18d6a33bef85c4c16b58069396aaf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
provider "google" {
  project = "fcuny-homelab"
  region  = "us-west1"
  zone    = "us-west1-c"
}

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

  backend "gcs" {
    bucket = "world-tf-state"
    prefix = "buildkite/state"
  }
}

provider "buildkite" {
  organization = "fcuny-dot-xyz"
}

resource "buildkite_pipeline" "world" {
  name        = "world"
  description = "CI pipeline for the world repository."
  repository  = "https://cl.fcuny.net/world"
  steps       = file("./steps.yml")
}