Skip to content

Test cache - #9

Closed
sipsma wants to merge 6 commits into
mainfrom
test-cache
Closed

sipsma wants to merge 6 commits into
mainfrom
test-cache

Conversation

@sipsma

@sipsma sipsma commented Apr 30, 2022

Copy link
Copy Markdown
Owner

No description provided.

@sipsma
sipsma force-pushed the test-cache branch 23 times, most recently from 910b11a to 6aed030 Compare May 3, 2022 19:59
@sipsma
sipsma force-pushed the test-cache branch 6 times, most recently from d7bbf48 to ac3bb1a Compare May 4, 2022 01:52
@sipsma
sipsma force-pushed the test-cache branch 16 times, most recently from 25f1476 to c7a7bf4 Compare May 5, 2022 03:49
sipsma added 4 commits May 5, 2022 11:59
Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
@sipsma
sipsma force-pushed the test-cache branch 2 times, most recently from 91464d8 to ca0586e Compare May 5, 2022 19:23
@github-actions

Copy link
Copy Markdown

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.

@github-actions github-actions Bot added the stale label May 20, 2022
@github-actions

Copy link
Copy Markdown

This PR was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions Bot closed this May 27, 2022
sipsma pushed a commit that referenced this pull request Aug 30, 2023
* update dagger sdk to 0.4.1

Signed-off-by: kpenfound <[email protected]>

* update nodejs npm example

Signed-off-by: kpenfound <[email protected]>

* update yarn example with go sdk 0.4.1

Signed-off-by: kpenfound <[email protected]>

* update java example to go sdk 0.4.1

Signed-off-by: kpenfound <[email protected]>

* update readme with updated example list

Signed-off-by: kpenfound <[email protected]>

Signed-off-by: kpenfound <[email protected]>
sipsma pushed a commit that referenced this pull request Oct 1, 2023
macos is limited to PR builds
So far windows VM does not support Linux containers

Signed-off-by: Jean-Christophe Sirot <[email protected]>
sipsma pushed a commit that referenced this pull request Oct 1, 2023
* Initial commit

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* Initial version (#1)

Initial version of the SDK
---------

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* Clean up build process & better samples (#2)

* 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

* build: support dependency caching in github action (#3)

* fix: add missing sample in the sample code demo app (#4)

* feat(log): add debug log when response is contains errors. (#5)

Set the log level to debug in integration tests

* fix: support macos arm64 architure by cli downloader (#7)

* fix: client hangs on close (#8)

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]>

* build(workflow): enable build on linux and macos (#9)

macos is limited to PR builds
So far windows VM does not support Linux containers

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* build: package jar with dependencies and upload artifacts in github (#11)

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]>

* Move all files into sdk/java subdir

So that this can be imported into dagger/dagger repository

Signed-off-by: Gerhard Lazu <[email protected]>

* sdk(java): Add experimental warning to README

Signed-off-by: Gerhard Lazu <[email protected]>

* sdk(java): Rename LICENSE

But keep as is, same as we did for other experimental SDKs.

Signed-off-by: Gerhard Lazu <[email protected]>

* chore: Add /sdk/java to CODEOWNERS

Signed-off-by: Gerhard Lazu <[email protected]>

* build: rename package name from 'org.chelonix.dagger.*' to 'io.dagger.*'

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* build(codegen): add introspection query in the codegen plugin resources 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]>

* build: add linter plugin and lint current code

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* build: set development version to 1.0.0-SNAPSHOT. Add "release" profile dedicated to deployment

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* fix: correctly return the dagger CLI path in codegen plugin and fix some log messages

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* build: Add schema for 0.6.4

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* fix: fix coding style for linter

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* build: fix maven versions plugin groupId

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* ci: add java sdk CI
- 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]>

* fix: replace deprecated API calls in tests
- Container.fs -> Container.rootfs
- Container.exec -> Container.withExec

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* fix: Add a static 'from' method to instanciate a Scalar from a String literal

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* fix(doc): fix javadoc for field parameters in generated code

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* fix: Fix NPE when CLI download fails and log error

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* fix(codegen): clarify codegen plugin parameters and Dagger version in generated code

Separate CLI and SDK version
Use either a previously generated schema or a query a locally installed dagger CLI
update the CI to generate the schema matching the used dagger CLI

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* fix(codegen): fix sdk:java:generate goal

Now the generate goal will query the dagger CLI to generate the API JSON schema and write a file
A new dagger-codegen:generateSchema plugin goal has been added to the  dagger-codegen maven plugin (with some code refactoring between both goals) to generate the schema. The generate schema is copied to plugin resources dir /schemas according to the engine version declared in the pom.xml file afterwards.
The schema file naming has been simplifying (removing the 'v' prefix) and the existing files have been renamed accordingly

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* feat(codegen): add schema for dagger engine 0.8.3 and 0.8.4

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* doc(codegen): document how to bump engine dependency

Signed-off-by: Jean-Christophe Sirot <[email protected]>

* Remove redundant return & go fmt

Signed-off-by: Gerhard Lazu <[email protected]>

* Make Java SDK workflow standalone, same as the Elixir one

Leverage the re-usable _hack_make workflow.

Signed-off-by: Gerhard Lazu <[email protected]>

* Use same Apache 2.0 license as all other SDKs

Engine & CLI use the same Apache 2.0 license.

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: Gerhard Lazu <[email protected]>
Signed-off-by: Jean-Christophe Sirot <[email protected]>
Co-authored-by: Jean-Christophe Sirot <[email protected]>
Co-authored-by: Jean-Christophe Sirot <[email protected]>
Co-authored-by: Daniel Lavoie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant