Skip to content

binary separation for all integration tests#5208

Merged
Neelabh94 merged 1 commit intoGoogleCloudPlatform:developfrom
kvenkatachala333:bin_sepearation_all
Feb 7, 2026
Merged

binary separation for all integration tests#5208
Neelabh94 merged 1 commit intoGoogleCloudPlatform:developfrom
kvenkatachala333:bin_sepearation_all

Conversation

@kvenkatachala333
Copy link
Member

Introduces binary zip bundle to use for daily tests and make for PR tests for all of the build files under tools/cloud-build/daily-tests/builds/ directory

@kvenkatachala333 kvenkatachala333 added the release-chore To not include into release notes label Feb 6, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @kvenkatachala333, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request implements a significant optimization for the project's integration testing pipeline. By introducing a binary separation strategy, daily integration tests will now leverage pre-compiled gcluster binaries fetched from Google Cloud Storage, drastically reducing the time spent on building the application from source. This change aims to accelerate daily feedback cycles and improve the overall efficiency of the continuous integration process, while maintaining the full build-from-source approach for pull request validations.

Highlights

  • Conditional Binary Usage: Integration tests now conditionally use a pre-built binary bundle for daily runs, while pull request tests continue to build from source.
  • GCS Binary Fetching: For daily tests, the gcluster-bundle.zip is downloaded from a specified Google Cloud Storage path, unzipped, and the gcluster binary is made executable.
  • Secret Management Integration: A new secret, GCLUSTER_GCS_PATH, has been integrated across all affected Cloud Build configurations to securely access the GCS bucket containing the binary bundle.
  • Test Prefix Differentiation: The _TEST_PREFIX substitution variable is utilized to differentiate between daily and pull request test environments, enabling the conditional logic for binary usage.
Changelog
  • tools/cloud-build/daily-tests/builds/ansible-vm.yaml
    • Introduced conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/batch-mpi.yaml
    • Added GCLUSTER_GCS_PATH to availableSecrets and secretEnv.
    • Implemented conditional logic to fetch and use a pre-built gcluster binary for daily tests, otherwise running make.
  • tools/cloud-build/daily-tests/builds/chrome-remote-desktop-ubuntu.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/chrome-remote-desktop.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/cloud-batch.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a2-highgpu-kueue-onspot.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a2-highgpu-kueue.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a3-highgpu-onspot.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a3-highgpu.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a3-megagpu-onspot.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a3-megagpu.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a3-ultragpu-onspot.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a3-ultragpu.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a4-onspot.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a4.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-a4x.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-g4.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-h4d-onspot.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-inactive-reservation.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-managed-hyperdisk.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-managed-lustre.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-storage.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-tpu-7x.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-tpu-v6e-flex.yaml
    • Added _TEST_PREFIX substitution with a default empty string.
    • Implemented conditional logic to fetch and use a pre-built gcluster binary for daily tests, otherwise running make.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke-tpu-v6e.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/gke.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/h4d-vm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/hcls.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/hpc-build-slurm-image.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/hpc-enterprise-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/htc-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/htcondor.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a3-highgpu-onspot-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a3-highgpu-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a3-megagpu-onspot-slurm-ubuntu.yaml
    • Added _TEST_PREFIX substitution with a default empty string.
    • Implemented conditional logic to fetch and use a pre-built gcluster binary for daily tests, otherwise running make.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a3-megagpu-slurm-ubuntu.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a3-ultragpu-jbvms.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a3-ultragpu-onspot-jbvms.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a3-ultragpu-onspot-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a3-ultragpu-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a4-highgpu-onspot-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-a4-highgpu-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-g4-onspot-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-gke-e2e.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-gke.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-h4d-onspot-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ml-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/monitoring.yaml
    • Modified the build command to conditionally download and extract gcluster-bundle.zip for daily tests, or run make otherwise.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/netapp-volumes.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/ofe-deployment.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/packer.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/pfs-managed-lustre-slurm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/pfs-managed-lustre-vm.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slinky.yml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slurm-gcp-v6-debian.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slurm-gcp-v6-rocky8.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slurm-gcp-v6-ssd.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slurm-gcp-v6-startup-scripts.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slurm-gcp-v6-static.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slurm-gcp-v6-tpu.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slurm-gcp-v6-ubuntu.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/slurm-gke.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
  • tools/cloud-build/daily-tests/builds/spack-gromacs.yaml
    • Added conditional logic to download and extract gcluster-bundle.zip for daily tests, falling back to make for other test types.
    • Added GCLUSTER_GCS_PATH to secretEnv and availableSecrets.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a change to the integration tests to use a pre-built binary for daily runs, which should improve CI efficiency. The implementation correctly uses a _TEST_PREFIX variable to switch between downloading the binary and building from source.

@Neelabh94 Neelabh94 marked this pull request as ready for review February 7, 2026 07:27
@Neelabh94 Neelabh94 requested review from a team and samskillman as code owners February 7, 2026 07:27
@Neelabh94 Neelabh94 merged commit 108910d into GoogleCloudPlatform:develop Feb 7, 2026
61 of 81 checks passed
kvenkatachala333 added a commit to kvenkatachala333/cluster-toolkit that referenced this pull request Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-chore To not include into release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants