samizdat issueshttps://0xacab.org/rysiek/samizdat/-/issues2020-09-13T15:57:38Zhttps://0xacab.org/rysiek/samizdat/-/issues/58Fix HTTP 504 errors in the pipeline2020-09-13T15:57:38ZMichał "rysiek" WoźniakFix HTTP 504 errors in the pipelineWe tend to [get some `HTTP 504` error codes](https://0xacab.org/rysiek/samizdat/-/jobs/163615#L211) in the pipeline. This is *probably* because we're hitting one particular `IPFS` gateway *a lot* with each pipeline run.
One solution wou...We tend to [get some `HTTP 504` error codes](https://0xacab.org/rysiek/samizdat/-/jobs/163615#L211) in the pipeline. This is *probably* because we're hitting one particular `IPFS` gateway *a lot* with each pipeline run.
One solution would be to use a [few different gateways](https://ipfs.github.io/public-gateway-checker/) and spread the load. This would also allow us to hit another gateway in case we experience a problem from one of them, and thus checking if it's a gateway problem, or problem with the actual content.BetaMichał "rysiek" WoźniakMichał "rysiek" Woźniakhttps://0xacab.org/rysiek/samizdat/-/issues/60Improve npm use in CI/CD pipelines2020-09-10T00:57:14ZMichał "rysiek" WoźniakImprove npm use in CI/CD pipelinesWe should be:
- [x] using [`npm ci`](https://docs.npmjs.com/cli/ci.html) instead of `npm install`
- [x] [enable caching](https://docs.gitlab.com/ee/ci/caching/#caching-nodejs-dependencies) to speed up CI/CD pipelinesWe should be:
- [x] using [`npm ci`](https://docs.npmjs.com/cli/ci.html) instead of `npm install`
- [x] [enable caching](https://docs.gitlab.com/ee/ci/caching/#caching-nodejs-dependencies) to speed up CI/CD pipelinesMichał "rysiek" WoźniakMichał "rysiek" Woźniak