Add nix config for subsquid image and publishing CI steps#2584
Add nix config for subsquid image and publishing CI steps#2584mergify[bot] merged 7 commits intomainfrom
Conversation
|
Task linked: CU-32qxmkr Publish Subsquid Image |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
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/a40e7789357c32917e02350052841955efea388f#composable-node" -LSpin up a local devnet:nix run "github:ComposableFi/composable/a40e7789357c32917e02350052841955efea388f#devnet" -L --option sandbox relaxed --show-traceSpin up a local XCVM devnet:nix run "github:ComposableFi/composable/a40e7789357c32917e02350052841955efea388f#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/a40e7789357c32917e02350052841955efea388f#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes"NOTE: You can swap For more info on how to use Nix, check out our Nix docs Note that the initial build may take about one hour if it has not been cached by our CI yet. Once it is cached, builds should take about one minute. We currently do not provide build caches for ARM machines such as M1 Macs, but building on ARM is supported. |
bc6f166 to
9e4ee54
Compare
9e4ee54 to
047ca84
Compare
|
Just need to figure out how to get NPM to behave. |
80dbbda to
6135aec
Compare
|
Visit the preview URL for this PR (updated for commit ecc4bb5): https://picasso-f0d16--pr2584-cu-32qxmkr-publish-s-mjwx7blg.web.app (expires Wed, 14 Dec 2022 13:08:46 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: d4e030ec330173845b1768cd217beee9791d20f1 |
3a7c67b to
6135aec
Compare
|
Visit the preview URL for this PR (updated for commit ecc4bb5): https://pablo-afa5d--pr2584-cu-32qxmkr-publish-s-8tfxa90s.web.app (expires Wed, 14 Dec 2022 13:09:05 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 8ef316967fc7aa470dc109d617260c43c009e4e3 |
|
In the end, failed to get NPM and nix to behave nicely. Suggest merging so we publish an image for SRE. |
2d2c3dc to
c4e1392
Compare
98ba80e to
a40e778
Compare
No description provided.