remove unneeded setup

This commit is contained in:
E M 2026-04-28 16:28:04 +10:00
parent 9f46e1ce8a
commit 70ae988c9b
No known key found for this signature in database
4 changed files with 3 additions and 20 deletions

View File

@ -6,7 +6,6 @@ module "gke" {
project = var.project
region = var.region
zone = var.zone
kubernetes_release_channel = "STABLE"
node_pool_name = "runners-ci-e2-standard-2"
node_pool_machine_type = "e2-standard-2"
node_pool_min = 1

View File

@ -7,18 +7,9 @@ resource "google_container_cluster" "this" {
deletion_protection = false
release_channel {
channel = var.kubernetes_release_channel
}
# Enable Workload Identity
workload_identity_config {
workload_pool = "${var.project}.svc.id.goog"
}
# Send pod stdout/stderr to Cloud Logging automatically
logging_service = "logging.googleapis.com/kubernetes"
monitoring_service = "monitoring.googleapis.com/kubernetes"
monitoring_service = "none"
node_pool {
name = var.node_pool_name

View File

@ -19,13 +19,6 @@ variable "zone" {
description = "The GCP zone for the cluster. Using a single zone avoids the longer provisioning time of a regional (multi-zone) cluster."
}
# Kubernetes Control Plane
variable "kubernetes_release_channel" {
type = string
description = "The GKE release channel: RAPID, REGULAR, or STABLE."
default = "STABLE"
}
# Kubernetes default Node Pool
variable "node_pool_name" {
type = string

View File

@ -213,7 +213,7 @@ jobs:
TF_VAR_project: ${{ vars.RELEASE_TESTS_GCP_PROJECT }}
TF_VAR_region: europe-west4
TF_VAR_zone: europe-west4-b
TF_PLUGIN_CACHE_DIR: ~/.terraform.d/plugin-cache
TF_PLUGIN_CACHE_DIR: /home/runner/.terraform.d/plugin-cache
STORAGEDOCKERIMAGE: ${{ github.ref_type == 'tag' && format('logosstorage/logos-storage-nim:{0}-dist-tests', github.ref_name) || 'logosstorage/logos-storage-nim:latest-dist-tests' }}
TEST_TYPE: release-tests
BRANCH: ${{ inputs.branch || 'master' }}
@ -224,7 +224,7 @@ jobs:
uses: actions/checkout@v4
- name: Create Terraform plugin cache dir
run: mkdir -p ~/.terraform.d/plugin-cache
run: mkdir -p /home/runner/.terraform.d/plugin-cache
- name: Cache Terraform plugins
uses: actions/cache@v4