Command line client for running jobs
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src/Keboola/Syrup/Cli
tests
.gitignore
.travis.yml
Dockerfile
LICENSE
README.md
composer.json
deploy.sh
docker-compose.yml
phpunit.sh
phpunit.xml.dist

README.md

syrup-php-cli

Build Status Docker Repository on Quay

PHP Command line interface for running component jobs

Run

docker pull quay.io/keboola/syrup-cli:latest
docker run --rm -e KBC_STORAGE_TOKEN=[token] quay.io/keboola/syrup-cli:latest run-job [componentId] [configId] [tag] 

Build

docker-compose build

Environment

$ cat .env
export KBC_STORAGEL_TOKEN=my_token
export KBC_JOBRUNNER_COMPONENTID=component_id
export KBC_JOBRUNNER_CONFIGURATIONID=configuration_id
export KBC_JOBRUNNER_TAG=the_tag_to_run

Run Tests

docker-compose run --rm tests