Brendan Abolivier
|
0f90f1acb9
|
Comment webhook's modified code and clone the repo if needed when setting the webhook
|
6 years ago |
Brendan Abolivier
|
b38967b06f
|
Comment common
|
6 years ago |
Brendan Abolivier
|
f3a5030df0
|
Filter out ignored files
|
6 years ago |
Brendan Abolivier
|
e797487db8
|
Typo
|
6 years ago |
Brendan Abolivier
|
046788a748
|
Comment the poller
|
6 years ago |
Brendan Abolivier
|
65257ab64f
|
Pull after push
|
6 years ago |
Brendan Abolivier
|
50c5e82899
|
Adapt methods and functions
|
6 years ago |
Brendan Abolivier
|
3949cceabe
|
Refactored the pusher for cleaner code and to easily plug the poller in
|
6 years ago |
Brendan Abolivier
|
c264f267df
|
Enable poller
|
6 years ago |
Brendan Abolivier
|
e81ad25091
|
Add git-pull poller
|
6 years ago |
Brendan Abolivier
|
b1c29fb3b8
|
Add tests directory to gitignore
|
6 years ago |
Brendan Abolivier
|
b99ae88b1d
|
Update go-git
|
6 years ago |
Brendan Abolivier
|
3a9a01b8ac
|
Move webhooks to different package
|
6 years ago |
Brendan Abolivier
|
8603a20016
|
Enrich the git package
|
6 years ago |
Brendan Abolivier
|
d10644f3bf
|
Adapt configuration to introduce different push modes
|
6 years ago |
Brendan Abolivier
|
7682350a35
|
Use logrus to panic on err + localise variables
|
6 years ago |
Brendan Abolivier
|
0a3e0104ff
|
If asked via a CLI flag in the pusher call, delete dashboards which files were removed
|
7 years ago |
Brendan Abolivier
|
192189f53b
|
Fix built + typo
|
7 years ago |
Brendan Abolivier
|
64b812bb10
|
Optimise push workflow
|
7 years ago |
Brendan Abolivier
|
13a63682a2
|
Doc + optim
|
7 years ago |
Brendan Abolivier
|
b79da1b71c
|
Compute slug in CreateOrUpdateDashboard
|
7 years ago |
Brendan Abolivier
|
fc150cfbb1
|
Compare prefix against dashboards' slugs instead of their names
|
7 years ago |
Brendan Abolivier
|
f33a0f26d7
|
Handle existing clone paths that are not a Git repository
|
7 years ago |
Brendan Abolivier
|
d53ea113fd
|
Remove 'non-fast-forward update' from the known non-errors
|
7 years ago |
Brendan Abolivier
|
46d20cf39e
|
Factorise non-error detection when talking to the Git remote
|
7 years ago |
Brendan Abolivier
|
f2f08e71c9
|
Don't panic on remote repository is empty
|
7 years ago |
Brendan Abolivier
|
2605b3b2a5
|
Typo
|
7 years ago |
Brendan Abolivier
|
751e8d048a
|
Mention that the pusher doesn't delete removed dashboards
|
7 years ago |
Brendan Abolivier
|
9186ca4d09
|
Ignore versions.json
|
7 years ago |
Brendan Abolivier
|
8d175bf33b
|
Add logging
|
7 years ago |
Brendan Abolivier
|
c443402dd8
|
Typo
|
7 years ago |
Brendan Abolivier
|
21a77219bb
|
Add README
|
7 years ago |
Brendan Abolivier
|
d59b526e1e
|
Add ignored prefix to the configurable keys and filter by dashboard name instead of slug
|
7 years ago |
Brendan Abolivier
|
175f05e91f
|
Use ssh user specified in the config for Git auth
|
7 years ago |
Brendan Abolivier
|
343ad16b42
|
Ignore files/dashboards which name start with 'test'
|
7 years ago |
Brendan Abolivier
|
a709690d90
|
Move check of push ref before sync of repo
|
7 years ago |
Brendan Abolivier
|
7ba24c41f2
|
Move pushing to the Grafana API outside of the loop iterating over commits
|
7 years ago |
Brendan Abolivier
|
1391394ac9
|
Filter push events by ref
|
7 years ago |
Brendan Abolivier
|
50a388fcbf
|
Doc pusher
|
7 years ago |
Brendan Abolivier
|
bb592f53a6
|
Add AGPL license
|
7 years ago |
Brendan Abolivier
|
0fa54841f1
|
Add check on nil error in Push + some more doc
|
7 years ago |
Brendan Abolivier
|
56ebf1ece8
|
Doc git
|
7 years ago |
Brendan Abolivier
|
0025d65d89
|
Add missing error check
|
7 years ago |
Brendan Abolivier
|
bd07b371ce
|
Doc Grafana client
|
7 years ago |
Brendan Abolivier
|
24358cae4f
|
Doc config Load
|
7 years ago |
Brendan Abolivier
|
c89381efab
|
Check if err isn't nil to avoid nil pointer dereference
|
7 years ago |
Brendan Abolivier
|
05ac42989e
|
Send overwrite: true in creation/update requests because else the Grafana API does weird stuff
|
7 years ago |
Brendan Abolivier
|
c680c2a359
|
Fix wrong call to HasPrefix
|
7 years ago |
Brendan Abolivier
|
cc1d718d23
|
Check for non-fast-forward update error on push
|
7 years ago |
Brendan Abolivier
|
a353eb97b1
|
Add Content-Type header for non-GET HTTP requests + rename function for more accuracy
|
7 years ago |