Skip to content

fix(devnet): xc docker image user fix to run devent in docker and codespace - #4016

Merged
dzmitry-lahoda merged 5 commits into
mainfrom
dz/303
Aug 4, 2023
Merged

fix(devnet): xc docker image user fix to run devent in docker and codespace#4016
dzmitry-lahoda merged 5 commits into
mainfrom
dz/303

Conversation

@dzmitry-lahoda

@dzmitry-lahoda dzmitry-lahoda commented Aug 4, 2023

Copy link
Copy Markdown
Contributor

image

Required for merge:

  • pr-workflow-check / draft-release-check is ✅ success
  • Other rules GitHub shows you, or can be read in configuration

Makes review faster:

  • PR title is my best effort to provide summary of changes and has clear text to be part of release notes
  • I marked PR by misc label if it should not be in release notes
  • Linked Zenhub/Github/Slack/etc reference if one exists fails to run in docker because user is nil F1bonacc1/process-compose#84
  • I was clear on what type of deployment required to release my changes (node, runtime, contract, indexer, on chain operation, frontend, infrastructure) if any in PR title or description
  • Added reviewer into Reviewers
  • I tagged(@) or used other form of notification of one person who I think can handle best review of this PR
  • I have proved that PR has no general regressions of relevant features and processes required to release into production
  • Any dependency updates made, was done according guides from relevant dependency
  • Clicking all checkboxes
  • Adding detailed description of changes when it feels appropriate (for example when PR is big)

@github-actions

github-actions Bot commented Aug 4, 2023

Copy link
Copy Markdown

Pull reviewers stats

Stats of the last 30 days for composable:

User Total reviews Time to review Total comments
RustNinja 20 1h 54m 2
dzmitry-lahoda 18 21h 38m 27
blasrodri 12 7h 41m 13
mina86 8 12h 56m 64
kkast 6 1d 10h 37m 4
vmarkushin 2 6d 10h 24m 3
josietyleung 1 1d 20h 28m 3

@github-actions

github-actions Bot commented Aug 4, 2023

Copy link
Copy Markdown
# run Composable node
nix run "github:ComposableFi/composable/refs/pull/4016/merge" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed
# run local Picasso DevNet (for CosmWasm development)
nix run "github:ComposableFi/composable/refs/pull/4016/merge#devnet-picasso" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed 
# CosmWasm on Substrate CLI tool
nix run "github:ComposableFi/composable/refs/pull/4016/merge#ccw" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed 
# run cross chain devnet with Dotsama and Cosmos nodes 
nix run "github:ComposableFi/composable/refs/pull/4016/merge#devnet-xc-fresh" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed 

About nix

blasrodri
blasrodri previously approved these changes Aug 4, 2023

@blasrodri blasrodri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you tell me how to run the xc infra with this docker image?

@dzmitry-lahoda
dzmitry-lahoda added this pull request to the merge queue Aug 4, 2023
@dzmitry-lahoda
dzmitry-lahoda removed this pull request from the merge queue due to a manual request Aug 4, 2023
@dzmitry-lahoda

Copy link
Copy Markdown
Contributor Author

image

@dzmitry-lahoda

dzmitry-lahoda commented Aug 4, 2023

Copy link
Copy Markdown
Contributor Author

@blasrodri you can run with tui like this

 nix build "composable#devnet-xc-image" --allow-import-from-derivation --extra-experimental-features "flakes nix-command" --no-sandbox --accept-flake-config --option sandbox relaxed \
            && docker load --input result && docker run -it --entrypoint bash devnet-xc:latest -c /bin/devnet-xc-fresh 

@dzmitry-lahoda

dzmitry-lahoda commented Aug 4, 2023

Copy link
Copy Markdown
Contributor Author

or if just plain logs docker run -it devnet-xc:main and it will run just background logs

@dzmitry-lahoda
dzmitry-lahoda requested a review from kkast August 4, 2023 13:19
@dzmitry-lahoda

Copy link
Copy Markdown
Contributor Author

image

@dzmitry-lahoda dzmitry-lahoda changed the title fix(devnet): xc docker image user fix to run devent in docker fix(devnet): xc docker image user fix to run devent in docker and codespace Aug 4, 2023
@dzmitry-lahoda
dzmitry-lahoda added this pull request to the merge queue Aug 4, 2023
Merged via the queue into main with commit 22a3375 Aug 4, 2023
@dzmitry-lahoda
dzmitry-lahoda deleted the dz/303 branch August 4, 2023 13:50
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.

3 participants