Damien Duportal
86227dbfd7
Merge pull request #59 from jenkins-infra/lemeurherve-patch-1
...
chore: build docker image on ci.jenkins.io too
2024-02-15 08:17:21 +01:00
Hervé Le Meur
f9d12dcb40
chore: build docker image on ci.jenkins.io too
2024-02-12 19:56:03 +01:00
Hervé Le Meur
e69438deb0
chore: add dockerhub badge to README.adoc ( #56 )
2023-10-31 12:35:56 +01:00
Hervé Le Meur
8b0a57c03e
feat: build image for arm64 too ( #57 )
2023-10-31 12:34:26 +01:00
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
746f37ce58
Revert "fix: upgrade `pg` dependency from `^7.4.3` to `^8.7.1`" ( #53 )
2023-10-30 12:22:30 +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
Damien Duportal
b5b5da4e3c
Merge pull request #45 from lemeurherve/add-release-drafter
...
fixup: add `release-drafter` workflow
2023-10-28 12:59:42 +02:00
Hervé Le Meur
f87735c623
fixup: add `release-drafter` workflow
2023-10-28 11:49:31 +02:00
Hervé Le Meur
856542539d
Rename release-drafter.yaml to release-drafter.yml
2023-10-27 23:05:49 +02:00
Hervé Le Meur
82aa86353d
chore: add `release-drafter` ( #44 )
2023-10-27 18:56:57 +02:00
Hervé Le Meur
082899be74
fix: `infra.ci.jenkins.io` build ( #43 )
...
* fixup: set agent label for both ci.jenkins.io & infra.ci.jenkins.io
* Update Jenkinsfile
* fix when negation
* typo hadolint
* stash unstash build from nodejs
* fix stash folder
* remove comma
2023-10-27 17:42:39 +02:00
Hervé Le Meur
fc0ab0fb8a
Merge pull request #42 from lemeurherve/issue39-docker-push-on-infra
...
chore: prepare build to be on `infra.ci.jenkins.io`
2023-10-27 15:45:35 +02:00
Hervé Le Meur
1feaabec70
deal with hadolint (added an ignore for now)
2023-10-27 15:36:39 +02:00
Hervé Le Meur
0e5f9488d6
publish only on infra.ci, and `make container` only on ci.jenkins.io
2023-10-27 15:35:11 +02:00
Hervé Le Meur
6e583a73b1
chore: prepare build to be on `infra.ci.jenkins.io`
2023-10-27 15:24:59 +02:00
Hervé Le Meur
c303a510b6
Merge pull request #41 from lemeurherve/issue40-fix-pg
...
fix: upgrade `pg` dependency from `^7.4.3` to `^8.7.1`
2023-10-27 12:45:23 +02:00
Hervé Le Meur
12f78b0b4c
fix: upgrade `pg` dependency from `^7.4.3` to `^8.7.1`
2023-10-27 12:35:32 +02:00
R Tyler Croy
a5ed6fd422
Merge pull request #38 from rtyler/pool-exhaustion
...
Pool exhaustion
2019-06-22 09:11:50 -07:00
R Tyler Croy
d3ea63fbc6
Tidy up the tests to work with the newer packages
...
It's not clear to me how or if the types test was running previously, the import
was just wrong!
2019-06-22 09:03:20 -07: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
4e57668226
Add explicit pool configuration to uplink
2019-06-22 09:03:19 -07:00
R Tyler Croy
7796e3a265
fix compilation with newer tsc
2019-06-22 09:03:18 -07:00
R Tyler Croy
111fe3d668
Upgrade all the node packages possible
2019-06-22 09:03:18 -07:00
R Tyler Croy
5782296264
Merge pull request #36 from rtyler/npm=audit
...
npm audit fix
2018-12-10 08:07:33 -08:00
R Tyler Croy
ec29da619f
Merge pull request #35 from rtyler/date-31
...
Add the date to the dashboard
2018-12-10 08:07:20 -08:00
R. Tyler Croy
ecbf9fd4fe
npm audit fix
2018-12-06 12:26:29 -08:00
R. Tyler Croy
4f9d668cf9
Add the date to the dashboard
...
Fixes #31
2018-12-06 11:58:47 -08:00
R. Tyler Croy
7a4b637755
Merge pull request #34 from rtyler/streaming-export-33
...
Switch the export controller to stream results directly from PostgreSQL to the response buffer
2018-12-06 07:12:26 -08:00
R. Tyler Croy
c6c65fdc6a
Switch the export controller to stream results directly from PostgreSQL to the response buffer
...
I'm still not entirely sure if the PostgreSQL connection is being suitably
returned to sequelize's connection pool, but I think this is an infrequent
enough operation that it's worth deploying and monitoring of Sentry
Fixes #29 , #33
2018-12-05 17:36:34 -08:00
R. Tyler Croy
89c8038a42
Merge pull request #32 from rtyler/clean-up
...
Clean up some npm versions
2018-11-27 07:08:11 -08:00
R. Tyler Croy
110bd13c63
Downgrade event-stream to 3.3.4 to work around compromised flatmap-stream code
...
`npm i --save event-stream@3.3.4`
See the issue outline here: https://github.com/dominictarr/event-stream/issues/116
The expected impact for Uplink is minimal since the assessment made of the
malicious code is that it's going after cryptocurrency wallets and related
assets on a target machine (more analysis here:
https://github.com/dominictarr/event-stream/issues/116#issuecomment-441759047 )
2018-11-27 06:38:57 -08:00
R. Tyler Croy
9dc66b6a06
Upgrade jest-cli to resolve some low impact issues
2018-11-27 06:32:47 -08:00
R. Tyler Croy
5f051908bb
Remove the REFRESH MATERIALIZED VIEW interval
...
We're not actually using this materialized view at the moment, so we do not need
to bother with this.
2018-11-26 13:01:53 -08:00
R. Tyler Croy
a823b059ad
Merge pull request #30 from rtyler/transform-correlator-15
...
Support inline transformation of legacy correlator IDs into type-specifc signatures
2018-10-29 10:50:55 -07:00
R. Tyler Croy
c0437dd079
Add a test to cover the Jenkins core compatibility
2018-10-28 15:53:31 -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
385fdd964d
Support inline transformation of legacy correlator IDs into type-specific signatures
...
Fixes #15
2018-10-28 15:53:12 -07:00
R. Tyler Croy
c0d27e5e7e
Merge pull request #28 from rtyler/filter-24
...
Throw errors which are not from the sub-service call
2018-10-28 10:04:08 -07:00
R. Tyler Croy
7c7e21ddfd
Throw errors which are not from the sub-service call
...
Fixes #24
2018-10-27 20:35:08 -07:00
R. Tyler Croy
16130b7021
Make migration failures non-fatal to starting the application
2018-10-27 15:53:57 -07:00
R. Tyler Croy
46752a4860
Merge pull request #26 from rtyler/export-date-17
...
Support exporting based on months
2018-10-27 14:54:10 -07:00
R. Tyler Croy
5fa6626c1f
Export with arbitrary date ranges to satisfy the users
2018-10-27 14:33:12 -07:00
R. Tyler Croy
b319ae9eaf
Support exporting by months
...
Fixes #17
2018-10-26 21:20:24 -07:00
R. Tyler Croy
b989ec888d
Add a materialized view to capture the first time a type has been seen for export
...
This will make it easier to create an interface which allows exporting events as
they've come up.
2018-10-26 15:49:09 -07:00
R. Tyler Croy
a01c698485
Merge pull request #23 from rtyler/id-sort
...
Avoid feathers-sequelize pagination which is bad
2018-10-25 13:09:37 -07:00
R. Tyler Croy
33265fd0eb
Avoid using feathers-sequelize pagination which is godawful slow on big tables
...
SELECT COUNT(DISTINCT(id)) FROM events
R U J/K
2018-10-25 12:54:19 -07:00
R. Tyler Croy
f64d1d36bb
Sort events by default on an indexed column (id)
...
I believe sorting on createdAt, which is not indexed, was slowing things down
2018-10-25 12:34:40 -07:00
R. Tyler Croy
cfb1d83ac6
Merge pull request #20 from rtyler/jsonb-for-querying
...
Convert the events.payload column to JSONB to allow querying.
2018-10-25 12:29:46 -07:00
R. Tyler Croy
05b893db00
Merge pull request #22 from rtyler/unreliable-tests
...
Ensure tests are clearing the database before running
2018-10-25 10:42:10 -07:00