Jakub Sokołowski
|
07145a6e92
|
use loglevel module for logging
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 22:17:13 +01:00 |
Jakub Sokołowski
|
8c56210812
|
add check for id field
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 18:51:19 +01:00 |
Jakub Sokołowski
|
db52b7d776
|
use the rejectedWith check in comments tests too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 18:48:23 +01:00 |
Jakub Sokołowski
|
a42f78b710
|
add schema tests for commit field
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 18:46:49 +01:00 |
Jakub Sokołowski
|
2a91a1422f
|
allow null pkg_url, add schema tests, fix build log url
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 18:19:41 +01:00 |
Jakub Sokołowski
|
08de6dcf2b
|
add tests for postComment
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 16:10:01 +01:00 |
Jakub Sokołowski
|
23299203e5
|
don't require pkg_url, it's not available in failed builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 12:29:47 +01:00 |
Jakub Sokołowski
|
6bbadb1c96
|
change timestmap format to include date
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 09:28:40 +01:00 |
Jakub Sokołowski
|
06b863cbe1
|
refactor handlebar helpers out
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-20 09:19:07 +01:00 |
Jakub Sokołowski
|
203d5f2072
|
add test for formatting of comments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-19 00:43:16 +01:00 |
Jakub Sokołowski
|
27da010e8a
|
add tests using mocha and chai
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-19 00:33:19 +01:00 |
Jakub Sokołowski
|
e0514c10a6
|
add usage examples
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-18 11:47:19 +01:00 |
Jakub Sokołowski
|
3bd2d92b33
|
switch order of sorting, platform first, then id
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-14 01:06:30 +01:00 |
Jakub Sokołowski
|
5abd3503f2
|
sort by $loki, id, then platform
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-14 01:00:29 +01:00 |
Jakub Sokołowski
|
5ef9bb30a2
|
do a simple sort on $loki id
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-14 00:49:53 +01:00 |
Jakub Sokołowski
|
775c850005
|
sort by created time instead of platform
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-14 00:40:16 +01:00 |
Jakub Sokołowski
|
606214c44d
|
no need to install yarn
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-14 00:02:22 +01:00 |
Jakub Sokołowski
|
e59d78cccc
|
fix changing defaults with env variables
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 23:28:50 +01:00 |
Jakub Sokołowski
|
3556d6e7a7
|
replace nunjucks with handlebars for templating
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 23:17:03 +01:00 |
Jakub Sokołowski
|
f0d8eaa5f6
|
ignore yarn.lock
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 23:16:17 +01:00 |
Jakub Sokołowski
|
e36ad1b6e7
|
remove unused package
|
2018-12-13 22:54:23 +01:00 |
Jakub Sokołowski
|
839816e72a
|
use alpine version of node image
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 22:45:27 +01:00 |
Jakub Sokołowski
|
3ff4f758b5
|
use yarn instead of npm
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 22:41:11 +01:00 |
Jakub Sokołowski
|
3376318882
|
upgrade to node 10.14
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 22:37:07 +01:00 |
Jakub Sokołowski
|
865d30dbb7
|
remove hash from template for build ids
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 22:30:57 +01:00 |
Jakub Sokołowski
|
8846e1e206
|
move error handler to before middlewares
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 22:21:54 +01:00 |
Jakub Sokołowski
|
f10c1caf70
|
allow id to be a string too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 22:19:28 +01:00 |
Jakub Sokołowski
|
e9d2072e8f
|
add use of koa-logger
|
2018-12-13 21:53:32 +01:00 |
Jakub Sokołowski
|
23dae43143
|
add valid commit to example
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 15:01:26 +01:00 |
Jakub Sokołowski
|
a088572b3f
|
fix formatting
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 15:00:48 +01:00 |
Jakub Sokołowski
|
9032861f6c
|
udpate readme
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 14:50:03 +01:00 |
Jakub Sokołowski
|
d0fedc5923
|
change default port to 8000
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 14:49:04 +01:00 |
Jakub Sokołowski
|
946156c257
|
throw error if there are no builds when rendering
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 12:51:04 +01:00 |
Jakub Sokołowski
|
f557a9eb26
|
add /comments query
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 12:47:39 +01:00 |
Jakub Sokołowski
|
e4cb5e4a3d
|
split rows in table by commit, not build ID
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 12:43:14 +01:00 |
Jakub Sokołowski
|
4b3909b79f
|
drop findCommentID, if it's not in storage a new comment is not bad
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:41:32 +01:00 |
Jakub Sokołowski
|
3310a9bff7
|
fix sorting by id then by platform
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:40:55 +01:00 |
Jakub Sokołowski
|
6f59c0cda1
|
improve error handling with koa-json-error
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:36:43 +01:00 |
Jakub Sokołowski
|
cc7018a314
|
add missing await for updateComment for error handing
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:34:31 +01:00 |
Jakub Sokołowski
|
fbe2d1c870
|
add more env variables
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:13:14 +01:00 |
Jakub Sokołowski
|
b5316bc0e5
|
fix names of docker containers and repo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:10:24 +01:00 |
Jakub Sokołowski
|
4ac2d8df46
|
bump db default autosave to every 5 seconds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:08:37 +01:00 |
Jakub Sokołowski
|
1cdf5ae8c2
|
add sorting by platform first
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:06:26 +01:00 |
Jakub Sokołowski
|
749b946fd2
|
add separator in table between build numbers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 10:06:14 +01:00 |
Jakub Sokołowski
|
760d0f59e1
|
use hash symbol for number
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 09:48:39 +01:00 |
Jakub Sokołowski
|
b3b06a0aa8
|
add logs about storing comments and builds
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 09:47:15 +01:00 |
Jakub Sokołowski
|
0883d167bc
|
fix response status /for refresh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 09:46:43 +01:00 |
Jakub Sokołowski
|
a486d332ad
|
re-arrange columns for better redability
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 09:46:24 +01:00 |
Jakub Sokołowski
|
50c8879a6f
|
add /builds/:pr/refresh for just re-rendering the comment
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 09:42:11 +01:00 |
Jakub Sokołowski
|
4860fb4a59
|
use findCommentID as a fallback
Signed-off-by: Jakub Sokołowski <jakub@status.im>
|
2018-12-13 09:41:01 +01:00 |