Commit graph

3539 commits

Author SHA1 Message Date
Brad Rydzewski
779083a9dc bump go-scm 2019-02-22 14:20:01 -08:00
Brad Rydzewski
d2bdd5fca5 fix registry credentials from secrets 2019-02-22 11:58:23 -08:00
Brad Rydzewski
84f6765def Merge remote-tracking branch 'origin/master' 2019-02-22 09:01:23 -08:00
Brad Rydzewski
69a8e404bd fix issue with wrong default .drone.yml file 2019-02-22 09:01:11 -08:00
Brad Rydzewski
02df116424
Merge pull request #2600 from JordanSussman/master
feat(s3): allow user to specify s3 endpoint for non aws usage
2019-02-21 12:24:46 -08:00
Brad Rydzewski
f7fd7185a3 fix manifest 2019-02-21 11:30:05 -08:00
Brad Rydzewski
1ba438d9f3 fix failing unit test fetching yaml 2019-02-21 11:17:27 -08:00
Brad Rydzewski
c36bf0d5ee only check no fork logic if pull request 2019-02-21 11:10:56 -08:00
Brad Rydzewski
616433b709 optionally disable pr and fork at database level 2019-02-21 11:06:33 -08:00
JordanSussman
2b539ed123 feat(s3): allow user to specify s3 endpoint for non aws usage 2019-02-20 22:17:50 -06:00
Brad Rydzewski
db7f0cdffb enable deploy events 2019-02-20 15:15:29 -08:00
Brad Rydzewski
bdad69cf3f merge upstream 2019-02-20 10:37:21 -08:00
Brad Rydzewski
6621f4c7f7 wip enable CE 2019-02-20 10:34:26 -08:00
Brad Rydzewski
0edc9d08e2
Merge pull request #2599 from tboerger/fixes
Fix server docker image and manifest helpers
2019-02-19 22:51:08 -08:00
Thomas Boerger
77b19f8969
Fix server docker image name 2019-02-20 07:42:25 +01:00
Thomas Boerger
c99d282219
Fix manifest helper parameters 2019-02-20 07:42:10 +01:00
Brad Rydzewski
26d2fc6ef8 update notice [ci skip] 2019-02-19 19:55:28 -08:00
Brad Rydzewski
7056084757 Add NOTICE [CI SKIP] 2019-02-19 18:48:39 -08:00
Brad Rydzewski
9c9975d6a8 add package to go build 2019-02-19 16:35:31 -08:00
Brad Rydzewski
8f1e0ad11d fix invalid mock 2019-02-19 16:10:23 -08:00
Brad Rydzewski
8ebc175a04 fix issue with rootcert checksum 2019-02-19 16:03:30 -08:00
Brad Rydzewski
5b6a3d8ff4 squash and merge local branch 2019-02-19 15:56:41 -08:00
Brad Rydzewski
6d144de735
Fix for #2541 2018-12-05 18:52:20 -08:00
Brad Rydzewski
768ed784bd bump static version 2018-11-15 13:02:09 -08:00
Brad Rydzewski
a527ac7f29
Merge pull request #2527 from nsheridan/master
Don't return extra columns in result set
2018-11-14 08:50:11 -08:00
Brad Rydzewski
166faba684
Merge pull request #2526 from nsheridan/panic_recover
Recover panic on closed channel
2018-11-14 08:19:55 -08:00
Niall Sheridan
a55fa44589 Recover panic on closed channel
Related to #2480

Signed-off-by: Niall Sheridan <nsheridan@squarespace.com>
2018-11-14 11:27:41 +00:00
Niall Sheridan
4949047575 Don't return extra columns in result set
Since commit 360708e93d the feed-latest-build query has returned extra columns in the results, causing log messages like the following:

```
meddler.Targets: column [build_repo_id] not found in struct
meddler.Targets: column [build_id] not found in struct
meddler.WriteTargets: column [build_repo_id] not found in struct
meddler.WriteTargets: column [build_id] not found in struct
```

This is a result of the optimised Postgres query including the `build_repo_id` and `build_id` terms, where previously they were not inclued.
This PR rewrites the query slightly to produce the expected result set (i.e. without the `build_repo_id` and `build_id` columns). As a side-effect it also looks similar to the original query.

Signed-off-by: Niall Sheridan <nsheridan@squarespace.com>
2018-11-14 11:22:28 +00:00
Brad Rydzewski
bc22e226d0 bump version 2018-11-10 10:36:20 -08:00
Brad Rydzewski
932d0f7fbb Merge remote-tracking branch 'upstream/master' 2018-11-08 22:46:06 -08:00
Brad Rydzewski
360708e93d optimize postgres query 2018-11-08 22:42:32 -08:00
Brad Rydzewski
08739aaed9 update bb client 2018-10-19 13:18:11 -07:00
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