Skip to content

Commit

Permalink
Update github_cloud_integration_tests.sh (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrie30 authored Sep 20, 2024
1 parent f3383dd commit 5cc347f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/github_cloud_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 5cc347f

Please sign in to comment.