Commit Graph

634 Commits

Author SHA1 Message Date
James Wilson 7a3e30cb01 Don't remove all feeds subscribed to a chain when one disconnects (#383)
* Only remove the feed that disconnected to not break the rest...

* use multimap struct to avoid sync issues between feed and chain

* add a remove test, too

* cargo fmt

* fix name of test

* move multimap to common so we can doctest it and add 'unique' to name

* cargo fmt

* Return old key if value moved to make uniqueness more obvious
2021-08-27 08:05:44 +01:00
Chevdor 19db1a48ef Hardening of the Backend docker image (#379)
* Add script to build the backend
* harden the backend docker image
* fix docker-compose
* fix doc
2021-08-26 14:32:11 +02:00
Chevdor 238d529eae Hardening of the Frontend docker image (#377)
* move the env-config script to a sub folder
* fix doc
* fix ports and ref to the official image
* add hardening to the docker-compose examples
2021-08-26 12:20:01 +02:00
arshamparity c201ece634 Merge pull request #376 from arshamparity/master
gitlab-ci: changing docker repositories
2021-08-25 14:11:00 +03:00
Arsham Teymouri 4fe1aabea2 added beta postfix to docker tags 2021-08-25 13:20:40 +03:00
Arsham Teymouri bcd9f32b18 removing the latest tag 2021-08-25 13:11:33 +03:00
Arsham Teymouri 427ae445e5 gitlab-ci: changing docker repositories 2021-08-24 11:38:50 +03:00
arshamparity 05f165e148 Merge pull request #374 from arshamparity/master
removing the helm chart
2021-08-23 19:55:59 +03:00
Arsham Teymouri a74f21afd3 remove --version from helm upgrade commands 2021-08-23 16:04:43 +03:00
Arsham Teymouri 0a758c10ed pushing the image with additional latest tag 2021-08-23 13:48:30 +03:00
Arsham Teymouri 20dfc13186 adding latest tag to buildah 2021-08-23 13:26:28 +03:00
Arsham Teymouri dd38a08e0f fixing CI 2021-08-23 12:08:49 +03:00
Arsham Teymouri f86ef16c66 moved helm values file address to masked variables 2021-08-23 11:49:58 +03:00
Arsham Teymouri cfe1363958 removing the helm chart 2021-08-23 11:26:12 +03:00
Niklas Adolfsson 64816c14e5 Merge pull request #362 from paritytech/dependabot/npm_and_yarn/frontend/path-parse-1.0.7
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /frontend
2021-08-16 17:17:00 +02:00
Niklas Adolfsson edbba7e3b7 Merge pull request #363 from paritytech/dependabot/npm_and_yarn/frontend/url-parse-1.5.3
Bump url-parse from 1.4.7 to 1.5.3 in /frontend
2021-08-16 17:16:35 +02:00
Niklas Adolfsson 5d361a1868 Merge pull request #364 from paritytech/dependabot/npm_and_yarn/frontend/ws-5.2.3
Bump ws from 5.2.2 to 5.2.3 in /frontend
2021-08-16 17:16:07 +02:00
James Wilson 1e05000e8d Merge pull request #372 from arshamparity/fix-ci
fixing the ci
2021-08-16 16:01:29 +01:00
Arsham Teymouri 01d7318731 fixing the ci 2021-08-16 17:57:49 +03:00
James Wilson 01748185f0 Merge pull request #371 from arshamparity/helm-servicemonitor
Helm servicemonitor
2021-08-16 15:46:17 +01:00
Arsham Teymouri 0b4ca0903f remove nginx configs as they are copied to the container in the build time 2021-08-16 17:40:43 +03:00
Arsham Teymouri a620b8eb5d remove swp file 2021-08-16 17:16:23 +03:00
Arsham Teymouri 1a16f06df0 tweaking nginx conf 2021-08-16 16:42:33 +03:00
James Wilson c0bceb7fc0 Merge pull request #368 from paritytech/jsdw-simpler-docker
Simplify Helm/Docker usage
2021-08-16 14:26:32 +01:00
James Wilson 701a431ac1 Remove parity specific bit in nginx file (not needed anyway), name default network, tweak a dockerfile comment 2021-08-16 14:08:28 +01:00
Arsham Teymouri 3e8e7e40ec adding servicemonitor for the core service
changing the ci to trigger automatically
2021-08-16 09:46:27 +03:00
James Wilson 65eac5c3e8 Add env to frontend image of docker-compose (since it doesnt proxy internally now) 2021-08-14 12:15:49 +01:00
James Wilson 53f7769146 Make frontend nginx conf suitable for k8s or local deployment (no need for 'old' deployment bits) 2021-08-14 11:57:52 +01:00
James Wilson 8793d0fd5b pass the feed URL via env var rather than config map so that standalone Docker usage is simplified 2021-08-14 11:32:48 +01:00
James Wilson 502fd2e91a Merge pull request #367 from paritytech/jsdw-sharding-gatekeeper
Flume, Metrics and Message control when overloaded
2021-08-13 14:35:43 +01:00
James Wilson 46b0641dfd Clarify wording 2021-08-13 11:45:03 +01:00
James Wilson 77460ffc27 cargo fmt 2021-08-13 11:35:24 +01:00
James Wilson b842c7fc8b expose dropped message counts and fix some typos/wording 2021-08-13 11:33:53 +01:00
arshamparity 8e82106586 Merge pull request #366 from arshamparity/helm
fixing helm chart issues
2021-08-13 13:27:07 +03:00
James Wilson 811babca27 Merge branch 'master' into jsdw-sharding-gatekeeper 2021-08-13 11:16:47 +01:00
James Wilson 425ac73422 Merge pull request #365 from paritytech/jsdw-minor-fixes
Jsdw minor fixes
2021-08-13 10:51:17 +01:00
James Wilson 18627a9f02 No e2e feature flag; just ignore and pattern match on 'e2e' to run 2021-08-12 16:58:35 +01:00
James Wilson 05a3ba3fef Fix/expand a few comments 2021-08-12 16:20:05 +01:00
James Wilson 230987036a cargo fmt 2021-08-12 16:01:35 +01:00
James Wilson 9017f328f0 Add comment explaining prometheus metrics endpoint body 2021-08-12 16:01:33 +01:00
James Wilson 92da674d4d Expose metrics in a format that prometheus understands 2021-08-12 16:01:32 +01:00
James Wilson 4f7b2c8ec5 Confirm that densemap len wont panic if lots of retired items 2021-08-12 16:01:30 +01:00
James Wilson 6db7f484ef Fix compile err with diagnostic msg 2021-08-12 16:01:29 +01:00
James Wilson ab2303ce5c more diagnostic logging 2021-08-12 16:01:27 +01:00
James Wilson 3319709f7b Add periodic interval to core loop and print debug info 2021-08-12 16:01:25 +01:00
James Wilson f72f8c1fd5 test runner: fix soak test for multiple ids per ndoe 2021-08-12 16:01:24 +01:00
James Wilson 20463ce159 test runner: enable tokio features 2021-08-12 16:01:19 +01:00
James Wilson e3fcd4e8c2 Clean up soak test runner and add more config options 2021-08-12 16:01:18 +01:00
James Wilson bd7a21ec39 Flumify everything 2021-08-12 16:01:17 +01:00
James Wilson 11b0b3a3c7 remove final use of futures::mpsc and replace with flume 2021-08-12 16:01:15 +01:00