Skip to content

    Type a page, a command such as keryn scan, or a rule id.

    keryn application show

    Describes Keryn 0.5.2 and keryn-rules 0.8.0. Changelog

    View as Markdown

    Check an application profile (.keryn/application.yml) and show the stages keryn ci would run for it.

    keryn application show [file] [--root <repository>] [--json]
    Usage: keryn application validate [file] [--json]
    keryn application show [file] [--root <repository>] [--json]
    An application profile (default .keryn/application.yml, apiVersion keryn.dev/application/v1) declares one application: id, name,
    owner; sources (repository-relative directories, optional repository-relative include/exclude globs, optional deepTimeout in
    seconds for Deep, extra local repositories under repos:);
    artifacts (paths or globs to built files, kind binary|package, optional expected sha256, optional maxBytes per-artifact cap); web targets (url, mode passive, optional
    auth file); sca mode offline|online|off; output.failOn. validate checks it against the schema (exit 0 valid, 1 problems, 2 unreadable).
    show resolves the globs (code-point order, symlinks not followed) and prints every stage keryn ci --application-file would run,
    with the artifacts' sizes and sha256 and every input it would skip and why. The repository is --root, else the folder holding
    .keryn/, else the profile's folder. Active web mode requires ownershipProof; planning sends nothing and execution verifies current ownership.
    Terminal window
    # Stages, artifact sizes and sha256, and every input it would skip. Nothing is contacted.
    keryn application show --root .
    Code Meaning
    0 shown
    2 unreadable