Commit graph

3405 commits

Author SHA1 Message Date
Laszlo Fogas 8199fe4a21 Fixed tests 2019-06-01 13:01:50 +02:00
Laszlo Fogas 4cce34d5bf Moved things closer that belong together 2019-06-01 13:00:19 +02:00
Laszlo Fogas ddabcde3e3 Factored to a better place 2019-06-01 12:52:30 +02:00
Laszlo Fogas 21d6552b4b It's okay 2019-06-01 10:59:35 +02:00
Laszlo Fogas 8cec8ed0d5 Dryness 2019-06-01 10:27:28 +02:00
Laszlo Fogas 73aa46405a Factored into file 2019-06-01 10:17:02 +02:00
Laszlo Fogas 43c44cfbd6 Factored into named functions 2019-06-01 10:08:41 +02:00
Laszlo Fogas f25317599a Unlimited 2019-06-01 09:45:20 +02:00
Laszlo Fogas 36b356a071 This should have been generated somehow 2019-05-30 14:31:18 +02:00
Laszlo Fogas 16d68eddbf Was throwing: currval of sequence builds_build_id_seq is not yet defined in this session 2019-05-30 14:06:49 +02:00
Laszlo Fogas f65c4993c1 Fixes 2019-05-30 12:15:29 +02:00
Laszlo Fogas f1fb29e223 Bump version 2019-05-30 11:52:07 +02:00
Laszlo Fogas dd111c641b
Merge pull request #25 from laszlocph/fix-metrics
Fix metrics
2019-05-30 11:28:29 +02:00
Laszlo Fogas a52fb03602 Making builds work on k8s backend 2019-05-30 11:15:54 +02:00
Laszlo Fogas 9ede43b0ec Local test helper 2019-05-30 11:11:27 +02:00
Laszlo Fogas 5dc9f7dc83 Reimlemented metrics 2019-05-30 11:11:14 +02:00
Laszlo Fogas 1e4d96d481 Updating Prometheus client 2019-05-30 09:43:57 +02:00
Laszlo Fogas 6ac50dc9ff Bump version 2019-05-27 11:33:42 +02:00
Laszlo Fogas 760dbb3e74 Latest drone-ui with stars feature 2019-05-27 11:10:52 +02:00
Laszlo Fogas 0adab2c4b2 I lost these files due to a wrong .gitignore entry 2019-04-26 13:53:56 +02:00
Laszlo Fogas b2203ff15c Bump version 2019-04-24 13:14:43 +02:00
Laszlo Fogas fa03189109
Merge pull request #22 from laszlocph/go1_12
Building with Go 1.12
2019-04-24 13:11:46 +02:00
Laszlo Fogas d648e8c3ec Building with Go 1.12 2019-04-23 22:24:24 +02:00
Laszlo Fogas 555dfdd0c3
Merge pull request #18 from laszlocph/remove-unused-deps
Removed unused deps
2019-04-07 21:21:10 +02:00
Laszlo Fogas 7b606d8749 Removed unused deps 2019-04-07 21:08:58 +02:00
Laszlo Fogas 08af4e60b1
Merge pull request #17 from laszlocph/remove-enterprise-features-from-cli
Removed enterprise CLI features
2019-04-07 21:07:41 +02:00
Laszlo Fogas 9bb3e8384d Removed enterprise CLI features 2019-04-07 21:04:24 +02:00
Laszlo Fogas d41001f761
Merge pull request #16 from laszlocph/imagepull-progress
Print progress information when pulling images
2019-04-07 20:53:18 +02:00
Laszlo Fogas a191d31d4f Print progress information when pulling images 2019-04-07 14:58:40 +02:00
Laszlo Fogas 26d54b62ea
Merge pull request #15 from laszlocph/pull-in-cli
CLI is pulled in for simpler(?) workflow
2019-04-06 21:49:29 +02:00
Laszlo Fogas 2922505fe2 CLI is pulled in for simpler(?) workflow 2019-04-06 21:32:14 +02:00
Laszlo Fogas 9e61b6a678
Merge pull request #12 from laszlocph/pull-in-cncd-packages
Pull in cncd/* for simpler workflow
2019-04-06 15:52:30 +02:00
Laszlo Fogas a4541ac901 Pull in cncd/* for simpler workflow 2019-04-06 15:44:04 +02:00
Laszlo Fogas f9f0998cd2
Merge pull request #5 from laszlocph/version-drone-ui
Locking down drone-ui version
2019-04-05 21:02:29 +02:00
Laszlo Fogas bb3e229941 Locking down drone-ui version 2019-04-05 15:53:28 +02:00
Laszlo Fogas e120c6fce6
Merge pull request #1 from laszlocph/drone-oss-08
Drone OSS 08
2019-04-05 10:22:58 +02:00
Laszlo Fogas 897c9352a3 Building OSS 2019-04-05 10:17:27 +02:00
Laszlo Fogas ca5817ffc2 Renamed package 2019-04-04 20:51:20 +02:00
Laszlo Fogas 2fbaa56eee Removed all(?) enterprise licensed code 2019-04-03 20:15:52 +02: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