Getting further with the checkout step.
Some checks are pending
Tests / Frontend Tests (TypeScript + Vue + Yarn Berry) (push) Has been skipped
Tests / Frontend Setup (Node.js 24 + Yarn Berry + Build) (push) Has been skipped
Tests / Backend Tests (Python 3.13 + uv) (push) Has been skipped
Tests / Backend Setup (Python 3.13 + uv + Environment) (push) Has been skipped
Tests / Setup and Checkout (push) Waiting to run
Some checks are pending
Tests / Frontend Tests (TypeScript + Vue + Yarn Berry) (push) Has been skipped
Tests / Frontend Setup (Node.js 24 + Yarn Berry + Build) (push) Has been skipped
Tests / Backend Tests (Python 3.13 + uv) (push) Has been skipped
Tests / Backend Setup (Python 3.13 + uv + Environment) (push) Has been skipped
Tests / Setup and Checkout (push) Waiting to run
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -24,6 +24,9 @@ jobs:
|
|||||||
repository: DarkHelm.org/plex-playlist
|
repository: DarkHelm.org/plex-playlist
|
||||||
ref: main
|
ref: main
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
env:
|
||||||
|
# Help with SSL issues
|
||||||
|
GIT_SSL_NO_VERIFY: "false"
|
||||||
|
|
||||||
- name: Fallback checkout (if needed)
|
- name: Fallback checkout (if needed)
|
||||||
if: failure()
|
if: failure()
|
||||||
@@ -31,6 +34,10 @@ jobs:
|
|||||||
echo "=== Fallback Repository Checkout ==="
|
echo "=== Fallback Repository Checkout ==="
|
||||||
cd ${{ github.workspace }}
|
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
|
# 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
|
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)"
|
echo "✓ Internal SSH clone successful (kankali-runner only)"
|
||||||
@@ -38,13 +45,14 @@ jobs:
|
|||||||
echo "✓ External SSH clone successful"
|
echo "✓ External SSH clone successful"
|
||||||
elif git clone --depth 1 --branch main http://gitea:3000/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
|
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)"
|
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
|
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"
|
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
|
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"
|
echo "✓ External HTTP clone successful"
|
||||||
else
|
else
|
||||||
echo "❌ All clone methods failed"
|
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
|
fi
|
||||||
|
|
||||||
# Checkout the specific commit if available, otherwise use main
|
# Checkout the specific commit if available, otherwise use main
|
||||||
|
|||||||
Reference in New Issue
Block a user