Skip to content

Adds privilige check to workflow#3051

Merged
KaiserKarel merged 1 commit intoComposableFi:mainfrom
KaiserKarel:CU-8669dxq4z
Jan 31, 2023
Merged

Adds privilige check to workflow#3051
KaiserKarel merged 1 commit intoComposableFi:mainfrom
KaiserKarel:CU-8669dxq4z

Conversation

@KaiserKarel
Copy link
Contributor

No description provided.

@KaiserKarel KaiserKarel requested review from a team January 30, 2023 19:04
@KaiserKarel
Copy link
Contributor Author

Task linked: NX-92 Add privilige check to CI

@github-actions
Copy link

github-actions bot commented Jan 30, 2023

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/a94677807cb6590a9e16811a4911425c813642f4 --allow-import-from-derivation

Run the Composable node alone:

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

Spin up a local devnet:

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

Spin up a local XCVM devnet:

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

@github-actions
Copy link

github-actions bot commented Jan 30, 2023

@github-actions
Copy link

github-actions bot commented Jan 30, 2023

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

@KaiserKarel KaiserKarel merged commit 2c92119 into ComposableFi:main Jan 31, 2023
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.

2 participants