Commit graph

14 commits

Author SHA1 Message Date
Renan DelValle
d5d19cf448
Changing default value of monitor to true. 2020-09-30 16:46:14 -07:00
lenhattan86
5efbbce6c7
skip monitoring create/kill jobs (#13)
Added flag -m and --monitor that can be set in order to monitor a job creation or a job kill. By default monitor is set to true.
2020-09-30 16:32:53 -07:00
Renán I. Del Valle
4806936c71
Adding ability to start an update (#12)
* Adding ability to start an update.

* Refactoring Job parsing code to be re-usable.
2020-05-07 15:40:22 -07:00
Renan DelValle
d7db155d88
Refactoring project to be more similar to other go project. 2020-05-07 10:09:45 -07:00
Renán I. Del Valle
5f510b74ea
Changing dependencies to point to aurora-scheduler organization (#9)
* Removing support for dep as we should now only be building with go1.13+ and mod.

* Ignoring go.sum being created. Use the database instead.

* Upgrading dependencies to their latest versions.

* Replacing thrift dependency temporarily with a patched thrift dependency while we wait for 0.14.0 to be released.

* Change location of gorealis to point to auora-scheduler repository.

* Update .gitignore to contain DS_Store.

* Adding changelog.

* Putting unreleased back into the changelog as this isn't a release PR.
2020-02-19 12:18:50 -08:00
Renan I. Del Valle
f94a055b47
JSON support for taking in host list (#8)
* Bumping up the version.

* Adding flags to take in JSON from the command line.

* go.sum no longer strictly necessary since go1.13

* Adding support for reading JSON list of hosts to drain from STDIN or from a file.

* Adding changes to changelogs
2020-02-07 18:41:59 -08:00
Renan DelValle
63d7c4c1aa
Adding support for creating jobs which use executorless docker containers.Note, that this feature must be enabled on the aurora-scheduler manually. 2019-07-24 16:43:00 -07:00
Renan DelValle
125025157b
Hides a perviously exported struct. Shortens a line that was too long. 2019-06-28 10:21:51 -07:00
Renan DelValle
6e6934a3d3
Adding Apache v2 license. 2019-03-25 17:36:24 -07:00
Renan DelValle
7286d2fc9f
Adding rudimentary support for creating jobs on Aurora. 2019-03-21 12:26:14 -07:00
Renan DelValle
4551231644
Adding fetch task status. Changed how logrus is used to be able to be passed down to gorealis. 2019-03-19 15:27:20 -07:00
Renan DelValle
bc28198c2d
Adding ability to print out responses as JSON. 2018-11-09 15:58:26 -08:00
Renan DelValle
0a3288a1dd
Changing role, env, and name to be string pointers. This is due to the fact that TaskQuery can now take nil pointers to ignore certain fields. This allows querying for all jobs of a certain environment, all jobs from a certain role, and all jobs with a certain name. 2018-09-16 21:23:36 -07:00
Renan DelValle
8e0988513a Adding new verbs and fleshing out the skeleton. Drain works while Kill has an error tha requires a deeper dive. 2017-12-03 12:41:23 -08:00