Hervé Le Meur
3a9d66c648
fix: replace `npm install` by `npm ci` to get deterministic builds ( #54 )
...
* fix: replace `npm install` by `npm ci` to get deterministic builds
* no need to upgrade npm in the Makefile, npm ci already existing in node 10 image
* use postgresql version 10 in docker-compose for tests like the 'produplink' database currently used in production
2023-10-30 14:08:20 +01:00
Hervé Le Meur
72808854cc
chore: add `npm version` in Makefile ( #47 )
...
* chore: add `npm version` in Makefile
* Update Makefile
2023-10-28 14:29:55 +02:00
R Tyler Croy
c459131c59
Add some helpful documentation to the makefile while I'm here
2019-06-22 09:03:19 -07:00
R. Tyler Croy
3c5104ecfd
Use a real-looking old-style correlator in the `generate-event` target
2018-10-28 15:53:31 -07:00
R. Tyler Croy
f1fabff970
Disable coverage when running in watch mode
...
It just errors into garbage anyways 😄
2018-10-23 20:40:22 -07:00
R. Tyler Croy
777540fc31
Support bypassing authorization within the testing environment
...
This also adds some basic test coverage for the authorize hook, which I should
have added in the first place. 💩
2018-10-23 12:45:03 -07:00
R. Tyler Croy
c6ce54ee87
Add support for restricting access via grants
...
Fixes #4
2018-09-20 17:06:42 -07:00
R. Tyler Croy
d95fe7ad10
Superfluous semi-colon
2018-09-19 17:53:59 -07:00
R. Tyler Croy
f1eeafe0b9
Use the commit message as the tag rather than atimestamp
2018-09-19 17:51:50 -07:00
R. Tyler Croy
76fef20c4f
Sleep a bit differently
...
ci.jenkins.io is failing between the `up` and running sequelize
2018-09-19 17:30:00 -07:00
R. Tyler Croy
17815dac48
Publish the container plz
2018-09-19 14:48:15 -07:00
R. Tyler Croy
f46e0cd3a9
Add the uplink docker container for @daniel-beck
2018-09-19 14:32:19 -07:00
R. Tyler Croy
997fb0610e
Incorporate some basic access control based off of GitHub username
...
This ensures that only those in the `grants` table can access specific pages.
For now this only supports wildcard grants, `*`, but in the future I expect to
restrict queries based on the type of grants made to the given user.
2018-09-12 08:42:06 -07:00
R. Tyler Croy
d561598d06
Fix the tests so they run again
...
Also make the tests reflect the current reality
2018-09-11 14:40:39 -07:00
R. Tyler Croy
f4f4acd8f1
Add a simple generate-event target for manual testing
2018-09-11 10:23:39 -07:00
R. Tyler Croy
39112b800f
Avoid relying on npm's bin-links feature which don't work on shoddy OSes
...
Basically Docker on macOS and Windows cannot handle the symbolic links in the
mounted volumes
Fixes #3
2018-09-10 15:05:01 -07:00
R. Tyler Croy
b7f080d25a
Add some integration testing of the /events service just to sanity check myself
2018-09-10 10:02:36 -07:00
R. Tyler Croy
86ea344525
Switch Events to a lower-case table name since postgresql is weird with casing
2018-09-10 09:36:39 -07:00
R. Tyler Croy
7872ad4323
Add a migration target to the Makefile to prepare the database
2018-09-09 21:41:48 -07:00
R. Tyler Croy
161851292d
Incorporate docker-compose for testing the full stack locally
2018-09-09 21:41:48 -07:00
R. Tyler Croy
631aa193fc
Add a `run` target for making the app go
2018-09-09 18:13:54 -07:00
R. Tyler Croy
48dd461f77
Initial commit of a skeleton typescript project
2018-09-09 17:27:58 -07:00