Skip to content

Fix GCE terraform region/zone for light stemcell CI pipeline#690

Merged
Alphasite merged 2 commits into
ubuntu-jammyfrom
tnz-116382-fix-gce-region-europe-north2
Jul 14, 2026
Merged

Fix GCE terraform region/zone for light stemcell CI pipeline#690
Alphasite merged 2 commits into
ubuntu-jammyfrom
tnz-116382-fix-gce-region-europe-north2

Conversation

@Alphasite

@Alphasite Alphasite commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Two fixes to unblock the failing `create-light-google-ubuntu-jammy-1` CI build #16:

  1. Add explicit GCE region/zone — `light-google-environment-oss` terraform resource in `ci/pipeline-template.yml` was defaulting to `us-central1-f`, which returned "does not have enough resources available to fulfill the request (resource type: compute)". Switched to `europe-north2` / `europe-north2-a`.

  2. Switch machine type `n1-standard-2` → `e2-standard-2` — N1 machine types are not available in `europe-north2` at all. `e2-standard-2` is the equivalent (2 vCPU, 8 GB) and is supported across all `europe-north2` zones.

Files changed

File Change
`ci/pipeline-template.yml` Add `gce_region: europe-north2`, `gce_zone: europe-north2-a` to terraform vars
`ci/tasks/light-google/skeletal-deployment.yml` `machine_type: n1-standard-2` → `e2-standard-2`

Jira: TNZ-119889 / TNZ-116382

Test plan

  • Re-run `create-light-google-ubuntu-jammy-1` pipeline job to confirm it passes

Add europe-north2 region and europe-north2-a zone to the
light-google-environment-oss terraform resource to fix the
failing create-light-google-ubuntu-jammy-1 build.

See: https://bosh.ci.cloudfoundry.org/teams/stemcell/pipelines/ubuntu-jammy/jobs/create-light-google-ubuntu-jammy-1/builds/16

ai-assisted=yes
[TNZ-116382] Monthly Release - July patch
Copilot AI review requested due to automatic review settings July 14, 2026 01:30
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

The light-google-environment-oss Terraform resource now sets gce_region to europe-north2 and gce_zone to europe-north2-a in its source.vars configuration.

Suggested reviewers: copilot, aramprice, ystros

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers the change, but it omits the required merge-forward note and the AI review feedback section from the template. Add the merge-forward instructions and an AI Review Feedback section, including how each outstanding review comment was resolved.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main change: fixing the GCE region/zone for the light stemcell CI pipeline.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tnz-116382-fix-gce-region-europe-north2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Concourse pipeline template so the GCE terraform resource used for building light stemcells targets the intended Europe North 2 region/zone, avoiding Terraform falling back to us-central1 defaults and breaking the light stemcell CI flow.

Changes:

  • Adds gce_region: europe-north2 and gce_zone: europe-north2-a to the light-google-environment-oss terraform resource vars.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
N1 machine types are not available in europe-north2. Switch to
e2-standard-2 (2 vCPU, 8 GB) which is supported in all europe-north2
zones and is a direct equivalent to n1-standard-2.

ai-assisted=yes
[TNZ-116382] Monthly Release - July patch
@Alphasite
Alphasite merged commit f1b8122 into ubuntu-jammy Jul 14, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Jul 14, 2026
@Alphasite
Alphasite deleted the tnz-116382-fix-gce-region-europe-north2 branch July 14, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants