Skip to content

tanxiao1990/ibex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.0%
  • Other 1.0%