1 Star 0 Fork 5

Oldyuan / ibex

forked from Ulric Qin / ibex 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 674 Bytes
一键复制 编辑 原始数据 按行查看 历史
UlricQin 提交于 2021-10-18 20:02 . 1.0.0 done

ibex

ibex, running scripts on large scale machines

compile

# export GOPROXY=https://goproxy.cn
make

run server

mysql < sql/ibex.sql
./ibex server

run agentd

./ibex agentd

test

# create task
curl --location --request POST 'localhost:10090/ibex/v1/tasks' \
-u ibex:ibex \
--header 'Content-Type: application/json' \
--data-raw '{
    "title": "just a echo",
    "account": "root",
    "batch": 0,
    "tolerance": 0,
    "timeout": 10,
    "pause": "",
    "script": "#!/bin/sh\necho hello;date > nice.date;echo world",
    "action": "start",
    "creator": "qinxiaohui",
    "hosts": ["bogon"]
}'

TODO

[] task done flag

1
https://gitee.com/oldyuan/ibex.git
git@gitee.com:oldyuan/ibex.git
oldyuan
ibex
ibex
master

搜索帮助