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

Fix network script bug

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