dav009 / flytekit-java

Java/Scala library for easily authoring Flyte tasks and workflows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flytekit-java

Lifecycle

Java/Scala library for easily authoring Flyte tasks and workflows.

Current development status:

  • MVP features are developed
  • Missing user documentation
  • Project being tested, and collecting feedback
  • No guarantees of API stability

To learn more about Flyte refer to:

Build from source

It requires Java 1.8 and Docker

mvn clean verify

# Inspect dependency tree
mvn dependency:tree

# Inspect tooling dependency tree
mvn dependency:resolve-plugins

How to run examples

We don't publish artifacts yet, but you can build examples yourself.

Create .env.local with:

FLYTE_PLATFORM_URL=flyte.local:81
FLYTE_STAGING_LOCATION=gs://yourbucket
FLYTE_PLATFORM_INSECURE=True

Package and run:

$ mvn package
$ scripts/jflyte register workflows \
  -d=development \
  -p=flytesnacks \
  -v=$(git describe --always) \
  -cp=flytekit-examples/target/lib

Contributing

Run mvn spotless:apply before committing.

Also use git commit --signoff "Commit message" to comply with DCO.

About

Java/Scala library for easily authoring Flyte tasks and workflows

License:Apache License 2.0


Languages

Language:Java 96.5%Language:Scala 2.8%Language:Shell 0.6%Language:Dockerfile 0.1%Language:Makefile 0.1%