Commit Graph
66 Commits
Author SHA1 Message Date
Aleksei GurianovandGitHub 2c570c2530 reveal node_modules in separate container (#123)
This allows reusing docker fs layer with node_modules
in case if there were no changes in package*.json
As a result, it decreases dependency on network
during rebuilds at least in a local environment.
2018-07-10 01:03:27 +04:00
UmputunandGitHub 43092bb644 skip build steps with ARG and compose #143 (#144) 2018-07-08 18:43:58 -05:00
Umputun 02d298aac6 remove pullreq from drone, remove .git and default version to local 2018-07-07 14:16:52 -05:00
Umputun d8a2a42e35 try to switch to drone version on non-tagged 2018-07-07 13:58:31 -05:00
Umputun 5d1201351a back to lightweight git-rev, exclude .git/objects 2018-07-06 15:36:21 -05:00
Umputun dcb0ee60d6 simplify .sh deployment 2018-06-30 13:15:18 -05:00
Umputun e254936521 move scripts to backend 2018-06-30 13:12:04 -05:00
Umputun 1250828509 don't fail due to coveralls issue #119 2018-06-30 12:52:30 -05:00
Umputun 65bd239778 fix #118 2018-06-30 12:40:59 -05:00
Igor AdamenkoandGitHub 7c4fbdb5a1 Merge pull request #100 from Mavrin/add_test
Setup testing environment
2018-06-23 21:11:57 +03:00
UmputunandGitHub 7aee7add08 Feature/backend (#101)
* move backend code #99

* adjust drone build for backend subdir

* move .rest to backend
2018-06-23 12:31:19 -05:00
konstantin krivlenia 52d791a7b6 setup testing environment 2018-06-23 18:36:14 +03:00
konstantin krivlenia 07f82bf6a5 add eslint check 2018-06-23 01:38:03 +03:00
Umputun d507b9e81b fix if for drone tag 2018-06-19 14:09:35 -05:00
Umputun e56aaa87f1 use drone env for tagged version number 2018-06-19 13:41:41 -05:00
Umputun abc0375f6a rollback lightweight git-rev detection 2018-06-19 13:17:13 -05:00
Umputun 6cce01390c elimintate .git/objects from build context 2018-06-10 20:29:31 -05:00
Umputun 837b2ef719 find user comments to support pagination 2018-06-01 22:17:57 -05:00
UmputunandGitHub 6aee34bb1e feature/ts - read-only support (#57)
* extend post info with ts and add info implemenation to engine

* info controller

* remove unused

* docker froendly new test

* tree find to include post info struct

* remove leftovers from codeconv

* test for empty tree request

* add func name to error rest report

* test with disabled proxy

* add read only age and reject updates on old posts

* lint: shaddow err

* make info calls fast. needs migration!

* fix backup restore script

* increase limiter timeout

* add local exporter

* migrate list to new info

* fix rest list tests

* add manual backup script

* default backup path

* fix eait on sec change failing rss tests

* add RO status bucket and rest

* add admin RO controller test
2018-05-28 14:57:36 -05:00
igoradamenko cb7ebf6d7c add git to frontend-part container deps 2018-05-26 23:16:31 +03:00
Umputun a6f588e452 remove support of CODECOV 2018-05-25 21:13:36 -05:00
Umputun c3d5136a0e try codecov.io 2018-05-25 10:28:17 -05:00
Umputun 59d744113a bunch of env for travis 2018-05-24 20:06:01 -05:00
Umputun 6766167bf1 trying to restore coveralls 2018-05-24 19:48:36 -05:00
UmputunandGitHub e54ab6778e Merge pull request #50 from AlekSi/no-grep
No need to explicitly exclude vendor with Go 1.9+.
2018-05-24 13:48:46 -05:00
Umputun 1cb1962d82 switch to latest base 2018-05-24 13:44:40 -05:00
Alexey Palazhchenko 0663ec600b No need to explicitly exclude vendor with Go 1.9+. 2018-05-24 12:20:46 +03:00
Umputun 6a539dabd7 remove branch dbg 2018-05-23 01:18:35 -05:00
Umputun 38fc202cca clean dup in dockerfile 2018-05-23 01:13:47 -05:00
Umputun 870c48a499 add travis arguments 2018-05-23 01:09:43 -05:00
Umputun 0d558857e3 fix lack of git info for coverage 2018-05-23 00:37:05 -05:00
Umputun 8291203d7a move coveral report to docker 2018-05-23 00:30:56 -05:00
Umputun 7e058b6c11 remove -v from go tests 2018-05-20 13:17:56 -05:00
Kirill Zhuravlev 6c8b1f4a64 add .git directory for contruct revision string 2018-05-19 18:38:46 +03:00
Umputun d76db0cc1b move expose and heatlcheck down 2018-05-17 16:28:38 -05:00
Kirill Zhuravlev 98d05634e6 remove commented code 2018-05-16 16:27:31 +03:00
Kirill Zhuravlev 771278a462 reorganized main build stage for caching
- frequent operations - last
- rare operations - on the top
- group chmod operations
- chown - after all file operations
2018-05-16 16:27:13 +03:00
Kirill Zhuravlev 6bd1d26fe6 build-backend stage use only he required files 2018-05-16 16:17:07 +03:00
Kirill Zhuravlev f6e0a53306 add list of ignored files on build 2018-05-16 16:15:15 +03:00
Umputun 9bc0c92d14 switch base images to public #28 2018-05-14 14:39:25 -05:00
Umputun cde10a1dd2 move sh to scripts 2018-05-08 20:44:54 -05:00
Umputun a507f7864b add restore backuo script 2018-05-03 01:58:29 -05:00
Umputun e1fd9bb7a8 add import script to docker 2018-05-02 01:51:17 -05:00
igoradamenko bb12630ee5 Revert "pass REMARK_URL as arg to frontend part during build time"
This reverts commit d9d1082
2018-04-14 21:28:16 +03:00
Umputun 07e43714da start.sh as root and su-exec after env prep 2018-04-14 13:27:38 -05:00
Umputun 2c4187f0cb fix cmd 2018-04-12 20:00:37 -05:00
Umputun e634d5ae3e add start.sh as command 2018-04-10 15:02:45 -05:00
igoradamenko d9d1082f9e pass REMARK_URL as arg to frontend part during build time 2018-04-08 15:19:13 +03:00
igoradamenko 8976bd0e0c remove node_modules during the frontend building process 2018-03-26 16:02:05 +03:00
Umputun 3de748ec59 revert race flag 2018-03-12 21:06:17 -05:00