-
Notifications
You must be signed in to change notification settings - Fork 4
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
use CompletableFuture instead Future to listen progress in the task #98
use CompletableFuture instead Future to listen progress in the task #98
Conversation
src/main/groovy/io/seqera/wave/service/builder/ContainerBuildServiceImpl.groovy
Outdated
Show resolved
Hide resolved
Signed-off-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Ok, I went further with the idea of just using the build result completable future. I've also improved a bit the error reporting when the build fails returning the build error message. There's something to fix with the CostomImageControllerTest but cannot figure out what's the problem. Please give it look |
Signed-off-by: Paolo Di Tommaso <[email protected]>
7a6fcfa
to
c4900c1
Compare
Fixed. if the image was not requested previously the ContainerService will return null and StorageService and empty Optional |
Nice! very neat this implementation 🤓 |
closes #79