Skip to content

Commit

Permalink
chore(staging): Updating scripts for bootstrapping staging
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic committed Aug 23, 2023
1 parent a85c5eb commit cd34e17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"scripts": {
"dev-staging": "concurrently \"yarn start\" \"yarn start-backend\" \"yarn start-rust-backend-staging\"",
"start-rust-backend-staging": "cd .. && BACKEND_PORT=8081 RUST_BACKTRACE=1 NETWORK=staging NNS_URL=http://[2600:3004:1200:1200:5000:11ff:fe37:c55d]:8080 cargo watch -C rs/ic-management-backend -x 'run --release --color=always'",
"start-rust-backend-staging": "cd .. && BACKEND_PORT=8081 RUST_BACKTRACE=1 NETWORK=staging NNS_URL=http://[2600:3004:1200:1200:5000:62ff:fedc:fe3c]:8080 cargo watch -C rs/ic-management-backend -x 'run --release --color=always'",
"dev-mainnet": "concurrently \"yarn start\" \"yarn start-backend\" \"yarn start-rust-backend-mainnet\"",
"start-rust-backend-mainnet": "cd .. && RUST_BACKTRACE=1 NETWORK=mainnet NNS_URL=https://ic0.app cargo watch -C rs/ic-management-backend -x 'run --release --color=always'",
"dev": "concurrently \"yarn start\" \"yarn start-backend\" \"yarn start-rust-backend-staging\" \"yarn start-rust-backend-mainnet\"",
Expand Down
2 changes: 1 addition & 1 deletion rs/cli/src/ic_admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ impl Cli {
// But since ic-admin expects these commands to include the "get-" prefix, we
// need to add it back Example:
// `release_cli get subnet 0` becomes
// `ic-admin --nns-url "http://[2600:3004:1200:1200:5000:11ff:fe37:c55d]:8080" get-subnet 0`
// `ic-admin --nns-url "http://[2600:3004:1200:1200:5000:62ff:fedc:fe3c]:8080" get-subnet 0`
let mut args_with_get_prefix = vec![String::from("get-") + args[0].as_str()];
args_with_get_prefix.extend_from_slice(args.split_at(1).1);
args_with_get_prefix
Expand Down
2 changes: 1 addition & 1 deletion rs/ic-management-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ impl Network {
match self {
Network::Mainnet => Url::from_str("https://ic0.app").unwrap(),
// Workaround for staging boundary node not working properly (503 Service unavailable)
Network::Staging => Url::from_str("https://[2600:3004:1200:1200:5000:11ff:fe37:c55d]:8080").unwrap(),
Network::Staging => Url::from_str("https://[2600:3004:1200:1200:5000:62ff:fedc:fe3c]:8080").unwrap(),
Self::Url(url) => url.clone(),
}
}
Expand Down

0 comments on commit cd34e17

Please sign in to comment.