From 5ffe1fb9f036fbd81b5e1b1fa191bd7560aa9f5c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 23 Aug 2023 10:13:59 +0200 Subject: fetch private GitHub user repositories This is in line with how it works for Bitbucket & GitLab. --- test/integration/example/test.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/integration/example/test.sh b/test/integration/example/test.sh index 901fd01..7568936 100755 --- a/test/integration/example/test.sh +++ b/test/integration/example/test.sh @@ -136,6 +136,7 @@ test_ssh() { wireguard/wintun \ goauthentik-dir/authentik \ github-dir/public \ + github-dir/private \ bitbucket-dir/public \ bitbucket-dir/private \ gitlab-dir/public \ @@ -146,7 +147,8 @@ test_ssh() { verify_origin graphviz 'git@gitlab.com:graphviz/graphviz.git' verify_origin goauthentik-dir/authentik 'git@github.com:goauthentik/authentik.git' - verify_origin github-dir/public 'git@github.com:cgitize-test/public.git' + verify_origin github-dir/public 'git@github.com:cgitize-test/public.git' + verify_origin github-dir/private 'git@github.com:cgitize-test/private.git' verify_origin bitbucket-dir/public 'git@bitbucket.org:cgitize-test-workspace/public.git' verify_origin bitbucket-dir/private 'git@bitbucket.org:cgitize-test-workspace/private.git' verify_origin gitlab-dir/public 'git@gitlab.com:cgitize-test/public.git' @@ -172,6 +174,7 @@ test_https() { wireguard/wintun \ goauthentik-dir/authentik \ github-dir/public \ + github-dir/private \ bitbucket-dir/public \ bitbucket-dir/private \ gitlab-dir/public \ @@ -182,7 +185,8 @@ test_https() { verify_origin graphviz 'https://gitlab.com/graphviz/graphviz.git' verify_origin goauthentik-dir/authentik 'https://github.com/goauthentik/authentik.git' - verify_origin github-dir/public 'https://github.com/cgitize-test/public.git' + verify_origin github-dir/public 'https://github.com/cgitize-test/public.git' + verify_origin github-dir/private 'https://github.com/cgitize-test/private.git' verify_origin bitbucket-dir/public 'https://bitbucket.org/cgitize-test-workspace/public.git' verify_origin bitbucket-dir/private 'https://bitbucket.org/cgitize-test-workspace/private.git' verify_origin gitlab-dir/public 'https://gitlab.com/cgitize-test/public.git' -- cgit v1.2.3