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

#done #CU-3u4b2bt zombienet binary and draft runner #2408

Merged
merged 9 commits into from
Nov 30, 2022
Merged

Conversation

dzmitry-lahoda
Copy link
Contributor

@dzmitry-lahoda dzmitry-lahoda commented Nov 23, 2022

  • zombienet binary(no sandbox)
  • draft non nixified runner

@dzmitry-lahoda dzmitry-lahoda requested review from a team as code owners November 23, 2022 20:58
@dzmitry-lahoda dzmitry-lahoda requested a review from a team November 23, 2022 20:58
@vercel
Copy link

vercel bot commented Nov 23, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
pablo-nightly ✅ Ready (Inspect) Visit Preview Nov 30, 2022 at 10:08AM (UTC)
picasso-nightly ✅ Ready (Inspect) Visit Preview Nov 30, 2022 at 10:08AM (UTC)

@github-actions
Copy link

github-actions bot commented Nov 23, 2022

Nix commands for this PR

NOTE: 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:

nix flake show "github:ComposableFi/composable/f1b065cf7c87425eabfcfad927c33d35cc353c98 --allow-import-from-derivation

Run the Composable node alone:

nix run "github:ComposableFi/composable/f1b065cf7c87425eabfcfad927c33d35cc353c98#composable-node" -L

Spin up a local devnet:

nix run "github:ComposableFi/composable/f1b065cf7c87425eabfcfad927c33d35cc353c98#devnet" -L --option sandbox relaxed --show-trace

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/f1b065cf7c87425eabfcfad927c33d35cc353c98#devnet-xcvm" -L

View 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/f1b065cf7c87425eabfcfad927c33d35cc353c98#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes"

NOTE: You can swap devnet-dali in the command above with any Nix package

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.

@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 23, 2022 21:03 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 23, 2022 21:12 Inactive
@dzmitry-lahoda dzmitry-lahoda changed the title zombienet bin #CU-3u4b2bt zombienet bin Nov 23, 2022
@itsbobbyzz
Copy link

@dzmitry-lahoda dzmitry-lahoda changed the title #CU-3u4b2bt zombienet bin #CU-3u4b2bt zombienet binary and draft runner Nov 23, 2022
@github-actions
Copy link

github-actions bot commented Nov 23, 2022

Visit the preview URL for this PR (updated for commit 0e54bf3):

https://picasso-f0d16--pr2408-dz-zombienet-bin-wjwaxlj9.web.app

(expires Wed, 30 Nov 2022 22:21:51 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d4e030ec330173845b1768cd217beee9791d20f1

@github-actions
Copy link

github-actions bot commented Nov 23, 2022

Visit the preview URL for this PR (updated for commit 0e54bf3):

https://pablo-afa5d--pr2408-dz-zombienet-bin-at3mssw5.web.app

(expires Wed, 30 Nov 2022 22:22:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 8ef316967fc7aa470dc109d617260c43c009e4e3

@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 23, 2022 21:27 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 23, 2022 21:32 Inactive
@dzmitry-lahoda
Copy link
Contributor Author

On CI fails

copying path '/nix/store/70xdsvpa77bai9immbq5czmyz9rzldn7-docs-0.0.0-node-modules' from 'https://composable-community.cachix.org/'...
building '/nix/store/xriwm1xjclky3pxdsdv9fjg64rxb7gl9-docs-0.0.0.drv'...
docs> unpacking sources
docs> unpacking source archive /nix/store/gkjqcvrlpvd8wx8yz0iykv07ljq2dzxx-docs
docs> source root is docs
docs> patching sources
docs> configuring
docs> cp: cannot copy a directory, '/nix/store/70xdsvpa77bai9immbq5czmyz9rzldn7-docs-0.0.0-node-modules/npm-cache', into itself, '/tmp/nix-build-docs-0.0.0.drv-0/docs/npm-cache'
error: builder for '/nix/store/xriwm1xjclky3pxdsdv9fjg64rxb7gl9-docs-0.0.0.drv' failed with exit code 1
Stopped watching /nix/store and waiting for queue to empty ...
Done.
compressing and pushing /nix/store/yxw2s2iq7fwbzfxd20kq9md9s1gm11hz-source (123.80 MiB)
Error: Process completed with exit code 1.

@dzmitry-lahoda
Copy link
Contributor Author

locally it is awesome

image

@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 23, 2022 21:52 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 23, 2022 21:57 Inactive
@dzmitry-lahoda dzmitry-lahoda requested a review from a team November 23, 2022 22:09
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 23, 2022 22:23 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 23, 2022 22:27 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 23, 2022 22:35 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 23, 2022 22:39 Inactive
Copy link
Contributor

@andyjsbell andyjsbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 28, 2022 13:03 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 28, 2022 13:07 Inactive
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
@dzmitry-lahoda dzmitry-lahoda changed the title #CU-3u4b2bt zombienet binary and draft runner #done #CU-3u4b2bt zombienet binary and draft runner Nov 30, 2022
@vercel vercel bot temporarily deployed to Preview – picasso-nightly November 30, 2022 09:45 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly November 30, 2022 10:08 Inactive
@dzmitry-lahoda
Copy link
Contributor Author

@Mergifyio refresh

@mergify
Copy link
Contributor

mergify bot commented Nov 30, 2022

refresh

✅ Pull request refreshed

mergify bot added a commit that referenced this pull request Nov 30, 2022
@mergify mergify bot merged commit ff792a4 into main Nov 30, 2022
@mergify mergify bot deleted the dz/zombienet/bin branch November 30, 2022 17:06
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.

None yet

5 participants