Skip to content

ci(bigtable): opt Bigtable integration shards into CLEANUP_TARGET_DIRS - #15342

Draft
igorbernstein2 wants to merge 1 commit into
mainfrom
ci/bigtable-opt-in-cleanup-target-dirs
Draft

igorbernstein2 wants to merge 1 commit into
mainfrom
ci/bigtable-opt-in-cleanup-target-dirs

Conversation

@igorbernstein2

Copy link
Copy Markdown
Contributor

DO NOT MERGE YET — MUST LAND AFTER PREREQUISITES:

  1. ci: add opt-in CLEANUP_TARGET_DIRS to strip non-report target files after Kokoro builds #15301 (adds the opt-in CLEANUP_TARGET_DIRS=true cleanup hook to .kokoro/build.sh and .kokoro/common.sh)
  2. Internal Kokoro common.cfg update allowlisting CLEANUP_TARGET_DIRS

Until both prerequisites land, Kokoro presubmit jobs on this PR will reject CLEANUP_TARGET_DIRS as an unallowlisted env var.

Summary

Opts the 6 java-bigtable Kokoro integration test presubmit configs into CLEANUP_TARGET_DIRS=true:

  • .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 #15301 and the Kokoro common.cfg allowlist land, stripping compiled non-report artifacts under **/target/ (while preserving *sponge_log.xml and *sponge_log.txt) avoids rsyncing hundreds of MBs of build outputs back from the Kokoro build VM (~1m–1m 30s saved per shard).

@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 java-bigtable integration tests by adding the CLEANUP_TARGET_DIRS environment variable set to true. I have no feedback to provide as there are no review comments and the changes are straightforward.

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