Skip to content
/ lunchpail Public

Lunchpail compiles your job code into an all-in-one executable. Others download that binary, and "up" it to run your code locally, in a Kubernetes cluster, or on run-and-done virtual machines in the Cloud.

License

Notifications You must be signed in to change notification settings

IBM/lunchpail

Folders and files

NameName
Last commit message
Last commit date
Dec 2, 2024
Jan 8, 2025
Jan 8, 2025
Dec 18, 2024
Dec 18, 2024
Jan 8, 2025
Dec 2, 2024
Oct 21, 2024
Nov 18, 2024
Aug 4, 2023
Jan 6, 2025
Jul 24, 2024
Dec 18, 2024
Jan 6, 2025
Jan 6, 2025

Repository files navigation

Lunchpail icon

Lunchpail

Lunchpail compiles your job code into an all-in-one executable. Others download that binary, and up it to run your code locally, in a Kubernetes cluster, or on run-and-done virtual machines in the Cloud.

Getting Started

We will soon be publishing prebuilt executables. Bear with us.

First, clone this repository. From there, you can build the main lunchpail binary. Using lunchpail build , you can then build separate binaries, one for each of your applications. You will find a collection of demo applications in the demos/ directory of this repository.

After cloning this repo to build lunchpail. Lunchpail is written in Go. If you don't yet have go installed, you can do so on MacOS via brew install go, or consult the Go installation docs. Then:

./hack/setup/cli.sh

This will generate a ./lunchpail binary. Next, to build one of the demo applications:

./lunchpail build -o cq ./demos/data-prep-kit/code/code-quality

Next, you can run cq against its test inputs on your laptop via:

./cq test -t local

If you want to run it against your current Kubernetes context, change -t local to -t kubernetes.