Skip to content

ci(java-cloud-bom): Clean up BOM CI Workflows - #14008

Draft
lqiu96 wants to merge 5 commits into
mainfrom
optimize-bom-ci-workflow
Draft

ci(java-cloud-bom): Clean up BOM CI Workflows#14008
lqiu96 wants to merge 5 commits into
mainfrom
optimize-bom-ci-workflow

Conversation

@lqiu96

@lqiu96 lqiu96 commented Aug 6, 2026

Copy link
Copy Markdown
Member

Had some difficulty debugging a bom CI issue. Trying to clean up the CI jobs to reduce the complexity and clean up jobs that may not be needed:

  • Removed CI jobs that look to be duplicates (units, dependency, CLIRR, etc). Consolidate all the bom related jobs into a single workflow file.
  • Replace java-cloud-bom/tests/pre-install.sh with a standard 'mvn install -B -ntp -Pquick-build -DskipTests=true -T 1C' call now that all the modules are in the monorepo.
  • Adding a quick-build profile to java-cloud-bom/pom.xml to skip unnecessary validation/format/checkstyle plugins during quick reactor installs.
  • Removing redundant javadoc, lint, and clirr jobs from java-cloud-bom-ci.yaml (this should already exist as part of the normal CIs)

lqiu96 added 2 commits August 6, 2026 15:21
This change optimizes java-cloud-bom CI pipelines and eliminates flakiness:
- Removes java-cloud-bom/tests/pre-install.sh in favor of standard 'mvn install -B -ntp -Pquick-build -DskipTests=true -T 1C'.
- Adds quick-build profile to java-cloud-bom/pom.xml to skip unnecessary validation/format/checkstyle plugins during quick reactor installs.
- Removes redundant javadoc, lint, and clirr jobs from java-cloud-bom-ci.yaml.
- Inlines snapshot installation directly in workflow files.
Comment thread java-cloud-bom/pom.xml
Comment on lines +106 to +119
<!-- skips all plugins that would have been activated by the Maven lifecycle -->
<id>quick-build</id>
<properties>
<checkstyle.skip>true</checkstyle.skip>
<enforcer.skip>true</enforcer.skip>
<jacoco.skip>true</jacoco.skip>
<clirr.skip>true</clirr.skip>
<spotbugs.skip>true</spotbugs.skip>
<pmd.skip>true</pmd.skip>
<animal.sniffer.skip>true</animal.sniffer.skip>
<fmt.skip>true</fmt.skip>
<flatten.skip>true</flatten.skip>
<mdep.analyze.skip>true</mdep.analyze.skip>
</properties>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this probably should exist in shared-configs, but just going to keep this here for now to test if the CIs work

@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 introduces a new quick-build Maven profile in java-cloud-bom/pom.xml to skip various plugins and speed up the build process. Additionally, an unused bash script that automated BOM project installation has been removed. There are no review comments, and I have no feedback to provide.

lqiu96 added 2 commits August 6, 2026 15:35
…ci.yaml

Consolidates all java-cloud-bom CI jobs into a single workflow file and removes redundant separate workflow files:
- Moves bom-content-test, bom-assertion-test, test-invalid-bom, dashboard, and shared-dependencies-convergence into java-cloud-bom-ci.yaml.
- Removes redundant units/windows matrix jobs.
- Deletes java-cloud-bom-bom-content-test.yaml, java-cloud-bom-ci-validate-bom.yaml, and java-cloud-bom-dashboard.yaml.
@lqiu96 lqiu96 closed this Aug 6, 2026
@lqiu96 lqiu96 reopened this Aug 6, 2026
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