Commit graph

164 commits

Author SHA1 Message Date
Bradley Rydzewski
a88f9d0743 added endpoints for branch summary 2020-03-13 13:27:07 -04:00
Brad Rydzewski
a000a4e7a3 method to count human users vs machine users 2020-01-03 18:28:36 -08:00
Brad Rydzewski
cbfd342333 endpoint to paginate through all repos 2019-10-02 11:29:57 -07:00
Brad Rydzewski
3fcbf1c78f service to batch cancel pending builds 2019-10-01 22:51:23 -07:00
Brad Rydzewski
d60054c459 increase size of stage name column 2019-09-23 16:46:20 -07:00
Brad Rydzewski
05be17ff76 add alternative batch syncer 2019-09-23 16:45:02 -07:00
Brad Rydzewski
1e0f028166 fix failing stage test on mysql 2019-09-23 16:44:34 -07:00
Brad Rydzewski
33bd477f71 added support for github deployment status 2019-08-26 12:26:09 -07:00
Robert Lippens
4ee4ba7a62
delete snapshots of blob along with the blob 2019-08-14 09:59:59 -07:00
Robert Lippens
35b2e16c5c
use CountToEnd to read entire blob 2019-08-14 09:57:42 -07:00
Robert Lippens
60a0613772
set upload buffer settings 2019-08-14 00:41:45 -07:00
Robert Lippens
11a7729db9
configure azure blob storage for drone 2019-08-13 21:12:39 -07:00
Brad Rydzewski
a0bffdeb32 batch update error includes repository name and id 2019-06-06 22:09:12 -07:00
Brad Rydzewski
7aba4b8234 fixes #2689 2019-05-30 09:11:01 -07:00
Brad Rydzewski
440f192730 add test case that demonstrates issue #2658 2019-05-20 09:23:26 -07:00
Brad Rydzewski
2a512d1448 fix postgres migration error 2019-04-22 16:14:17 -07:00
quux
b9c812379b
Fix mysql typo in ddl_gen 2019-04-17 17:39:55 -04:00
quux
703481d997
Fix typo in mysql migration file for org secrets 2019-04-17 17:23:51 -04:00
Brad Rydzewski
be5b2fa2df
Merge pull request #2663 from ferhatelmas/drop-err [CI SKIP]
batch: drop unpossible error check
2019-04-16 16:17:53 -07:00
徐扬
49bbaf4a11 fix some typos 2019-04-16 11:05:46 +08:00
Brad Rydzewski
96132e3d0a support for per-organization secrets 2019-04-14 17:06:16 -07:00
Brad Rydzewski
727177da13 ability to delete repository 2019-04-14 14:01:47 -07:00
Brad Rydzewski
9b5d07f843 sqlite username column case insensitive 2019-04-14 10:47:23 -07:00
Brad Rydzewski
e855881324 limit pipelines by cron name, #2628 2019-04-13 12:40:50 -07:00
ferhat elmas
f4f6d13df9 batch: drop unpossible error check
in favor of annotated error message.
There is also unrelated diff due to gofmt.
2019-04-13 17:40:54 +02:00
Brad Rydzewski
fabd2670f5 force SIGINT when terminating the agent 2019-03-19 14:44:02 -07:00
Brad Rydzewski
38b1847914 adjust repo feed query for postgres 2019-03-19 10:23:15 -07:00
Brad Rydzewski
cd439d261c comment out suboptimal pg query 2019-03-18 23:59:11 -07:00
Brad Rydzewski
a9d63cea69 fix incomplete build query 2019-03-18 23:39:33 -07:00
Brad Rydzewski
4e4932512c fix issue #2553 2019-03-14 10:16:19 -07:00
Brad Rydzewski
fe2ab2c3a4 Merge remote-tracking branch 'origin/master' 2019-03-13 14:48:02 -07:00
Brad Rydzewski
ff8f29df53 audit headers 2019-03-13 14:47:47 -07:00
KhanhIceTea
38cba9aa29 change build_author_name charset to utf8mb4 2019-03-08 14:44:19 +07:00
Brad Rydzewski
dd2cc872c2 remove deprecated scheduler 2019-03-05 23:47:55 -08:00
Brad Rydzewski
e52329b111 adde encrypt endpoint 2019-02-28 12:49:04 -08:00
Brad Rydzewski
d240eadb65 merge remote-tracking branch 'origin/master' 2019-02-27 23:07:30 -08:00
Brad Rydzewski
d04647e75f add build tags 2019-02-27 23:07:13 -08:00
Thomas Boerger
876645a1b0
Provide pathstyle for S3 log storage 2019-02-26 22:09:56 +01: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
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
5b6a3d8ff4 squash and merge local branch 2019-02-19 15:56:41 -08: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
360708e93d optimize postgres query 2018-11-08 22:42:32 -08: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
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
Thomas Boerger
7f49e69607
Just fixed format with go fmt ./... 2018-03-21 14:02:17 +01:00
Brad Rydzewski
580fe9abb7 add apache license header to files 2018-02-19 14:24:10 -08:00