mirror of
https://github.com/gabrie30/ghorg.git
synced 2026-05-05 11:56:09 +02:00
Update github_cloud_integration_tests.sh (#455)
This commit is contained in:
parent
f3383ddca4
commit
5cc347f1c2
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user