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

#CU-31pqtuu checking nix rot and nixops (we finally """compile""" nix) #2724

Merged
merged 9 commits into from
Dec 19, 2022

Conversation

dzmitry-lahoda
Copy link
Contributor

@dzmitry-lahoda dzmitry-lahoda commented Dec 15, 2022

Signed-off-by: Dzmitry Lahoda dzmitry@lahoda.pro

πŸ‘ NixOS/nix#7464 <- vote for nix to be come """compiled""" πŸ‘

@dzmitry-lahoda dzmitry-lahoda requested review from a team December 15, 2022 10:12
@vercel
Copy link

vercel bot commented Dec 15, 2022

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

2 Ignored Deployments
Name Status Preview Updated
pablo-nightly ⬜️ Ignored (Inspect) Dec 15, 2022 at 6:17PM (UTC)
picasso-nightly ⬜️ Ignored (Inspect) Dec 15, 2022 at 6:17PM (UTC)

@github-actions
Copy link

github-actions bot commented Dec 15, 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/4e685c3520be2ba673e47f1eac7713070a6289c7 --allow-import-from-derivation

Run the Composable node alone:

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

Spin up a local devnet:

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

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/4e685c3520be2ba673e47f1eac7713070a6289c7#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/4e685c3520be2ba673e47f1eac7713070a6289c7#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.

@dzmitry-lahoda dzmitry-lahoda changed the title #flaky #draft checking nix rot and nixops checking nix rot and nixops Dec 15, 2022
@dzmitry-lahoda
Copy link
Contributor Author

dzmitry-lahoda commented Dec 15, 2022

template failed with on long check

    DOCKER_USER_OPTION: $UID:$GID
Watching /nix/store for new store paths ...
Error: Process completed with exit code 130.

@dzmitry-lahoda dzmitry-lahoda changed the title checking nix rot and nixops checking nix rot and nixops (we finally """compile""" nix) Dec 15, 2022
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 force-pushed the dz/pro/nix/rot branch 2 times, most recently from 13eba85 to 1b9e7e9 Compare December 15, 2022 15:49
@cor cor marked this pull request as draft December 15, 2022 17:36
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
@dzmitry-lahoda dzmitry-lahoda marked this pull request as ready for review December 15, 2022 18:21
@dzmitry-lahoda dzmitry-lahoda changed the title checking nix rot and nixops (we finally """compile""" nix) #CU-31pqtuu checking nix rot and nixops (we finally """compile""" nix) Dec 16, 2022
@itsbobbyzz
Copy link

Task linked: CU-31pqtuu Migrate to zombienet

@dzmitry-lahoda
Copy link
Contributor Author

Fixed comments in next PR for zombienet.

@dzmitry-lahoda
Copy link
Contributor Author

@mergify refresh

@mergify
Copy link
Contributor

mergify bot commented Dec 19, 2022

refresh

βœ… Pull request refreshed

@dzmitry-lahoda
Copy link
Contributor Author

@cor @hussein-aitlahcen anything to say #2724 ? I fixed existing comments in next PR.

Copy link
Contributor

@cor cor left a comment

Choose a reason for hiding this comment

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

LGTM, will be good to add ARM to this later on

@mergify mergify bot merged commit bb09802 into main Dec 19, 2022
@KaiserKarel KaiserKarel deleted the dz/pro/nix/rot branch January 31, 2023 18:02
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