Closed dzhelezov closed 6 months ago
If a developer wants to create a new version, do they need to create a separate manifest file or how does that work?
Yes normally you just bump the version in the file
Hi there What should happen if developer deploys a squid, then changes its name and deploys it from the same directory? @mo4islona
@aintnomoreloyalty a new squid will be created
How to add rpc
Motivation
1) The existing way of deploying squids with
sqd deploy
is not suitable for a growing list of deployment options Aquarium supports 2) We want to make each squid portable and easy to deploy on any platform aside from Aquarium. That's why all squids will be built into a single Docker image which is available via IPFS.We also support the following user stories:
Manifest file format
The file consists of the following sections
build
-- only supports builds from a strictly defined Docker file. All services (the processor, API) will now use the same image but different commandsdeploy
-- define the squid services (processor
and/orapi
) and a set of addons . We currently support a Postgres addon In the future we will also support Redis and other services that one can run along the squid.scale
-- this section defines how the squid services should be scaled up.A minimal manifest file is as follows:
A more advanced will be as follows:
CLI deploy commands
Deploy
sqd deploy <source> [--update] [--manifest] [--hard-reset]
.<source>
can be as follows:.
).tar.gz
archiveThe deployment flow is as follows:
--update
flag is passed).nerdctl
scale
is defined in the manifest, update the deployment specsEnvironment variables interpolation
sqd deploy
will interpolate${}
placeholders in the manifest file before making a deployment request. E.g. runningsqd deploy manifest.yaml -e NETWORK=kusama
will replace all occurrences of${NETWORK}
with `kusamaAccessing squid images
All images of the deployed squids (previously built by Aquairum) will be available from the container registry and later via IPFS. List all images Aquarium:
sqd images get [--name]