Brad Rydzewski
5d7260631e
Merge pull request #2385 from tboerger/fix-token-name
...
Fixed wrong variable name
2018-03-27 15:54:30 -07:00
Fernando Barbosa
00f72ef206
Fix EventStreamSSE Memory Leak
...
The `Config.Services.Pubsub.Subscribe` is being initialized with the global Gin Context. This causes the publisher object to [hang at line 58](https://github.com/cncd/pubsub/blob/master/pub.go#L58 ) and the goroutine remains opened indefinetly, which can be a source of memory leak.
Setting it to the locally defined ctx object correctly causes the goroutine to close when the function exits due to the deferred close.
See https://discourse.drone.io/t/memory-leak-on-drone-server/1884 for further information.
2018-03-27 19:19:22 -03:00
Thomas Boerger
398ca972bc
Fixed wrong variable name
2018-03-27 22:50:55 +02:00
Brad Rydzewski
d78cadbbad
Merge pull request #2376 from tboerger/prometheus-token
...
Use specific token for prometheus metrics
2018-03-27 13:23:43 -07:00
Thomas Boerger
06ff6b50ed
Use specific token for prometheus metrics
2018-03-27 22:22:19 +02:00
Brad Rydzewski
a85f89a3c1
Merge pull request #2377 from tboerger/format-fix [ci skip]
...
Just fixed format with go fmt ./...
2018-03-27 13:10:01 -07:00
Thomas Boerger
7f49e69607
Just fixed format with go fmt ./...
2018-03-21 14:02:17 +01:00
Jonas Franz
9671ebeb37
Merge branch 'master' of https://github.com/JonasFranzDEV/drone
...
# Bitte geben Sie eine Commit-Beschreibung ein, um zu erklären, warum dieser
# Merge erforderlich ist, insbesondere wenn es einen aktualisierten
# Upstream-Branch mit einem Thema-Branch zusammenführt.
#
# Zeilen beginnend mit '#' werden ignoriert, und eine leere Beschreibung
# bricht den Commit ab.
2018-03-10 20:13:02 +01:00
Jonas Franz
6a32935011
Add context to gitea status
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-03-10 20:11:34 +01:00
Jonas Franz
34e7c1648f
Add context to gitea status
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2018-03-10 20:09:14 +01:00
Brad Rydzewski
a1d1d49852
add vault driver_opts support
2018-03-08 12:46:39 -08:00
Rodolfo Rodriguez
97da939475
Update router.go
...
Removes unused code
2018-03-01 17:09:33 -06:00
Brad Rydzewski
5e557bb2d8
add debug logs to vault implementation
2018-02-23 09:11:47 -08:00
Brad Rydzewski
5f5a0413fe
add secret plugin interface
2018-02-21 14:24:45 -08:00
Brad Rydzewski
a12fe49296
add secret plugin interface
2018-02-21 14:23:37 -08:00
Brad Rydzewski
29028c1fdb
Merge remote-tracking branch 'origin/master'
2018-02-21 14:12:25 -08:00
Brad Rydzewski
6d61e57e93
enable periodic tokens
2018-02-21 14:12:10 -08:00
Philippe Schommers
487f6c9501
Fix gitea actionSync
2018-02-20 18:53:03 +01:00
Brad Rydzewski
9e68a09f50
Merge pull request #2349 from bradrydzewski/master [ci skip]
...
add apache license header to files
2018-02-19 14:29:33 -08:00
Brad Rydzewski
580fe9abb7
add apache license header to files
2018-02-19 14:24:10 -08:00
Brad Rydzewski
cef20f0476
Merge pull request #2331 from jbrockopp/master
...
Build List Pagination
2018-02-19 14:01:33 -08:00
Brad Rydzewski
ce740a635e
Merge pull request #2295 from jmccann/keepalive_server
...
Allow setting MinTime for keepalive enforcement on server
2018-02-19 13:36:13 -08:00
Brad Rydzewski
909053ba5b
Merge pull request #2244 from appleboy/fix2
...
Fix drone filter func
2018-02-19 13:01:05 -08:00
Brad Rydzewski
9a76ab5bbb
Merge pull request #2315 from favadi/gitea-pull-sender
...
uses email from Sender field of push event
2018-02-19 12:25:34 -08:00
Brad Rydzewski
0c7c811ebd
Merge pull request #2344 from yuukiyo/fix_typo [ci skip]
...
Fix typos
2018-02-19 12:23:59 -08:00
Brad Rydzewski
f5fd78b344
Merge pull request #2321 from tonglil/drone-cli-usage
...
Drone cli usage
2018-02-19 12:23:16 -08:00
Brad Rydzewski
c28d1bad2b
Format LICENSE [ci skip]
2018-02-16 13:52:26 -08:00
Brad Rydzewski
ce3855812b
Update LICENSE
2018-02-16 13:49:11 -08:00
Markus Schölzel
365a3058ea
Merge remote-tracking branch 'upstream/master'
2018-02-16 10:25:04 +01:00
Yuki Yoshida
100f44c615
Fix typos
2018-02-16 17:21:01 +09:00
Tony Li
9651a8043e
add usage for cpu-set
2018-02-13 10:41:36 -08:00
Brad Rydzewski
ad2aec815e
Merge pull request #2320 from mjwwit/master
...
Fix Gitea remote pull-request webhook parsing
2018-02-13 08:19:41 -08:00
Diep Pham
e3a5376d01
uses email from Sender field of push event
...
Gitea/Gogs [set repository owner](d644e88107/models/pull.go (L469)
) information as Pusher in webhook.
For example, if we have a repository: git.example.com/org1/repo1, owner
of repository will be `org1` and the email field will be empty. This PR
changes gitea/gogs helpers to use the email in Sender field, which is
the user that click the merge button.
2018-02-06 15:15:24 +07:00
Jordan Brockopp
c84031e3e8
get page query param. set default of 1 if not set
2018-02-02 13:04:21 -06:00
Jordan Brockopp
af76d46b53
add page param for getting build list with offset
2018-02-02 13:03:40 -06:00
Brad Rydzewski
5722ce410a
Merge pull request #2326 from jbrockopp/master
...
allow repo admin to update build counter
2018-02-01 13:50:06 -08:00
Markus Schölzel
fe593eedd1
upgrade alpine base images to latest version
2018-02-01 22:15:50 +01:00
Brad Rydzewski
e60b76921f
Merge pull request #2327 from jbrockopp/build_kill
...
allow repo admin to kill build
2018-02-01 12:35:11 -08:00
Jordan Brockopp
af08c76b6a
allow repo admin to kill build
2018-02-01 14:07:45 -06:00
Jordan Brockopp
a844ed53e9
allow repo admin to update build counter
2018-02-01 13:10:00 -06:00
Tony Li
84954e2d20
fix verbage
2018-01-30 13:30:06 -05:00
Tony Li
0a6666b4bf
update server-agent usage
2018-01-30 13:28:17 -05:00
Tony Li
22522bfe44
update server usages
2018-01-30 13:28:07 -05:00
Tony Li
625ef44f55
make same
2018-01-29 19:21:46 -05:00
Tony Li
73914fdbd5
update server cli usage
2018-01-29 19:21:32 -05:00
Tony Li
e1a695bd04
update agent cli usage
2018-01-29 19:00:14 -05:00
Michael de Wit
e4a77e5346
Fix Gitea remote pull-request webhook parsing
2018-01-29 13:20:02 +01:00
Jacob McCann
8295166ca4
Update usage for keepalive-min-time
2018-01-24 08:41:11 -06:00
Александр Ангин
b892f566e5
fix missing semicolon in Postgres script's files
2018-01-22 10:40:11 +03:00
Brad Rydzewski
75150d4a42
Merge pull request #2309 from tonglil/patch-1
...
Log timestamp when puring log
2018-01-18 10:45:51 -08:00