Skip to content

Commit

Permalink
define GSDEVKIT_STONES_ROOT based on value of CI ... GsDevKit_home is…
Browse files Browse the repository at this point in the history
… in a different location on GitHub
  • Loading branch information
dalehenrich committed Oct 3, 2023
1 parent 5bd83f0 commit 8d589c9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_defaultRegistry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ fi
projectSet=xxx
export urlType=ssh
if [ "$CI" = "true" ]; then
# GSDEVKIT_STONES_ROOT defined in ci.yml
export urlType=https
else
# GSDEVKIT_STONES_ROOT is $STONES_HOME/test_git
export GSDEVKIT_STONES_ROOT=$STONES_HOME/test_git/GsDevKit_stones
fi

set +e
Expand Down Expand Up @@ -123,8 +127,8 @@ gslist.solo -l
cd $STONES_HOME/test_stones/stones/gs_370

# install GsDevKit_stones using Rowan installProject.stone script
bin/installProject.stone file:$ROWAN_PROJECTS_HOME/GsDevKit_stones/rowan/specs/GsDevKit_stones.ston \
--projectsHome=$ROWAN_PROJECTS_HOME $*
bin/installProject.stone file:$GSDEVKIT_STONES_ROOT/rowan/specs/GsDevKit_stones.ston \
--projectsHome=$GSDEVKIT_STONES_ROOT/.. $*

# delete the stone
cd $STONES_HOME
Expand Down

0 comments on commit 8d589c9

Please sign in to comment.