Decentralized Task pipline on top of Golem.network.
- Easy way to submit tasks to Golem.network.
- Collect task logs.
- Run steps in queue or parallel mode
$ sh curl -sSf https://join.golem.network/as-requestor | bash -
Run the following command to install the CLI:
pip install golem-ci
Check installed version:
golem_ci --version
$ yagna service run
$ cd example/hello_world
$ export YAGNA_APPKEY=<your-key>
$ # or
$ golem_ci set-api-key <your-key>
$ # then
$ golem_ci up .
Using context directory: hello_world
....
kind: pipeline
type: golem
name: hello-world
mode: queue
steps:
- name: echo
image: 69b8f1cde4b8cf6d2ba6df3d29b4c1ac57beb16aef88e43871726cc6
commands:
- python hello.py
- name: env-test
image: 69b8f1cde4b8cf6d2ba6df3d29b4c1ac57beb16aef88e43871726cc6
commands:
- python env.py
environment:
GOLEM_TEST1: test
GOLEM_TEST2: 123456
See example for more info.
To create your own golem image see Convert a Docker image into a Golem image
$ docker build -t golem-ci:latest