Commit graph

116 commits

Author SHA1 Message Date
Renan DelValle
7286d2fc9f
Adding rudimentary support for creating jobs on Aurora. 2019-03-21 12:26:14 -07:00
Renan DelValle
ada7eb3aa1
Changing fetch task status to only return live instances. 2019-03-19 17:04:14 -07:00
Renan DelValle
616d4bc57e
goimports style fixes. 2019-03-19 15:28:24 -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
2abd691a1c
Adding support for triggering an update rollback. 2019-03-19 14:55:22 -07:00
Renan DelValle
f2d18eb151
Adding gitattributes to ignore vendored folder, Gopkg.lock, and go.sum 2019-02-13 22:08:08 -08:00
Renan DelValle
5056eff933
Adding version number to imports in several files. 2019-01-31 18:15:11 -08:00
Renan DelValle
f7c1b26cfd
Improving which files to ignore in repository. Updating go.sum although for now it doesn't work very well due to a go mod bug. 2018-12-28 09:01:49 -08:00
Renan DelValle
733444645a
Changing how we build the go binary now that we're in a custom docker image. 2018-12-28 09:00:53 -08:00
Renan DelValle
7b7c8714a3
Adding Dockerfile which can be used to build image to build debian package for xenial more reliably. 2018-12-28 08:59:52 -08:00
Renan DelValle
cb8b2122b0
Adding mod support to Australis. 2018-12-27 12:18:10 -08:00
Renan DelValle
6ab5c9334d
gorealis v2 refactor (#5)
* Changing default timeout for start maintenance.

* Upgrading dependencies to gorealis v2 and thrift  0.12.0

* Refactored to update to gorealis v2.
2018-12-27 11:31:51 -08:00
Renan DelValle
ad4dd9606e
Added filename outoput for autocomplete verb. Modified debian package generator to include autocomplete. Added instructions to readme to build debian package. 2018-12-05 15:12:49 -08:00
Renan DelValle
61d78cb77e
Adding set quota command. 2018-12-04 18:37:05 -08:00
Renan DelValle
2bd703b2db
Bug fix, print results instead of details. 2018-12-04 18:36:47 -08:00
Renan DelValle
38630d8b94
Increase timeouts for drain monitors. 2018-12-04 16:21:12 -08:00
Renan DelValle
ef76abd73c
Changing timeouts to Duration types for giving the user an easier time setting high amoutns of time. Added support for sla-drain count and percentage policies. Coordination policy is to be implemented. Bumped up version number and fixed eimplicit recon calling the wrong API function. 2018-11-20 20:11:21 -08:00
Renan DelValle
2de607464f
Adding bash completion generation. 2018-11-16 22:15:36 -08:00
Renan DelValle
a559137fe3
Adding initial support for printing results in JSON format. Adding Logrus logging and adding a logging level argument. Adding StartMaintenance API. 2018-11-16 21:54:18 -08:00
Renan DelValle
6ce6411ee0
Updating dependencies. 2018-11-16 21:52:45 -08:00
Renan DelValle
c03901c0f1
Upgrading dependencies to include logrus. 2018-11-09 15:59:12 -08:00
Renan DelValle
bc28198c2d
Adding ability to print out responses as JSON. 2018-11-09 15:58:26 -08:00
Renan DelValle
dcb27f64c2
Release 0.0.5 2018-10-25 19:41:23 -07:00
Renan DelValle
d4f442d05c
Adding config file to /etc/aurora 2018-10-25 17:30:01 -07:00
Renan DelValle
1a046b30af
Initial support for australis as a debian package. Sample config file should be added. Using docker to build. 2018-10-25 12:35:28 -07:00
Renan DelValle
032ee08af1
Adding sample config. 2018-10-23 23:35:08 -07:00
Renan DelValle
cdb4b5a1d0
Checking in vendor folder for ease of using go get. 2018-10-23 23:32:59 -07:00
Renan DelValle
7a1251853b
Adding ability to use a config file in order to reduce command length. 2018-10-23 23:32:28 -07:00
Renan DelValle
88ca728041
Adding Viper as a dependency. 2018-10-23 23:28:27 -07:00
Renan DelValle
fa111ccee4
Hide global flags for fetch leader as they're not needed. Allow for arbitrary zkPath to be passed to fetch leader unde --zkPath. Change command use to be more informative. 2018-10-23 17:42:52 -07:00
Renan DelValle
e4554309f4
Using builtin cobra version function. 2018-10-23 16:52:29 -07:00
Renan DelValle
50ec7cad2c
Using cobra mechanism to restrict number of arguments given to explicit recon. 2018-10-23 15:30:41 -07:00
Renan DelValle
112f172c64
Adding version command. 2018-10-23 15:24:29 -07:00
Renan DelValle
b2942d3314
Adding changelog. 2018-10-23 15:14:10 -07:00
Renan DelValle
1818d629ef
Created new verb force. Moved snapshot and backup to this new verb as it reflects the nature of the command. Added implicit and explicit reconciliation. 2018-10-23 15:13:23 -07:00
Renan DelValle
579bc33936
Simplifying command since gorealis now handles error case scenarios and we don't care about resp code here. 2018-10-23 12:54:34 -07:00
Renan DelValle
10d5e595f1
Updating dependencies. 2018-10-23 12:54:00 -07:00
Renan DelValle
71a1eab1d1
Bug fix: Adding insecureSkipVerify option to realis options and moving realis options out of the zookeeper path only. 2018-10-19 12:29:17 -07:00
Renan DelValle
91d962f481
Merge pull request #2 from njayachandran/master
Included fetch status command to get the maintenance status of a node…
2018-09-21 19:10:56 -07:00
Natarajan, Jayachandran
e1c403f585 Included fetch status command to get the maintenance status of a node in Aurora 2018-09-21 14:29:31 +05:30
Renan DelValle
7f64de61de
Style fix for the description of Snapshot and Backup. 2018-09-16 21:30:04 -07:00
Renan DelValle
40d14588b8
Updating README to reflect new operations available through the CLI. 2018-09-16 21:28:12 -07:00
Renan DelValle
255546beb4
Explicitly initializing string pointers for env, role, and name since flag library does not do this. 2018-09-16 21:26:31 -07: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
ce71939546
Updating dependencies on gorealis and thrift. 2018-09-16 21:22:35 -07:00
Renan DelValle
b50fdf8fff
Adding ability to force a snapshot and to force a backup. 2018-09-16 21:22:00 -07:00
Renan DelValle
3341fe8e11
Adding fetch jobs command. Currently only takes into account the role. 2018-06-15 16:12:35 -07:00
Renan DelValle
09469f3216
Adding interval configuration to stop command. 2018-06-15 16:07:11 -07:00
Renan DelValle
51daad88eb
Adding interval and timeout flags for start and stop drain. 2018-05-30 18:15:16 -07:00
Renan DelValle
afa7a5d14f
Change drain monitor to only return on DRAINED based on feedback from users. 2018-05-30 17:50:53 -07:00