Update github_cloud_integration_tests.sh (#455)

This commit is contained in:
gabrie30 2024-09-20 09:11:37 -07:00 committed by GitHub
parent f3383ddca4
commit 5cc347f1c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,9 @@ cp ./ghorg /usr/local/bin
GITHUB_ORG=forcepushtoproduction
GHORG_TEST_REPO=ghorg-ci-test
GHORG_TEST_SELF_PRIVATE_REPO=ghorg_testing_private
REPO_WITH_TESTING_TOPIC=ghorg-repo-with-topic-of-testing
GITHUB_SELF=gabrie30
ghorg version
@ -34,6 +36,17 @@ else
exit 1
fi
# user cloning selfs private repo
ghorg clone $GITHUB_SELF --clone-type=user --topics=ghogtestprivate --token=$GITHUB_TOKEN --path=/tmp --output-dir=testing_self_private_repo
if [ -e /tmp/testing_self_private_repo/$GHORG_TEST_SELF_PRIVATE_REPO ]
then
echo "Pass: github self private repos clone"
else
echo "Fail: github self private repos clone"
exit 1
fi
# clone an org with configuration file set by config flag
ghorg clone $GITHUB_ORG --token=$GITHUB_TOKEN --config=$PWD/scripts/testing_confs/alternative_clone_path_conf.yaml