-
Notifications
You must be signed in to change notification settings - Fork 68
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
feature(parallized deploy): allow configuration of the deployer to run tasks in parallel (per leaf node) #74
Conversation
01a7658
to
bfeb2f6
Compare
Please change commit messages to follow https://trino.io/development/process#pull-request-and-commit-guidelines- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a first look .. once its compiles I can do some testing ..
@@ -10,3 +10,4 @@ release.properties | |||
local-cache | |||
maven-repository-provisioner.log | |||
.checkstyle | |||
**/*.iml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isnt that covered by the .idea thing already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm not 100% sure how it ended up in git tracking, but I had one generated when I tried to add some checkstyle plugins to my intellij.
...n-repository-provisioner/src/main/java/com/simpligility/maven/provisioner/Configuration.java
Outdated
Show resolved
Hide resolved
...ovisioner/src/test/java/com/simpligility/maven/provisioner/helpers/RepositorySystemImpl.java
Outdated
Show resolved
Hide resolved
...ovisioner/src/test/java/com/simpligility/maven/provisioner/helpers/RepositorySystemImpl.java
Show resolved
Hide resolved
...ovisioner/src/test/java/com/simpligility/maven/provisioner/helpers/RepositorySystemImpl.java
Outdated
Show resolved
Hide resolved
...ovisioner/src/test/java/com/simpligility/maven/provisioner/helpers/RepositorySystemImpl.java
Outdated
Show resolved
Hide resolved
...n-repository-provisioner/src/main/java/com/simpligility/maven/provisioner/Configuration.java
Show resolved
Hide resolved
.../src/test/java/com/simpligility/maven/provisioner/MavenRepositoryDeploymentCallableTest.java
Show resolved
Hide resolved
@@ -0,0 +1,120 @@ | |||
package com.simpligility.maven.provisioner.helpers; | |||
|
|||
import org.eclipse.aether.RepositorySystem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should really move to the newer version of aether or the maven resolver replacement .. but that can follow later cc @cstamas
e1dbb79
to
3ca7165
Compare
This change uses the Intellij auto-formatter to format whitespace and line wrapping according to the checkstyle guidelines laid out in the maven-repository-provisioner/src/conf/maven_checks.xml Signed-off-by: Samuel Dacanay <sam.dacanay@chainguard.dev>
This change allows for the configuration of the provisioner/deployer with a thread count. It makes the MavenRepositoryDeployer a singleton and copies the leaf-node deployment code into a Callable class. Signed-off-by: Samuel Dacanay <sam.dacanay@chainguard.dev>
3ca7165
to
6fb0809
Compare
Folks, unsure what you want to achieve, but parallel deploy in Resolver 1.9+ is a thing. All you need is to "batch" the deploy request. See https://issues.apache.org/jira/browse/MRESOLVER-319 |
I vaguely remember now .. but yes.. for that to be used we have to upgrade this project to the new resolver stuff .. which arguably would be good. |
Summary of Changes