Skip to content

Commit

Permalink
[DEVOPS-922] launcher: Use ports which don't conflict with swagger
Browse files Browse the repository at this point in the history
Swagger docs server is listening on 8091. So use:

 - Mainnet - 8090
 - Staging - 8092
 - Testnet - 8094
  • Loading branch information
rvl committed Jul 31, 2018
1 parent d7b271b commit 5a5439e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion installers/Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ configSpec = do
walletPort mainnetCfg `shouldBe` 8090
it "gets the right testnet port" $ do
stagingCfg <- getInstallerConfig "./dhall" Win64 Testnet
walletPort stagingCfg `shouldBe` 8092
walletPort stagingCfg `shouldBe` 8094


deleteSpec :: Spec
Expand Down
2 changes: 1 addition & 1 deletion installers/dhall/staging.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
, reportServer = "http://report-server.awstest.iohkdev.io:8080"
, installDirectorySuffix = " Staging"
, macPackageSuffix = "Staging"
, walletPort = 8091
, walletPort = 8092
}
2 changes: 1 addition & 1 deletion installers/dhall/testnet.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
, reportServer = "http://report-server.cardano-mainnet.iohk.io:8080"
, installDirectorySuffix = " Testnet"
, macPackageSuffix = "Testnet"
, walletPort = 8092
, walletPort = 8094
}
4 changes: 2 additions & 2 deletions yarn2nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ let
# selection happens at runtime.
walletPortMap = {
mainnet = 8090;
staging = 8091;
testnet = 8092;
staging = 8092;
testnet = 8094;
};
dotGitExists = builtins.pathExists ./.git;
isNix2 = 0 <= builtins.compareVersions builtins.nixVersion "1.12";
Expand Down

0 comments on commit 5a5439e

Please sign in to comment.