add commit tags to subsquid image and create production release workflow#3086
Conversation
|
Task linked: PBL-328 subsquid - add version for the docker image |
KaiserKarel
left a comment
There was a problem hiding this comment.
To test this workflow, the base branch needs to be in the monorepo, instead of radupopo2010 (annoying limitation of github).
so I should push a branch to the monorepo? (https://github.com/ComposableFi/composable) |
Nix commands for this PRNOTE: You can also run our Nix commands in Docker. See the bottom of this comment. Make sure you have setup the Composable community cache:(you only need to run it once on your machine) nix-shell -p cachix --command "cachix use composable-community"Show all possible apps, shells and packages:Run the Composable node alone:nix run "github:ComposableFi/composable/5797c2465c9e2160d01d3d5735f2ac25148ed6da#composable-node" -LSpin up a local devnet:nix run "github:ComposableFi/composable/5797c2465c9e2160d01d3d5735f2ac25148ed6da#devnet" -L --option sandbox relaxed --show-traceSpin up a local XCVM devnet:nix run "github:ComposableFi/composable/5797c2465c9e2160d01d3d5735f2ac25148ed6da#devnet-xcvm" -LView the docs:nix run ".#docs-server"Run this without Nix in Docker.docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v nix:/nix -it nixos/nix bash -c "nix-env -iA nixpkgs.cachix && cachix use composable-community && nix run github:ComposableFi/Composable/5797c2465c9e2160d01d3d5735f2ac25148ed6da#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes"NOTE: You can swap |
Picasso Preview URLhttps://picasso-production-r3mth5h3a-composable-finance.vercel.app |
Pablo Preview URLhttps://pablo-production-5sj7ithxo-composable-finance.vercel.app |
yeah; for CI to check this, the base branch needs to be the monorepo. |
https://app.clickup.com/t/20465559/PBL-328
I created this PR to add image tags for subsquid container image
each merge on main should produce a tag with the commit sha
separate workflow file that reacts on tags to produce the production version