Repository navigation
Import Java SDK as Experimental - #5504
Conversation
Signed-off-by: Jean-Christophe Sirot <[email protected]>
Initial version of the SDK --------- Signed-off-by: Jean-Christophe Sirot <[email protected]>
* build: clean up build update pom.xml dependency management remove unused dependencies remove unused import * build: Add maven exec plugin to run the code samples from the CLI
Set the log level to debug in integration tests
fix(connection): refactoring of the engine connection package Move CLIRunner and ConnectParams to a dedicated class file Replace JSON-B by JSON-P to deserialize the connection parameters Move the Dagger CLI process execution to the CLI runner (Single-responsibility principle) Fix process hanging when connection to the engine failed Improve code style Add some tests for Connection class --------- Signed-off-by: Jean-Christophe Sirot <[email protected]>
macos is limited to PR builds So far windows VM does not support Linux containers Signed-off-by: Jean-Christophe Sirot <[email protected]>
) package jar with dependencies and upload artifact in github upload artifact only on push to main update README.md --------- Signed-off-by: Jean-Christophe Sirot <[email protected]>
So that this can be imported into dagger/dagger repository Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
But keep as is, same as we did for other experimental SDKs. Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
|
@gerhard among the actions which are part of this PR I would also add:
|
|
OK! I just added that. |
Signed-off-by: Jean-Christophe Sirot <[email protected]>
…es and use it when schema is not available. Inject the CLI version in the code at build time Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
…le dedicated to deployment Signed-off-by: Jean-Christophe Sirot <[email protected]>
…ome log messages Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
- add initial build worflow in internal/mage/sdk/java.go - add test & lint actions in github action worflow Signed-off-by: Jean-Christophe Sirot <[email protected]>
- Container.fs -> Container.rootfs - Container.exec -> Container.withExec Signed-off-by: Jean-Christophe Sirot <[email protected]>
… literal Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
|
@jcsirot Hi, I'm the Elixir SDK maintainer. Just see that Elixir pipeline jobs failed on this PR. This failure has already been solved on the main branch. Rebasing it should solve. If you still facing an issue. Feel free to ping me. I can help to take a look to make sure you can get merged when it's ready. |
|
@wingyplus Thank you. I'm going to rebase on the main branch and monitor the pipelines |
|
@wingyplus I tried to rebase on main but the process encounters a lot of conflicts. I think this is because a lot of files were moved from the root of the repo to @gerhard I also tried to squash the commits in the PR but I also have the same issues with a lot of conflicts, for instance on |
|
@jcsirot If the branch you're rebasing has just moved wholesale into the sub dir - you could possibly rewrite your local checkout with filter-branch with the It almost feels similar to what I did when migrating our old subversion repos which I wrote about ages ago on https://www.theoryinpractice.net/post/1350252794/repository-migration-from-subversion-to-git using that and a bit of |
I remember that I face a similar issue during move Elixir SDK into Dagger. But at that time, I manually resolved it one-by-one. 😂 |
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
I am picking this one up now @jcsirot. The merge with I am going over the remaining action items now. |
|
I submitted a JIRA ticket for https://central.sonatype.org/publish/, waiting for https://issues.sonatype.org/browse/OSSRH-94866 to be resolved. |
|
Also finished reviewing
|
|
The last thing to check are the GHA workflows. As I do that, do you want to review the PR @jcsirot? |
Signed-off-by: Gerhard Lazu <[email protected]>
Leverage the re-usable _hack_make workflow. Signed-off-by: Gerhard Lazu <[email protected]>
|
All checks are now green, including: https://github.com/dagger/dagger/actions/runs/6125459830?pr=5504 There are 2 actions items for you @jcsirot before this can be merged:
This one has been a long time coming, it will be so amazing to merge this as soon as the above are done @jcsirot 💪 |
|
https://issues.sonatype.org/browse/OSSRH-94866 has now been solved too. How do we move ahead with publishing @jcsirot? |
|
Anything else that I can do @jcsirot to help move this one along? |
|
@gerhard I'm planning to review everything tonight or tomorrow |
|
Looking forward to it! |
|
@gerhard everything LGTM Should I squash all commits or leave the history as is? |
|
Hey @jcsirot! First step for you is to make the change that I mentioned in my previous comment. Second step is to approve the PR via: As you can see above, I cannot approve my own PR. |
Engine & CLI use the same Apache 2.0 license. Signed-off-by: Jean-Christophe Sirot <[email protected]>
|
Thank you @jcsirot! Will get this merged as soon as |



This imports https://github.com/jcsirot/dagger-java-sdk under
sdk/javaas an experimental SDK.@gerhard action items (part of this PR)
daggerrepositoryCODEOWNERS(@dagger/sdk-dotnetgroup)internal/mage/sdk/java.go@jcsirot action items (part of this PR)
org.chelonix.dagger.*toio.dagger.*sdk/java/.githubto.github/internal/mage/sdk, e.g. https://github.com/dagger/dagger/blob/e454aa6b8ff40bf1502927fcdf1badb6cb4998a7/internal/mage/sdk/elixir.goFollow-ups (outside / after this PR)
README.md, e.g. https://github.com/nabsul/DaggerSDK/blob/main/README.mdDid I miss anything @jcsirot?
Fixes DEV-2320 cc @shykes @helderco @mircubed @d3rp3tt3