aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-23 10:13:59 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-23 10:23:02 +0200
commit5ffe1fb9f036fbd81b5e1b1fa191bd7560aa9f5c (patch)
treef4dd9d2dce555fddbbe526a9c7d42858160ba6aa /test/integration
parentexample/cgitize.toml: add a couple of comments (diff)
downloadcgitize-5ffe1fb9f036fbd81b5e1b1fa191bd7560aa9f5c.tar.gz
cgitize-5ffe1fb9f036fbd81b5e1b1fa191bd7560aa9f5c.zip
fetch private GitHub user repositoriesv5.0.0
This is in line with how it works for Bitbucket & GitLab.
Diffstat (limited to '')
-rwxr-xr-xtest/integration/example/test.sh8
1 files changed, 6 insertions, 2 deletions
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'