Skip to content

CI: stop using spot-instance BATs directors#2729

Merged
aramprice merged 1 commit intomainfrom
stop-using-spot-instances
May 7, 2026
Merged

CI: stop using spot-instance BATs directors#2729
aramprice merged 1 commit intomainfrom
stop-using-spot-instances

Conversation

@aramprice
Copy link
Copy Markdown
Member

Remove preemptible: true from BATs director configurations. This flag causes GCP spot-instances to be used which are unreliable.

Copilot AI review requested due to automatic review settings May 7, 2026 15:34
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented May 7, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: aramprice / name: aram price (b2cb298)

@aramprice aramprice requested a review from beyhan May 7, 2026 15:35
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 7, 2026

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 258e803c-bbad-4a59-97d2-d865a9e6323b

📥 Commits

Reviewing files that changed from the base of the PR and between b147efd and b2cb298.

📒 Files selected for processing (2)
  • ci/bats/iaas/gcp/director-vars
  • ci/bats/iaas/gcp/prepare-bats-config.sh
💤 Files with no reviewable changes (2)
  • ci/bats/iaas/gcp/prepare-bats-config.sh
  • ci/bats/iaas/gcp/director-vars

Walkthrough

This pull request removes the preemptible: true configuration property from GCP-based BATS (Basic Acceptance Test Suite) test deployments. The change spans two related files: the prepare-bats-config.sh shell script that generates YAML configuration for GCP BATS deployments, and the director-vars file that outputs jq-generated JSON for GCP director variables. Both files previously included the preemptible VM setting, which is now removed while all other configuration properties remain intact.

Suggested reviewers

  • ramonskie
  • mkocher
  • a-hassanin
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description provides the essential change (removing 'preemptible: true') and the reason (spot-instances are unreliable), but omits most required template sections including contextual links, testing information, release notes guidance, breaking change assessment, and team tags. Add the missing template sections: contextual links/references, comprehensive list of tests run, release notes description for operators, breaking change assessment, and relevant team/reviewer tags.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: removing preemptible/spot-instance usage from BATs directors. It's concise, specific, and reflects the core objective of the changeset.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 stop-using-spot-instances

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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes GCP spot/preemptible configuration from the BATs director setup to avoid unreliable spot-instance behavior in CI.

Changes:

  • Remove preemptible: true from the generated BATs config YAML for GCP.
  • Remove "preemptible": true from the director vars JSON produced via jq.

Reviewed changes

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

File Description
ci/bats/iaas/gcp/prepare-bats-config.sh Stops injecting preemptible: true into bats-config.yml properties for GCP BATs.
ci/bats/iaas/gcp/director-vars Stops emitting the preemptible field in director vars JSON consumed by the GCP BATs pipeline.

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

@aramprice
Copy link
Copy Markdown
Member Author

NOTE: EasyCLA is currently broken. See cloudfoundry/cloud_controller_ng#5089 (comment)

Re-trigger EasyCLA via:

/easycla

@aramprice aramprice merged commit be4eab7 into main May 7, 2026
25 of 26 checks passed
@aramprice aramprice deleted the stop-using-spot-instances branch May 7, 2026 15:43
@lukaszgryglicki
Copy link
Copy Markdown

/easycla

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.

7 participants