Граф коммитов

86 Коммитов

Автор SHA1 Сообщение Дата
Martin Strobel 5e0bd725bf Further logging consolidation 2018-11-15 13:44:14 -08:00
Martin Strobel 2e8a8f9725 More stylistic nits 2018-11-15 13:44:14 -08:00
Martin Strobel 1c3a9a9f42 Removing custom error handling 2018-11-15 13:44:14 -08:00
Martin Strobel 43f25c2f74 Fixing a bunch of spelling and formatting mistakes 2018-11-15 13:44:14 -08:00
Martin Strobel 9d8b63af5c Replacing roll-your-own logging with logrus.
I deliberately didn't change any of what's being logged or at what level, despite there being some places where things struck me as odd. But that will come later.
2018-11-15 13:44:14 -08:00
Martin Strobel 66f6af085f
Replacing `dep` with usage of go modules. (#20)
* Replacing `dep` with usage of go modules.

* Updating version of Go in Travis file
2018-11-05 09:46:24 -08:00
Troy Dai 3dfdc9a32b
Timeout (#19)
Add a timeout mechanism to the droid. The timeout is hard coded to 2 hours.
2018-10-09 10:20:58 -07:00
Troy Dai 935ba40ba5
Update dependencies 2018-09-11 09:33:40 -07:00
Troy Dai 26ecdcfc0b
Assign service account to the test pod 2018-09-11 09:28:39 -07:00
Troy Dai 67ad8f1f68
Update the client. (#18)
* Update azure-cli installation

* Cleanup Gopkg.toml
2018-09-10 15:07:54 -07:00
Troy Dai 3180cb59bf
Update service names (#17) 2018-09-10 11:40:23 -07:00
Troy Dai 65114e9a32
Enable dispatcher to exclude tests 2018-05-08 15:00:38 -07:00
Troy Dai a7b4e5cfb0
Add comments 2018-04-20 10:42:08 -07:00
Troy Dai 40b971ed13
Reorganize code 2018-04-20 10:15:40 -07:00
Troy Dai 3d2ea20169
Update folder and add dep
1. Move dispatcher to their own directories
2. Update build script
3. Add Azure SDK
2018-04-20 09:50:23 -07:00
Mariana Cardoso b3971e41cb Add support for secret files (#14)
* Add support for secret files

* Add volume mount

* Feedback
2018-04-17 10:51:31 -07:00
Mariana Cardoso 20af695890 Add Power BI refresh (#13) 2018-04-12 14:34:35 -07:00
Mariana Cardoso bca0242a17 Send emails only on official runs (#12) 2018-04-05 10:37:00 -07:00
Troy Dai 1ca14c1bc4
Save log and recording path in task details 2018-03-19 16:42:10 -07:00
Mariana Cardoso 15d7da0809 Add template to report request (#10) 2018-03-19 13:37:58 -07:00
Troy Dai b1ca93ec6b
Add labels to the test pod 2018-03-18 22:31:40 -07:00
Troy Dai cb815e1145
Feature: enable configurable taskbroker endpoint 2018-03-18 15:27:03 -07:00
Troy Dai 580a6196fc
Leave the monitor loop when queue does not exist. 2018-03-16 11:48:35 -07:00
Mariana Cardoso 8a3953a91a Use secret owners (#9)
* Add secret owners

* Do not decode secret data

* Delete owners from metadata file
2018-03-15 10:57:59 -07:00
Troy Dai 9bf6ca9fe3
Add the concept of status to the dispatcher
Fix Issue #7

The dispatcher now understand the concept of run status and will act
differently based on the current status of the run. This will prevent a
dispatcher from repeatedly publish jobs to the queue after it crashes
and restarted by the Kubernetes.

Additionally in this commit, major refactory is done to the dispatcher
to move logics closer to the data models.
2018-03-13 16:31:40 -07:00
Troy Dai ff7268a9ff
Update dependencies 2018-03-13 13:46:08 -07:00
Troy Dai c7b4b3931c
Merge pull request #6 from mcardosos/multireceiver
Add multiple receivers
2018-03-13 09:26:21 -07:00
Troy Dai 5875efc710
Merge branch 'master' into multireceiver 2018-03-13 09:16:44 -07:00
Mariana Cardoso 3a1112682d Feedback 2018-03-12 23:28:44 -07:00
Troy Dai 9d35bbff3f
Change the command execution logic 2018-03-12 23:07:43 -07:00
mcardosos 1b7c4cc93d Add multiple receivers 2018-03-12 18:25:54 -07:00
Troy Dai c69847c848
Fix travis.yml 2018-03-11 23:30:33 -07:00
Troy Dai 0f73504a33
Major update: Introduce message broker
Introduce a RabbitMq as the message broker to dispatch tasks. This is a
major overhaul of the internal architecture. As a result both a01droid
and a01dispatch underwent major overhaul.

After database lock is eliminated from the message broker equation,
there are fewer HTTP requests to the task store is needed. Tasks are not
added until it is actually executed. The controller job also stop
querying the tasks for run status update.

Many logics originally in the main.go are moved to be closer to the data
model or other utility package.
2018-03-11 22:50:10 -07:00
Troy Dai 021bfc006d
Add script for private build 2018-03-11 11:25:53 -07:00
Troy Dai 12e0e17afa
Rename and move scripts 2018-03-11 10:51:47 -07:00
Troy Dai 73c92cba7f
Update documentation 2018-03-09 19:34:07 -08:00
Troy Dai fd1276f4a9
Update upload logic 2018-03-09 19:23:06 -08:00
Troy Dai 4b1849f8b0
Fix ParentNotFound issue during publish 2018-03-09 19:13:37 -08:00
Troy Dai d01f90df7b
Update travis to skip clean 2018-03-09 19:08:15 -08:00
Troy Dai cab14ca4b6
Update publish script 2018-03-09 18:58:55 -08:00
Troy Dai 88b7c707f0
Fix share name 2018-03-09 18:52:10 -08:00
Troy Dai c96bd9aeaa
Update build script 2018-03-09 18:46:10 -08:00
Troy Dai 36adef8e66
Major overhaul
1. Allow droid and dispatcher to be mount
2. Reduce reliance on the environment variable
2018-03-09 18:18:03 -08:00
Troy Dai 94f06c5d42
Fix dispatcher issue
During monitoring, when it fails to query the tasks, the dispatcher
should not exit but rather wait till the next poll. Otherwise, the
restarted managed pod will schedule test cases all overall again.
2018-03-09 10:24:32 -08:00
Troy Dai 3a2c1932c4
Merge pull request #4 from mcardosos/dep
Use dep to pin down dependencies
2018-03-05 16:55:52 -08:00
Mariana Cardoso 45a5c9a4e3 Disable CGO 2018-03-05 16:19:15 -08:00
Mariana Cardoso 762ffc5d12 Add dependencies 2018-03-05 15:58:33 -08:00
Troy Dai ca80c91a2e
Major iteration v3
Introduce a01dispatcher executable. The dispatcher is loaded to the
test image and acts as the central control of in cluster actions.
2018-03-02 19:11:24 -08:00
Troy Dai eafc2bca74
Make a01droid executable 2018-02-26 23:01:59 -08:00
Troy Dai f037076dfd
Update travis.yml
Remove secure string.
2018-02-23 18:25:07 -08:00