Skip to content

Commit

Permalink
Set -e (again)
Browse files Browse the repository at this point in the history
testing set -e, yet again. Worked properly locally for some reason but historically hasn't worked in GH actions.
  • Loading branch information
nataliejschultz committed Jul 7, 2023
1 parent d283f72 commit 3607b3e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .docker/setup_config.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# set -e
set -e
echo "About to start conda update, this may take some time..."

# if [[ $(conda install -c conda-forge cryptography=40.0.2 wheel=0.40.0) == *Killed* ]]; then
# echo "!!!!! Error !!!!!"
# exit code 1
# fi

source setup/setup_conda.sh Linux-x86_64

echo "setup_conda.sh successful"
Expand All @@ -20,12 +26,14 @@ echo "finished installing e-mission environment"
# echo "!!!!! Error !!!!!"
# exit code 1
# fi


conda install -c conda-forge cryptography=40.0.2 wheel=0.40.0

if [ -z "$CONDA_EXE" ]; then
echo 'Environment variable CONDA_EXE must be specified. Exiting.'
exit 1
fi
# if [ -z "$CONDA_EXE" ]; then
# echo 'Environment variable CONDA_EXE must be specified. Exiting.'
# exit 1
# fi

echo "finished installing conda"

Expand Down

0 comments on commit 3607b3e

Please sign in to comment.