Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip redundant steps in nightly build [skip ci] #9857

Merged
merged 4 commits into from
Nov 28, 2023

Conversation

pxLi
Copy link
Collaborator

@pxLi pxLi commented Nov 27, 2023

As we currently have 22 shims in nightly build, the entire build+deploy (not including tests) time is close to 7 hours now.
To reduce the time cost, this change is trying to skip redundant scala style + scala doc (vary from 30s to 5mins per submodule build) steps while deploy commands.

After this change the duration is ~ 5hours (saves 2 hours)
Also added TODO to not deploy all non-dist submodules to try save more deploying time (currently 8-10min per shim)
This could be aggregator,sql-plugin-api,integration-tests, please correct me if I miss any @jlowe @revans2 @tgravescs @gerashegalov thanks

Verified internally. [skip ci] as it would not be covered in pre-merge.

@pxLi pxLi added the build Related to CI / CD or cleanly building label Nov 27, 2023
@pxLi
Copy link
Collaborator Author

pxLi commented Nov 27, 2023

also cc @sameerz @GaryShen2008, the best solution in my mind is still dropping trivial shims support, thanks

@pxLi
Copy link
Collaborator Author

pxLi commented Nov 27, 2023

build

Copy link
Collaborator

@gerashegalov gerashegalov left a comment

Choose a reason for hiding this comment

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

LGTM

I end up typing -DskipTests -Dmaven.scaladoc.skip -Dmaven.scalastyle.skip=true so often I wonder if we should have some profile for that?

@pxLi
Copy link
Collaborator Author

pxLi commented Nov 28, 2023

LGTM

I end up typing -DskipTests -Dmaven.scaladoc.skip -Dmaven.scalastyle.skip=true so often I wonder if we should have some profile for that?

Yeah, I have the same for my local ENV.

We can consider having a minimal profile for nightly builds in the future to remove all trivial works

@pxLi pxLi merged commit fd05f70 into NVIDIA:branch-24.02 Nov 28, 2023
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants