Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 29 additions & 61 deletions platform/clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,30 @@ defaults:
description: "green"
allowed_ip_addresses:
- 0.0.0.0/0
# clusters.tokens.allowed_ip_addresses:
# - 0.0.0.0/0
# clusters.queues:
# - key: new
# description: "The new queue!"

clusters:
- key: avocado
name: "Avocado"
description: "A nutrient-dense fruit high in healthy fats and fiber."
emoji: ":avocado:"
color: "#A2CFA5"
- key: yellow
name: "Yellow Cars"
description: "A cluster for yellow cars."
emoji: ":car-yellow:"
color: "#000000"
default_queue: build
queues:
- key: build
description: "The build queue for the Avocado cluster."
description: "The build queue for the yellow car cluster."
- key: restricted
description: "The restricted queue for the yellow car cluster."
- key: special
description: "The special queue for the yellow car cluster."
- key: blue
name: "Blue Cars"
description: "A cluster for blue cars."
emoji: ":car-blue:"
color: "#000000"
default_queue: build
queues:
- key: build
description: "The build queue for the blue car cluster."
agents:
- type: elastic-ci-stack
token_key: blue
Expand All @@ -40,36 +48,9 @@ clusters:
max_size: 5
root_volume_size: 50
- key: restricted
description: "The restricted queue for the Avocado cluster."
description: "The restricted queue for the blue car cluster."
- key: special
description: "The special queue for the Avocado cluster."
# - key: corn
# name: "Corn"
# description: "A staple grain rich in fiber and vitamins."
# emoji: ":corn:"
# color: "#FFE79B"
# default_queue: build
# queues:
# # []
# - key: build
# description: "The build queue for the Corn cluster."
# - key: restricted
# description: "The restricted queue for the Corn cluster."
# - key: special
# description: "The special queue for the Corn cluster."
- key: dumpling
name: "Dumpling"
description: "A delicious food item often filled with meat or vegetables."
emoji: ":dumpling:"
color: "#F5E6CC"
default_queue: build
queues:
- key: build
description: "The build queue for the Dumpling cluster."
- key: restricted
description: "The restricted queue for the Dumpling cluster."
- key: special
description: "The special queue for the Dumpling cluster."
description: "The special queue for the blue car cluster."
tokens:
- key: blue
description: "blue"
Expand All @@ -79,29 +60,16 @@ clusters:
description: "green"
allowed_ip_addresses:
- 0.0.0.0/0
- key: eggplant
name: "Eggplant"
description: "A versatile vegetable rich in antioxidants and vitamins."
emoji: ":eggplant:"
color: "#B565A7"
default_queue: build
queues:
- key: build
description: "The build queue for the Eggplant cluster."
- key: restricted
description: "The restricted queue for the Eggplant cluster."
- key: special
description: "The special queue for the Eggplant cluster."
- key: shrimp
name: "Shrimp"
description: "A high-protein seafood rich in omega-3 fatty acids."
emoji: ":fried_shrimp:"
color: "#FFA07A"
- key: black
name: "Black Cars"
description: "A cluster for black cars."
emoji: ":car-black:"
color: "#000000"
default_queue: build
queues:
- key: build
description: "The build queue for the Shrimp cluster."
description: "The build queue for the black car cluster."
- key: restricted
description: "The restricted queue for the Shrimp cluster."
description: "The restricted queue for the black car cluster."
- key: special
description: "The special queue for the Shrimp cluster."
description: "The special queue for the black car cluster."
23 changes: 12 additions & 11 deletions platform/terraform/provider.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
backend "s3" {
bucket = "pk01-dev-tfstate-clkzr2z66gw7"
key = "terraform.tfstate"
bucket = "pbtf01-dev-tfstate-robz82sou3y3"
key = "pbtofu.tfstate"
region = "us-east-1"
encrypt = true
dynamodb_table = "pk01-dev-tfstate-lock"
dynamodb_table = "pbtf01-dev-tfstate-lock"
}
required_providers {
buildkite = {
Expand All @@ -15,14 +15,14 @@ terraform {
source = "hashicorp/aws"
version = "~> 5.50.0"
}
# tls = {
# source = "hashicorp/tls"
# version = "~> 4.0.5"
# }
# random = {
# source = "hashicorp/random"
# version = "3.6.1"
# }
tls = {
source = "hashicorp/tls"
version = "~> 4.0.5"
}
random = {
source = "hashicorp/random"
version = "3.6.1"
}
}
required_version = ">= 1.8.3"
}
Expand All @@ -34,4 +34,5 @@ provider "buildkite" {

provider "aws" {
# Must set the `AWS_PROFILE` environment variable
# and `AWS_REGION` env var, too, profile ain't enough
}
2 changes: 1 addition & 1 deletion terraform/remote-state/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
project = "pk01"
project = "pbtf01"
environment = "dev"
aws_region = "us-east-1"