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
Tit Petric
21ba44dcf0
add(crm): migration for related types
2018-11-09 19:33:43 +01:00
Tit Petric
f6eefa4182
fix(makefile): paths for rbac and store tests
2018-11-09 18:58:01 +01:00
Tit Petric
3d1d6cc934
add(make): test.system, test.system.db
2018-11-09 15:15:57 +01:00
Denis Arh
6c021fb3f9
Fix makefile, dockerfile auth=>system
2018-11-06 10:13:08 +01:00
Denis Arh
e97cbcea51
Redo service mocking, add ch name & topic length validation
2018-10-30 09:31:47 +01:00
Denis Arh
8c2d91122d
Fix tests, add new mock for auth/svc/users
2018-10-29 13:47:03 +01:00
Denis Arh
2924334f47
Fix statik tooling
2018-10-09 07:36:50 +02:00
Tit Petric
4080e8359f
import test.crm.db
2018-10-08 12:47:18 +00:00
Denis Arh
62ac171501
Fix docker image tags
2018-10-04 19:24:44 +02:00
Tit Petric
b8b530ed17
add(makefile): test.sam.db target
2018-10-02 16:31:42 +02:00
Denis Arh
4c405e5abd
Fix makefile to push docker images to the right endpoints
2018-09-29 18:00:11 +02:00
Denis Arh
8a0cdc7e65
Updated dockerfiles to fit dockerhub autmated build proc
2018-09-29 16:24:51 +02:00
Tit Petric
74d9365123
upd(sam): events queue over channel
2018-09-27 11:06:43 +00:00
Denis Arh
685ecc56fa
Fix test mock file generation
2018-09-25 21:20:49 +02:00
Tit Petric
cef9af9903
upd(sam): refactor pubsub, housekeeping
2018-09-11 20:17:26 +02:00
Denis Arh
3906b6d838
Fragmentize makefile's docker image building
2018-09-10 18:51:14 +02:00
Tit Petric
16cb0913cb
add(makefile): build auth docker image
2018-09-10 14:16:37 +02:00