Skip to content

Cherry pick jammy#568

Merged
aramprice merged 3 commits into
ubuntu-noblefrom
cherry-pick-jammy
Apr 20, 2026
Merged

Cherry pick jammy#568
aramprice merged 3 commits into
ubuntu-noblefrom
cherry-pick-jammy

Conversation

@aramprice

Copy link
Copy Markdown
Member

Attempting to work around the invisible "merge conflict" in #565

This task doesn't have a cess to bosh-linux-stemcell-builder so it
needs to read `.ruby-version` from it's own resource.
Also add `.ruby-version` to the `bosh-stemcells-ci` resources's paths.
Copilot AI review requested due to automatic review settings April 20, 2026 20:05
@coderabbitai

coderabbitai Bot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 869743af-dba7-4285-9e72-c2d98240fb82

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cherry-pick-jammy

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 and usage tips.

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/task configuration to align Ubuntu Noble (24.04) stemcell builder CI with the intended GCP subnet naming and to ensure Ruby version detection works when the git resource is path-filtered.

Changes:

  • Read Ruby version from the repo root .ruby-version in the docker args generation task.
  • Set stemcell_details.subnet_int to "24" (and remove the previous "0" default) for Noble pipeline vars.
  • Rename GCP subnet references from bosh-integration-* to stemcell-builder-integration-* and include .ruby-version in the path-filtered CI git resource.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
ci/tasks/build-docker-args.sh Switches Ruby version source to ${REPO_ROOT}/.ruby-version to match how the task’s repo is checked out.
ci/pipelines/vars.yml Updates subnet_int for Noble to "24" and removes the old "0" entry.
ci/pipelines/builder.yml Updates subnet name prefixes and ensures .ruby-version is included in the paths:-filtered git resource.

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

@coderabbitai coderabbitai Bot 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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ci/pipelines/builder.yml (1)

361-366: 🧹 Nitpick | 🔵 Trivial

Verify the renamed GCP subnet exists before merging.

The GCP_SUBNET_NAME / VARS_SUBNETWORK_DEFAULT values consistently render to stemcell-builder-integration-24 across test-stemcells-ipv4, bats (cleanup/deploy/prepare), and the commented IPv6 block. The deploy/bats jobs will fail hard if that subnet has not been created (or renamed) in the target GCP project under gcp_project_id with a CIDR matching 10.100.24.0/24 (and matching the reserved/static partitioning used in the bats task).

Please confirm that the corresponding GCP subnet rename (from bosh-integration-* to stemcell-builder-integration-24) has been applied operationally prior to this pipeline being re-set, otherwise the first test-stemcells-ipv4 / bats run on ubuntu-noble will break.

Also applies to: 428-428, 564-564, 574-574, 591-591

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ci/pipelines/builder.yml` around lines 361 - 366, The pipeline hardcodes
GCP_SUBNET_NAME (rendering to stemcell-builder-integration-24) and related
network vars (INTERNAL_IP, INTERNAL_CIDR, INTERNAL_GW, RESERVED_RANGE) which
will cause jobs like test-stemcells-ipv4 and bats to fail if the subnet was not
actually renamed in the target project; add a pre-flight validation step in the
pipeline that uses the same computed subnet name (GCP_SUBNET_NAME) and project
(gcp_project_id) to call GCP (e.g., gcloud compute networks subnets describe or
equivalent) and fail fast with a clear error if the subnet/CIDR/reserved ranges
do not exist or do not match INTERNAL_CIDR/RESERVED_RANGE, or alternatively
update the vars to the correct existing subnet name if an operational rename
occurred (ensure you update every occurrence including VARS_SUBNETWORK_DEFAULT
usage referenced in the comment).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@ci/pipelines/builder.yml`:
- Around line 361-366: The pipeline hardcodes GCP_SUBNET_NAME (rendering to
stemcell-builder-integration-24) and related network vars (INTERNAL_IP,
INTERNAL_CIDR, INTERNAL_GW, RESERVED_RANGE) which will cause jobs like
test-stemcells-ipv4 and bats to fail if the subnet was not actually renamed in
the target project; add a pre-flight validation step in the pipeline that uses
the same computed subnet name (GCP_SUBNET_NAME) and project (gcp_project_id) to
call GCP (e.g., gcloud compute networks subnets describe or equivalent) and fail
fast with a clear error if the subnet/CIDR/reserved ranges do not exist or do
not match INTERNAL_CIDR/RESERVED_RANGE, or alternatively update the vars to the
correct existing subnet name if an operational rename occurred (ensure you
update every occurrence including VARS_SUBNETWORK_DEFAULT usage referenced in
the comment).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 931d850e-a999-478a-96bd-941367efcb21

📥 Commits

Reviewing files that changed from the base of the PR and between ebad940 and 1fc8f8d.

📒 Files selected for processing (3)
  • ci/pipelines/builder.yml
  • ci/pipelines/vars.yml
  • ci/tasks/build-docker-args.sh

@aramprice aramprice merged commit c57d0bb into ubuntu-noble Apr 20, 2026
14 checks passed
@aramprice aramprice deleted the cherry-pick-jammy branch April 20, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants