1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00
Commit Graph

3257 Commits

Author SHA1 Message Date
Brad Rydzewski
3d6bd58be8 ensure stash responses closed 2018-10-19 13:03:46 -07:00
Brad Rydzewski
eb96456909 fix for #2480 2018-10-18 22:33:56 -07:00
Brad Rydzewski
a1d270a253
Merge pull request #2510 from tboerger/envsubst-update
Upgrade envsubst to latest version
2018-10-18 12:31:13 -07:00
Thomas Boerger
eb06a8dc1c
Upgrade envsubst to latest version
Update the github.com/drone/envsubst to the latest version to include
fixes to the substr function.
2018-10-18 17:40:39 +02:00
Brad Rydzewski
4165f8def1
Merge pull request #2434 from typeless/push-500
Fix out-of-bounds error when a push doesn't contain commits
2018-10-17 09:55:38 -07:00
Brad Rydzewski
59c637fc82
Merge pull request #2464 from bradrydzewski/master
set kube/vault refresh interval, fixes #2463
2018-07-30 12:56:18 -07:00
Brad Rydzewski
4f5c53f9ee set kube/vault refresh interval, fixes #2463 2018-07-30 12:39:18 -07:00
Thomas Boerger
c48150767c
Raise version to 0.8.6 2018-07-27 12:46:02 +02:00
Mura Li
63fba676b1 Fix out-of-bounds error when a push doesn't contain commits 2018-06-11 16:47:25 +08:00
Brad Rydzewski
29785b86f6
Merge pull request #2411 from praxist/fix-vault-k8s
Fix vault-k8s expected response type
2018-05-02 17:02:25 -07:00
Matt Leung
75fbaf91d9 Fix vault-k8s expected response type
Vault server response for lease_duration is an integer, rather than a string
2018-05-02 16:54:34 -07:00
Brad Rydzewski
4063d29b44 fix failing build count test 2018-05-02 09:59:05 -07:00
Brad Rydzewski
9ffd5ad9e8 alternate build count strategy for postgres 2018-05-02 09:45:05 -07:00
Brad Rydzewski
6a651f1e39 move vault params to extras 2018-05-01 21:05:30 -07:00
Brad Rydzewski
c01a05def6
Merge pull request #2409 from folex/master
Use proper Bitbucket API for permission detection
2018-04-30 09:48:18 -07:00
folex
0f737fd82c Fix fmt.ErrorF usage 2018-04-30 11:50:49 +03:00
folex
b1dfa4a5a9 Fix PR comments
full_name   -> fullName
"%s"        -> %q
errors.New  -> fmt.Errorf
2018-04-28 10:25:30 +03:00
Brad Rydzewski
d6f595e721
Merge pull request #2406 from praxist/kubernetes-auth
Enable Vault auth through kubernetes auth method
2018-04-27 15:46:27 -07:00
Matt Leung
187d1d65bb add additional opt to set v.auth 2018-04-27 14:50:47 -07:00
Matt Leung
db698f9ef4 fixup: some comments, added opts test, address pr concerns 2018-04-27 14:22:20 -07:00
folex
0b73e5489b Add tests:
- read access
- write access
- admin access
2018-04-27 20:48:54 +03:00
folex
764c36f736 Use user/permissions bitbucket API instead of hooks 2018-04-27 19:01:15 +03:00
Matt Leung
c4fe6496b5 fixup: catch err from parseduration 2018-04-24 15:26:12 -07:00
Matt Leung
79428aa231 Enable Vault auth through kubernetes auth method
Added a feature to obtain the initial Vault token from the Kubernetes
auth method.

This works by making a request to the Vault server at the specified auth
method mount point's login path and presenting the JWT located in a file
on a running pod, along with the Kubernetes role to authenticate as.

Vault will then respond with a token and its TTL, if the request is valid.
2018-04-24 14:56:28 -07:00
Brad Rydzewski
9d8f8c3a44
Merge pull request #2396 from SkySymbol/issue_2154_labels
Remove labels deserialization for gogs and gitea PRs
2018-04-10 09:07:28 -07:00
Vincent Lequertier
23f215df0e Remove labels deserialization for gogs and gitea PRs
This fixes #2154
2018-04-10 11:24:05 +02:00
Brad Rydzewski
923dcec109
Merge pull request #2394 from delfer/patch-1
Add ability to restart build of any state
2018-04-07 10:56:50 -07:00
Delfer
ea2c72b4b4 Add ability to restart build of any state 2018-04-06 17:54:24 +03:00
Brad Rydzewski
9cd328abcd Merge remote-tracking branch 'origin' 2018-04-01 11:55:13 -07:00
Brad Rydzewski
641afd9273
Merge pull request #2350 from filoozom/fix-gitea-sync [ci skip]
Fix gitea `actionSync`
2018-04-01 11:51:34 -07:00
Brad Rydzewski
456d72f3b8
Merge pull request #2359 from techmexdev/patch-1 [ci skip]
Update router.go
2018-04-01 11:43:12 -07:00
Brad Rydzewski
8a65cf91a9
Merge pull request #2313 from Valeran86/bugix/postgres-semicolon-in-scripts [ci skip]
fix missing semicolon in Postgres script's files
2018-04-01 11:38:00 -07:00
Brad Rydzewski
846db9f387
Merge pull request #2328 from YmarkusY/master [ci skip]
upgrade alpine base image to latest version
2018-04-01 11:35:50 -07:00
Brad Rydzewski
a15ea23cea Merge remote-tracking branch 'origin' 2018-04-01 11:34:12 -07:00
Brad Rydzewski
d3898a755e update vendored pipeline runner 2018-04-01 11:34:01 -07:00
Brad Rydzewski
c78ce27d76
Merge pull request #2386 from fbcbarbosa/patch-1
Fix EventStreamSSE Memory Leak
2018-03-30 09:39:41 -07:00
Brad Rydzewski
897eb95bcd
Merge pull request #2369 from JonasFranzDEV/master
Add context to Gitea status
2018-03-30 09:32:09 -07:00
Brad Rydzewski
81103a9820 bump target version number to 0.8.5 2018-03-29 10:40:54 -07:00
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