Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.81 KB

README.md

File metadata and controls

41 lines (33 loc) · 1.81 KB

Lunchpail: Getting Started as an Application Developer

  • Download the latest lunchpail CLI.
  • Try out lunchpail build to generate binaries for your application.

Usage of lunchpail build

❯ ./lunchpail build -h
Generate a binary specialized to a given application

Usage:
  lunchpail build path-or-git [flags]

Flags:
  -A, --all-platforms              Generate binaries for all supported platform/arch combinations
  -b, --branch string              Git branch to pull from
  -N, --create-namespace           Create a new namespace, if needed
  -s, --image-pull-secret string   Of the form <user>:<token>@ghcr.io
  -n, --namespace string           Kubernetes namespace to deploy to
  -t, --openshift                  Include support for OpenShift
  -o, --output string              Path to store output binary
      --queue string               Use the queue defined by this Secret (data: accessKeyID, secretAccessKey, endpoint)
  -r, --repo-secret strings        Of the form <user>:<pat>@<githubUrl> e.g. me:3333@https://github.com
      --set strings                [Advanced] override specific template values
  -p, --target-platform Platform   Backend platform for deploying lunchpail [Kubernetes, IBMCloud, Skypilot] (default Kubernetes)
  -d, --debug                      Debug output
  -v, --verbose                    Verbose output

Example of lunchpail build

lunchpail build https://github.com/IBM/lunchpail-demo -o /tmp/lunchpail-demo -N

Here, we used the -N flag (short for --create-namespace) so that users of the demo won't have to worry about managing namespaces. Optionally, if you add the -A option, a set of platform binaries will be generated. Without that flag, a single binary for the current platform will be generated.