Skip to content

Commit

Permalink
passing with both ssh and https variants ... locally
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed Oct 1, 2023
1 parent dfacd2f commit 1567fc2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
export PATH=$SUPERDOIT_ROOT/bin:$GSDEVKIT_STONES_ROOT/bin:$PATH
export CI="true"
$GSDEVKIT_STONES_ROOT/tests/test_1.sh
shell: bash
slack-workflow-status:
Expand Down
28 changes: 20 additions & 8 deletions tests/createTestProjectSet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,28 @@ if [ $status == 1 ]; then
echo "project set $projectSet exists"
fi

if [ "$urlType" = "ssh" ] ; then
url1="git@github.com:GsDevKit/GsDevKit_stones.git"
url2="git@git.gemtalksystems.com:GsDevKit_stones"
revision="v1.1.1"
theProjectName=GsDevKit_stones
else
url1="https://github.com/GsDevKit/Seaside31.git"
url2="https://github.com/glassdb/Seaside31.git"
revision=master
theProjectName=Seaside31
fi

updateProjectSet.solo --registry=$registry --projectSet=$projectSet \
--projectName=GsDevKit_stones \
--gitUrl=git@github.com:GsDevKit/GsDevKit_stones.git \
--remote=origin \
--revision=v1.1.1 $*
--projectName=$theProjectName \
--gitUrl=$url1\
--remote=origin \
--revision=$revision $*

updateProjectSet.solo --registry=$registry --projectSet=$projectSet \
--projectName=GsDevKit_stones \
--gitUrl=git@git.gemtalksystems.com:GsDevKit_stones \
--remote=gs \
--revision=v1.1.1 $*
--projectName=$theProjectName \
--gitUrl=$url2 \
--remote=gs \
--revision=$revision $*


4 changes: 4 additions & 0 deletions tests/test_1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ else
fi
registry=test
projectSet=xxx
export urlType=ssh
if [ "$CI" = "true" ]; then
export urlType=https
fi

set +e
registryReport.solo --registry=$registry
Expand Down

0 comments on commit 1567fc2

Please sign in to comment.