run-ci / runlet

CI runner for run pipelines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

runlet

Agent for run pipelines on Docker hosts.

Developing

Always source an environment from the env directory. For local development env/local works fine.

. env/local

To get a working runlet running on your dev workstation:

run build # build a binary

docker-compose down && docker-compose up --build

This spins up NATS along with a runlet instance.

To test it, install a NATS client. The NATS ruby gem works fine.

gem install nats

With the nats gem, trigger pipeline runs like so:

# $TEST_EVENT is defined in the previously sourced `env` file. Make
# sure there are quotes around it here because it's not all on one line. 
nats-pub pipelines runlet "$TEST_EVENT"

About

CI runner for run pipelines

License:MIT License


Languages

Language:Go 99.1%Language:Dockerfile 0.9%