Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying changes from staging #2966

Merged
merged 33 commits into from
Jun 14, 2024
Merged

Deploying changes from staging #2966

merged 33 commits into from
Jun 14, 2024

Conversation

mutantcornholio
Copy link
Contributor

No description provided.

lazam and others added 19 commits May 22, 2024 10:31
Removed a lot of retry/reconnect logic from ApiHandler and ChainData, as
it was spawning a lot of PJS instances, which also handling reconnects
on its own.
This change also properly adpots the idea of talking both to relay chain
and to parachains, depending on queried data.

With new logic, each ApiHandler instance governs an interface to a
single chain, where it can switch endpoints and do reconnects on its
own.
`ApiHandler.getApi()` returns a PJS instance that should work, and will
block in case we're reconnecting.

PeopleApi endpoints now live in configs, instead of being hardcoded.

Instead of passing around ApiHandlers, passing a ChainData instance now, as
it contains both ApiHandlers instance now, and as it is an intended
abstraction for it
releaseTagFormat is configurable
[Chart] Removal of default values of resources
* Removed Dockerfiles in all auxiliary packages
* Removed entrypoints (e.g. run.ts) in all auxiliary packages
* Removed Dockerfile-dev's, as they served no purpose
* Removed esbuild and build:prod commands, as they weren't used in production setup
* Removed worker package, as it's not used in monolith setup
* Removed everything regarding redis
* Removed docker-compose.yml and docker-compose.microservice.yml
(docker-compose.current.yml became docker-compose.yml)
* Removed configs for microservices setup
* Updated docs
Querying decimals instead of hardcode
@mutantcornholio mutantcornholio requested a review from ironoa June 11, 2024 10:30
michalisFr and others added 9 commits June 11, 2024 14:17
* Removed esbuild leftovers
* Nodejs upgrade
* Removed bullmq and bullboard, as a leftover from microservices setup
* Removed unused dependencies
* Upgraded turbo
* Sorted out deps/devDependencies placement
* Fixed turbo codependence: sometimes we had failed builds because
`common` package wasn't built yet when `core` was building
This way, `yarn test:all` works locally as well.
Also removed old test commands from `core`, as there's no jest and no
tests.
By splitting build into two stages, we'll take only docs/build into the
layers.
`yarn workspaces focus --production` removes all devDependencies, which
also aren't needed after build.
`date-fns` wasn't specified in deps at all, but needed at runtime. Fixed.

The result: image went from 1.26GB to 472MB
package.json Outdated Show resolved Hide resolved
@mutantcornholio mutantcornholio requested a review from ironoa June 14, 2024 11:44
@ironoa ironoa merged commit 21e3be0 into master Jun 14, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants