Skip to content

ci(bigtable): opt Bigtable integration shards into FAST_IT_BUILD and -pl google-cloud-bigtable - #15341

Draft
igorbernstein2 wants to merge 1 commit into
mainfrom
ci/bigtable-opt-in-fast-it-build
Draft

igorbernstein2 wants to merge 1 commit into
mainfrom
ci/bigtable-opt-in-fast-it-build

Conversation

@igorbernstein2

Copy link
Copy Markdown
Contributor

DO NOT MERGE YET — MUST LAND AFTER PREREQUISITES:

  1. ci: add opt-in FAST_IT_BUILD path for integration-single jobs #15304 (adds the opt-in FAST_IT_BUILD=true build path to .kokoro/build.sh and .kokoro/common.sh)
  2. Internal Kokoro common.cfg update allowlisting FAST_IT_BUILD

Until both prerequisites land, Kokoro presubmit jobs on this PR will reject FAST_IT_BUILD as an unallowlisted env var (and without #15304, mvn verify --also-make would still rebuild sibling modules).

Summary

Opts the 6 java-bigtable Kokoro integration test presubmit configs into FAST_IT_BUILD=true and scopes INTEGRATION_TEST_ARGS to -pl google-cloud-bigtable:

  • .kokoro/presubmit/bigtable-integration.cfg
  • .kokoro/presubmit/bigtable-integration-admin.cfg
  • .kokoro/presubmit/bigtable-integration-cfe.cfg
  • .kokoro/presubmit/bigtable-integration-dp.cfg
  • .kokoro/presubmit/bigtable-integration-session.cfg
  • .kokoro/presubmit/bigtable-integration-session-dp.cfg

Motivation

Once #15304 and the Kokoro common.cfg allowlist land, setting FAST_IT_BUILD=true and -pl google-cloud-bigtable on the Bigtable integration shards:

  • Drops grpc-gcp-java and proto-google-cloud-spanner-v1 (~42s CPU) from the upstream install pass.
  • Eliminates clirr:check forked compile lifecycles via -P=-clirr-compatibility-check.
  • Compiles google-cloud-bigtable 1x main + 1x test instead of 4x main + 2x test.
  • Skips re-running google-cloud-bigtable-emulator (ITBigtableEmulatorRuleTest) on every cloud IT shard (emulator tests already run in .github/workflows/java-bigtable-emulator.yaml).

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates several Kokoro presubmit configuration files for Bigtable integration tests. It prepends the -pl google-cloud-bigtable project list flag to the INTEGRATION_TEST_ARGS environment variable and introduces a new FAST_IT_BUILD environment variable set to true in each configuration. No review comments were provided, so there is no feedback to address.

This branch has not been deployed

No deployments
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.

1 participant