Skip to content
Snippets Groups Projects
Commit e56814c9 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix network script bug

parent 3e5c2f5a
No related branches found
No related tags found
2 merge requests!68Master merge,!46Xx 4478/templatize
......@@ -108,6 +108,7 @@ channels:
script:
- mkdir -p ~/.elixxir
- echo $PWD
- cp network/network.sh channels/network.sh
- cd channels
- rm -fr results
- rm -fr results-cpu
......@@ -123,6 +124,7 @@ channels:
- sed -i 's/useGPU\:\ false/useGPU\:\ true/g' server-[12345].yaml
- NSYSENABLED=TRUE ./run.sh
- mv results results-gpu
- rm network.sh
- cd ..
artifacts:
when: always
......
cp ../network/network.sh temp_network.sh
# NOTE: This is verbose on purpose.
################################################################################
......@@ -71,7 +69,7 @@ echo "NETWORK: $NETWORKENTRYPOINT"
if [ "$NETWORKENTRYPOINT" == "localhost:1060" ]
then
source temp_network.sh
source network.sh
else
echo "Connecting to network defined at $NETWORKENTRYPOINT"
......@@ -231,4 +229,3 @@ then
#diff -aruN client121BackupDiff.txt noerrors.txt
fi
rm temp_network.sh
\ No newline at end of file
cp ../network/network.sh temp_network.sh
# NOTE: This is verbose on purpose.
################################################################################
## Initial Set Up & Clean Up of Past Runs
......@@ -175,5 +172,3 @@ then
#echo "NOTE: BACKUP CHECK DISABLED, this should be uncommented when turned back on!"
#diff -aruN client121BackupDiff.txt noerrors.txt
fi
rm temp_network.sh
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment