Skip to content

Commit

Permalink
remove prow cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
gongmax committed Jan 31, 2023
1 parent 1b12efb commit 7d9aae3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 111 deletions.
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/kubernetes_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ List of items to do for upgrading to {version}:
- [ ] GKE
- [ ] Azure
- [ ] EKS
- [ ] Update prow cluster (even though we aren't using it yet, we should keep it in sync)
- [ ] Recreate cluster with new scripts: `cd build/terraform/prow; terraform apply -var project=agones-images`
- [ ] Update e2e cluster
- [ ] Recreate cluster with new scripts: `cd build/terraform/e2e; terraform apply -var project=agones-images`
- [ ] Update kubectl in dev tooling
Expand Down
13 changes: 0 additions & 13 deletions build/includes/google-cloud.mk
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,6 @@ clean-gcloud-e2e-test-cluster:
$(MAKE) terraform-init BUCKET=$(GCP_PROJECT)-e2e-infra-bucket-tfstate PREFIX=terraform/state DIRECTORY=e2e
$(DOCKER_RUN) bash -c 'cd $(mount_path)/build/terraform/e2e && terraform destroy -var project=$(GCP_PROJECT) -auto-approve'

# Creates a gcloud cluster for prow
gcloud-prow-build-cluster: GCP_PROJECT ?= $(shell $(current_project))
gcloud-prow-build-cluster: $(ensure-build-image)
gcloud-prow-build-cluster:
$(MAKE) terraform-init BUCKET=$(GCP_PROJECT)-prow-infra-bucket-tfstate PREFIX=terraform/state DIRECTORY=prow
docker run --rm -it $(common_mounts) $(DOCKER_RUN_ARGS) $(build_tag) bash -c 'cd $(mount_path)/build/terraform/prow && \
terraform apply -auto-approve -var project="$(GCP_PROJECT)"'

# Deletes the gcloud prow build cluster
clean-gcloud-prow-build-cluster: $(ensure-build-image)
$(MAKE) terraform-init BUCKET=$(GCP_PROJECT)-prow-infra-bucket-tfstate PREFIX=terraform/state DIRECTORY=prow
$(DOCKER_RUN) bash -c 'cd $(mount_path)/build/terraform/prow && terraform destroy -var project=$(GCP_PROJECT) -auto-approve'

# Pulls down authentication information for kubectl against a cluster, name can be specified through GCP_CLUSTER_NAME
# (defaults to 'test-cluster')
gcloud-auth-cluster: $(ensure-build-image)
Expand Down
53 changes: 0 additions & 53 deletions build/terraform/prow/module.tf

This file was deleted.

43 changes: 0 additions & 43 deletions build/terraform/prow/state-bucket/main.tf

This file was deleted.

0 comments on commit 7d9aae3

Please sign in to comment.