Skip to content

[v8][cherry-pick] feat(ci): label bosh-lite GCP resources for tracking#3831

Open
prkalle wants to merge 1 commit into
cloudfoundry:v8from
prkalle:add/resource_labels_v8
Open

[v8][cherry-pick] feat(ci): label bosh-lite GCP resources for tracking#3831
prkalle wants to merge 1 commit into
cloudfoundry:v8from
prkalle:add/resource_labels_v8

Conversation

@prkalle

@prkalle prkalle commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description of the Change

This PR adds belongs-to=cli / environment=<env> labels to the CF infra resources CI provisions on GCP for tracking
Cherry-pick of : #3830

Why Is This PR Valuable?

This PR helps to track the resource usage of cli.

Applicable Issues

How Urgent Is The Change?

Fairly urgent as there is ask to add the labels to infra resources by end of this month.

Other Relevant Parties

Who else is affected by the change?

Add belongs-to=cli / environment=<env> labels to the CF infra
resources CI provisions on GCP for tracking
- director VM: labels set via the google CPI (bosh-lite-vm-type.yml),
  with env_name threaded through create-director-override.sh
- director boot/persistent disks and the static external IP: labeled
  with gcloud in create-bosh-lite.yml (the CPI has no disk-label
  property, and the IP is created by bbl's terraform)

Labeling is best-effort so a labeling hiccup never tears down a good
env. VPC networks, subnets and firewall rules are intentionally not
labeled -- GCP does not support labels on those resource types.

Signed-off-by: Prem Kumar Kalle <prem.kalle@broadcom.com>

@anujc25 anujc25 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.

LGTM. Thanks

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