More CI changes, hoping to see some SSH action.
Some checks are pending
Tests / Backend Setup (Python 3.13 + uv + Environment) (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 / Frontend Tests (TypeScript + Vue + Yarn Berry) (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:
2025-10-24 13:51:28 -04:00
parent 7f98d5e393
commit 2ef3b777f9
2 changed files with 45 additions and 8 deletions

View File

@@ -15,12 +15,14 @@ jobs:
- name: Runner Info
run: |
echo "=== Setup Job - $(date) ==="
echo "Runner: ${RUNNER_NAME:-$(hostname)} | User: $(whoami) | OS: $(uname -s)"
echo "Runner: ${GITEA_RUNNER_NAME:-$(hostname)} | User: $(whoami) | OS: $(uname -s)"
echo "Resources: $(nproc) cores, $(free -h | awk '/^Mem:/ {print $2}') RAM"
- name: Checkout code
uses: actions/checkout@v4
with:
repository: DarkHelm.org/plex-playlist
github-server-url: ssh://git@dogar.darkhelm.org:2222
fetch-depth: 1
- name: Fallback checkout (if needed)
@@ -29,9 +31,15 @@ jobs:
echo "=== Fallback Repository Checkout ==="
cd ${{ github.workspace }}
# Try HTTP clone as fallback
if git clone --depth 1 http://gitea:3000/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
echo "✓ Internal HTTP clone successful"
# Try SSH internal, SSH external, HTTP internal, then HTTPS/HTTP external
if git clone --depth 1 git@gitea:3000/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
echo "✓ Internal SSH clone successful (kankali-runner only)"
elif git clone --depth 1 ssh://git@dogar.darkhelm.org:2222/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
echo "✓ External SSH clone successful"
elif git clone --depth 1 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 https://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
echo "✓ External HTTPS clone successful"
elif git clone --depth 1 http://dogar.darkhelm.org/DarkHelm.org/plex-playlist.git . 2>/dev/null; then
echo "✓ External HTTP clone successful"
else
@@ -59,7 +67,7 @@ jobs:
- name: Runner Info
run: |
echo "=== Backend Setup - $(date) ==="
echo "Runner: ${RUNNER_NAME:-$(hostname)} | User: $(whoami) | OS: $(uname -s)"
echo "Runner: ${GITEA_RUNNER_NAME:-$(hostname)} | User: $(whoami) | OS: $(uname -s)"
- name: Download source code
uses: actions/download-artifact@v4
@@ -127,7 +135,7 @@ jobs:
- name: Runner Info
run: |
echo "=== Frontend Setup - $(date) ==="
echo "Runner: ${RUNNER_NAME:-$(hostname)} | User: $(whoami) | OS: $(uname -s)"
echo "Runner: ${GITEA_RUNNER_NAME:-$(hostname)} | User: $(whoami) | OS: $(uname -s)"
- name: Download source code
uses: actions/download-artifact@v4
@@ -211,7 +219,7 @@ jobs:
- name: Runner Info
run: |
echo "=== Backend Tests - $(date) ==="
echo "Runner: ${RUNNER_NAME:-$(hostname)} | User: $(whoami)"
echo "Runner: ${GITEA_RUNNER_NAME:-$(hostname)} | User: $(whoami)"
- name: Download backend environment
uses: actions/download-artifact@v4
@@ -255,7 +263,7 @@ jobs:
- name: Runner Info
run: |
echo "=== Frontend Tests - $(date) ==="
echo "Runner: ${RUNNER_NAME:-$(hostname)} | User: $(whoami)"
echo "Runner: ${GITEA_RUNNER_NAME:-$(hostname)} | User: $(whoami)"
- name: Download frontend environment
uses: actions/download-artifact@v4

29
.gitignore vendored
View File

@@ -326,10 +326,39 @@ Thumbs.db
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/*.code-snippets
# VS Code workspace files
*.code-workspace
# VS Code history and cache
.history/
.vscode-test/
# VS Code extensions development
vsc-extension-quickstart.md
# IntelliJ IDEA
.idea
*.iml
*.ipr
*.iws
# Vim
*.swp
*.swo
*~
.netrwhist
# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
# Logs
logs