Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLPATH-1066: swf-builder: generate manifests using kn-workflow #1751

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 3, 2024

  1. swf-builder generate manifests using kn-workflow

    Generate manifests and save them in the runtime image.
    
    Generating manifests is an opt-in as part of the build ran by /launch/build-app.sh
    When setting GEN_MANIFESTS=true during container build the build-app.sh
    script will call a new generate-manifests.sh script that will use
    _kn-workflow_ cli and will store the manifests under
    $KOGITO_HOME/build/manifests
    
    Later in the runtime image user can copy and store those manifests for
    later use:
      COPY --from=builder --chown=185 /home/kogito/build/manifests /deployments/manifests
    
    The manifests can be extracted for example by echoing them from the image:
    
      podman run builder:latest cat /deployment/manifests/* > manifests-all.yaml
    
    or by podman cp:
    
      podman cp $(podman create builder:latest):/deployment/manifests .
    
    Signed-off-by: Roy Golan <[email protected]>
    rgolangh committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    a649be2 View commit details
    Browse the repository at this point in the history