From a655dcd007aeddfa32ccf306dc010b62e832dbe7 Mon Sep 17 00:00:00 2001 From: Cliff Hill Date: Fri, 24 Oct 2025 17:19:33 -0400 Subject: [PATCH] Getting further with the checkout step. Signed-off-by: Cliff Hill --- .gitea/workflows/tests.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 66425a4..ff0ec97 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -24,6 +24,9 @@ jobs: repository: DarkHelm.org/plex-playlist ref: main fetch-depth: 1 + env: + # Help with SSL issues + GIT_SSL_NO_VERIFY: "false" - name: Fallback checkout (if needed) if: failure() @@ -31,6 +34,10 @@ jobs: echo "=== Fallback Repository Checkout ===" cd ${{ github.workspace }} + # Debug SSL connectivity + echo "Testing SSL connectivity to dogar.darkhelm.org..." + openssl s_client -connect dogar.darkhelm.org:443 -servername dogar.darkhelm.org < /dev/null 2>&1 | grep -E "(CONNECTED|Verify return code)" || echo "SSL test completed" + # Try SSH internal, SSH external, HTTP internal, then HTTPS/HTTP external if git clone --depth 1 --branch main git@gitea:3000/DarkHelm.org/plex-playlist.git . 2>/dev/null; then echo "✓ Internal SSH clone successful (kankali-runner only)" @@ -38,13 +45,14 @@ jobs: echo "✓ External SSH clone successful" elif git clone --depth 1 --branch main http://gitea:3000/DarkHelm.org/plex-playlist.git . 2>/dev/null; then echo "✓ Internal HTTP clone successful (kankali-runner only)" - elif git clone --depth 1 --branch main https://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>/dev/null; then - echo "✓ External HTTPS clone successful" + elif git -c http.sslVerify=false clone --depth 1 --branch main https://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>/dev/null; then + echo "✓ External HTTPS clone successful (SSL verification disabled)" elif git clone --depth 1 --branch main http://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>/dev/null; then echo "✓ External HTTP clone successful" else echo "❌ All clone methods failed" - exit 1 + echo "Attempting one more time with verbose output..." + git clone --depth 1 --branch main https://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . || exit 1 fi # Checkout the specific commit if available, otherwise use main