Skip to content

About

Keptn CLI - Docker packaging

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for Keptn CLI

Docker image that packages Keptn CLI for execution as a Docker container. Internally it wraps the keptn auth command and then the user-defined command to be executed.

Usage

First two arguments are Keptn API URL and then the API token to be used. After that, the command and its arguments should be passed. Interactive mode is not supported at the moment.

docker run --rm ghcr.io/oleg-nenashev/keptn-cli:latest ${KEPTN_API_URL} ${KEPTN_API_TOKEN} COMMAND COMMAND_ARGS

Send Cloud Event

This command sends a Cloud Event using the Docker image. JSON file is mapped to the Docker container via the Docker volume.

docker run --rm -v /data/event.json:$(pwd)/demo/trigger-evaluation.json:ro \
    ghcr.io/oleg-nenashev/keptn-cli:latest ${KEPTN_API_URL} ${KEPTN_API_TOKEN} \
    send event --file=/data/event.json

About

Keptn CLI - Docker packaging

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages