Skip to content

Commit

Permalink
Merge pull request #3675 from UniMa007/fix/installer-testnet-branch
Browse files Browse the repository at this point in the history
Fix installer to use correct branch dir
  • Loading branch information
brkagithub authored Jan 14, 2025
2 parents 556b264 + af5717d commit 852485c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
"enabled": true,
"package": "./auto-updater/implementation/ot-auto-updater.js",
"config": {
"branch": "v8/release/testnet"
"branch": "v6/release/testnet"
}
}
}
Expand Down
24 changes: 18 additions & 6 deletions installer/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ install_aliases() {
install_directory() {
ARCHIVE_REPOSITORY_URL="github.com/OriginTrail/ot-node/archive"
BRANCH="v6/release/testnet"
BRANCH_DIR="/root/ot-node-8-release-testnet"
BRANCH_DIR="/root/ot-node-6-release-testnet"

perform_step wget https://$ARCHIVE_REPOSITORY_URL/$BRANCH.zip "Downloading node files"
perform_step unzip *.zip "Unzipping node files"
Expand Down Expand Up @@ -386,11 +386,23 @@ install_node() {
"config": {
"repositories": {
"dkg": {
"url": $tripleStoreUrl,
"name": "dkg",
"username": "admin",
"password": ""
}
"url": $tripleStoreUrl,
"name": "dkg",
"username": "admin",
"password": ""
},
"privateCurrent": {
"url": $tripleStoreUrl,
"name": "private-current",
"username": "admin",
"password": ""
},
"publicCurrent": {
"url": $tripleStoreUrl,
"name": "public-current",
"username": "admin",
"password": ""
}
}
}
} + .' $CONFIG_DIR/.origintrail_noderc > $CONFIG_DIR/origintrail_noderc_tmp) "Adding triple store config to node config file"
Expand Down

0 comments on commit 852485c

Please sign in to comment.