3
0

86 Commits

Author SHA1 Message Date
Denis Arh
ee53eae364 Remove uneeded gomock tool and too agressive mock cleanup 2019-11-14 22:00:36 +01:00
Denis Arh
aa469e53e9 Add MinIO support 2019-10-15 13:22:57 +02:00
Denis Arh
d67d60a3dd Migrate Makefile tasks, dockerfiles to go modules 2019-10-09 19:16:05 +02:00
Denis Arh
4b5bbc52a2 Remove makefile task for triggering drone integration pipeline 2019-10-09 19:15:53 +02:00
Denis Arh
d130e7e641 Fix tools & specs (internal => pkg) 2019-10-01 18:21:09 +02:00
Denis Arh
c244e9becd Refresh makefile help 2019-09-23 19:57:14 +02:00
Tomaž Jerman
b508ee07c9 Fix mockgen paths 2019-09-19 14:47:23 +02:00
Denis Arh
e2ad2e20f3 Add makefile task for running part of integration tests
make test.integration.compose
make test.integration.system
2019-09-13 11:27:15 +02:00
Denis Arh
bda0563c9e Updated (integration tests) Drone-CI yml 2019-09-09 13:04:56 +02:00
Denis Arh
18191b28aa Makefile improvements
Make watcher more robust by appending || exit 0
Revert back to GOTEST variable to allow use of other go-test utilities, like
  rakyll/gotest
2019-09-09 13:04:12 +02:00
Denis Arh
7d21d68bba Remove internal/ from system 2019-09-09 13:04:12 +02:00
Denis Arh
aa5fc27d85 Remove internal/ from messaging 2019-09-09 13:04:12 +02:00
Denis Arh
e1de2fbc41 Add basic integeration test infrastrcuture, apitest package 2019-09-09 13:04:11 +02:00
Denis Arh
d27e18fce7 Remove obsolete makefile task 2019-09-05 19:18:31 +02:00
Denis Arh
df17ddb819 Remove rakyll/gotest from makefile tasks 2019-08-29 14:47:11 +02:00
Tit Petric
a33b0a7a55 disable running tests in parallel 2019-08-29 14:30:23 +02:00
Denis Arh
ffdeef1da2 Support for manual/explicit running of user scripts
Moved user-script endponts under /automation/
Add permission checking for trigger running
2019-08-23 13:49:36 +02:00
Denis Arh
82e2c58d0a Fix test tasks in Makefile 2019-08-23 13:49:36 +02:00
Denis Arh
dff0df54cb Add basic support for script-runner (protobuf, grpc) 2019-08-23 13:49:35 +02:00
Denis Arh
53308a2d33 Fix, update & refresh build, test & CI tools 2019-05-24 12:47:37 +02:00
Tit Petric
ccc50012ce
upd(all): produce an accurate code coverage (#120)
Signed-off-by: Tit Petric <black@scene-si.org>
2019-05-19 14:31:36 +02:00
Denis Arh
c15eb72b06 Cleanup testing procedures
- remove "unit" build flag
 - make sure tests without build flag (integration, external) run
   without deps
 - move unit-tests step in front of "docker image build" drone pipeline
2019-05-14 14:51:57 +02:00
Denis Arh
5b28c26eba Add cross-package dep check test 2019-05-13 08:57:18 +02:00
Denis Arh
cf6da20ba0 Delete build/gen* files when running integration task
Might cause platform mismatch
2019-05-10 11:32:19 +02:00
Denis Arh
643b8549ba Cleanup Makefile, remove obsolete test... tasks, old rules codegen 2019-05-09 19:44:04 +02:00
Denis Arh
010a1351ea Rename files & symbols 2019-04-29 18:51:18 +02:00
Tit Petric
6cb7488083 upd(Makefile): don't install dependencies 2019-04-26 22:11:28 +02:00
Denis Arh
ee4b66e53d Fix makefile, add updated mockfiles
Remove `make test`, we do not want it to test codegen files
Add make `test.internal`
2019-04-03 18:09:13 +02:00
Tit Petric
30e99adedb add(makefile): integration target for drone 2019-04-03 14:30:54 +02:00
Tit Petric
1bb9422714 del(all): remove unused/defunct mocks 2019-04-03 13:54:30 +02:00
Tit Petric
d18f53f7c6 upd(build): dockerfiles and makefile update 2019-04-03 13:43:04 +02:00
Tit Petric
0d9e9fb598 fix(build): go fmt, mock generation 2019-03-15 01:49:56 +01:00
Tit Petric
8bedaa2846 upd(makefile): remove rbac, comment mail mock gen 2019-03-15 00:29:34 +01:00
Tit Petric
db65a89c8d fix(tests): regenerate mocks with new internal pkgs 2019-03-14 23:50:44 +01:00
Denis Arh
7b322a1a2e Rename Makefile task (nothing => help) 2019-03-11 11:46:48 +01:00
Mitja Zivkovic
f1df2dbb9e add(internal): rules.resources mock 2019-02-27 23:36:10 +03:00
Mitja Zivkovic
b380eef81b upd(system): add permission validation 2019-02-22 19:52:34 +01:00
Mitja Zivkovic
8cc4551efc upd(system): add Permissions API 2019-02-21 20:48:06 +01:00
Tit Petric
952f590b2f upd(Makefile): remove unused dependencies 2019-02-05 16:13:38 +01:00
Tit Petric
556776a70b upd(Makefile): rename sam/ to messaging/ 2019-02-05 15:12:23 +01:00
Denis Arh
c2ab709b8b Rename "sam" to "messaging" (docker image, cmd) 2019-02-04 10:16:31 +01:00
Tit Petric
d17a6fb8aa add(internal): rules feature
- add make test.rules target
- add rules api implementation
- add sql migration for rules table
- add unit tests to verify it works
2019-01-22 14:46:29 +01:00
Denis Arh
ae733dc2c9 Credentials & social-sign-on, fixed mocks 2019-01-14 10:40:52 +01:00
Denis Arh
7c36966e68 Notification endpoint (for sending emails from the CRM) 2019-01-13 19:08:26 +01:00
Denis Arh
500e8e317c Improve SMTP
API can now be started without properly configured SMTP (it complains when it is used)
Send() function can now use alternative dialers (mostly used for testing)
Added mailhog service (make mailhog.up) to ease mail testing
Add default .env example that points to localhost:1025 (mailhog) setup
Proper unit testing
2019-01-13 14:45:27 +01:00
Tit Petric
11b25bd091 update mocks for sam/ and system/ 2019-01-11 15:28:49 +01:00
Tit Petric
6fba3cb81d add(all): mail sending from app 2019-01-09 18:57:19 +01:00
Tit Petric
7e87f00c42 upd(crm): service tests and logic 2018-11-27 13:26:49 +01:00
Tit Petric
5a747d746f del(sam): remove unused proto file 2018-11-24 18:56:31 +00:00
Tit Petric
9494271380 add(crm): chart mock api and statik codegen 2018-11-12 15:40:18 +01:00