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

fixed docs deploy magic by using default token (removed token set directly) #3516

Merged
merged 5 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ jobs:
persist-credentials: false
- uses: actionsdesk/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
filesizelimit: 10KB
exclusionPatterns: |
**/*.rs
Expand Down Expand Up @@ -559,7 +558,6 @@ jobs:
- name: Deploy docs
uses: FirebaseExtended/action-hosting-deploy@0f248036885ae672f78587669fa2923f0ef6cac2
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DOCS_COMPOSABLE_FINANCE }}
projectId: composable-docs
entrypoint: docs/
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/nix/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package manager that allows you to build and run Nix packages using the Nix
build system. _This is in most cases as compatible as #1_.

Once you have determined which one you want to use, [follow the official Nix
installation instructions](https://nixos.org/download.html).
installation instructions](https://zero-to-nix.com/start/install).

### Best-effort, zero-support options

Expand Down
21 changes: 8 additions & 13 deletions flake/zombienet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
count = 3;
};

zombienet-rococo-local-composable-config = with prelude;
overrideZombienet = with prelude;
{ chain, ws_port ? null, rpc_port ? null, relay_ws_port ? null
, relay_rpc_port ? null, rust_log_add ? null, para-id ? 2087
, command ? self'.packages.composable-node, relaychain ? relaychainBase
Expand Down Expand Up @@ -75,7 +75,7 @@
chain-spec = "picasso-dev";
};

picasso-dev-config = zombienet-rococo-local-composable-config {
picasso-dev-config = overrideZombienet {
chain = "picasso-dev";
command = self'.packages.composable-testfast-node;
};
Expand All @@ -92,11 +92,10 @@
devnet-composable = zombienet-westend-local-composable-dev;

livenet-composable = zombieTools.writeZombienetShellApplication
"zombienet-polkadot-local-composable-dev"
(zombienet-rococo-local-composable-config {
"zombienet-polkadot-local-composable-dev" (overrideZombienet {
chain = "composable-dev";
relaychain = {
chain = "polkadot-local";
chain = "polkadot-dev";
default_command =
pkgs.lib.meta.getExe self'.packages.polkadot-live-runtime-node;
count = 3;
Expand All @@ -110,8 +109,7 @@

zombienet-westend-local-composable-dev =
zombieTools.writeZombienetShellApplication
"zombienet-westend-local-composable-dev"
(zombienet-rococo-local-composable-config {
"zombienet-westend-local-composable-dev" (overrideZombienet {
chain = "composable-dev";
relaychain = {
chain = "westend-local";
Expand All @@ -123,8 +121,7 @@

zombienet-picasso-centauri-a =
zombieTools.writeZombienetShellApplication
"zombienet-picasso-centauri-a"
(zombienet-rococo-local-composable-config {
"zombienet-picasso-centauri-a" (overrideZombienet {
rust_log_add =
"runtime::contracts=debug,ibc_transfer=trace,pallet_ibc=trace,grandpa-verifier=trace";
command = self'.packages.composable-testfast-node;
Expand All @@ -133,8 +130,7 @@

zombienet-picasso-centauri-b =
zombieTools.writeZombienetShellApplication
"zombienet-picasso-centauri-b"
(zombienet-rococo-local-composable-config {
"zombienet-picasso-centauri-b" (overrideZombienet {
ws_port = 29988;
rpc_port = 32201;
relay_ws_port = 29944;
Expand All @@ -147,8 +143,7 @@

zombienet-composable-centauri-b =
zombieTools.writeZombienetShellApplication
"zombienet-composable-centauri-b"
(zombienet-rococo-local-composable-config {
"zombienet-composable-centauri-b" (overrideZombienet {
ws_port = 29988;
rpc_port = 32201;
relay_ws_port = 29944;
Expand Down
1 change: 1 addition & 0 deletions inputs/paritytech/zombienet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ in with prelude; rec {
post_state = "Hash";
};
};

mkZombienet = { relaychain, parachains }: {
hrmp_channels = mkHrmpChannels parachains;
relaychain = mkRelaychain relaychain;
Expand Down