chore(ci): fix export templates install and android cmdline version
CI / Export Windows (push) Failing after 5m23s
CI / Export Linux (push) Failing after 5m3s
Test Suite / Unit Tests (GUT) (push) Successful in 51s
CI / Export Android (push) Failing after 3m20s
Test Suite / Code Style Check (push) Failing after 34s
Test Suite / Integration Tests (push) Failing after 4m1s
CI / Create Release (push) Has been skipped
Test Suite / Security Scan (push) Failing after 5m37s
CI / Export Windows (push) Failing after 5m23s
CI / Export Linux (push) Failing after 5m3s
Test Suite / Unit Tests (GUT) (push) Successful in 51s
CI / Export Android (push) Failing after 3m20s
Test Suite / Code Style Check (push) Failing after 34s
Test Suite / Integration Tests (push) Failing after 4m1s
CI / Create Release (push) Has been skipped
Test Suite / Security Scan (push) Failing after 5m37s
This commit is contained in:
+25
-28
@@ -25,6 +25,12 @@ jobs:
|
||||
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||
ssh-strict: false
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||
ssh-strict: false
|
||||
|
||||
- name: Setup Godot
|
||||
run: |
|
||||
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||
@@ -34,9 +40,11 @@ jobs:
|
||||
|
||||
- name: Install export templates
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
||||
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz
|
||||
unzip -q Godot_v4.6-stable_export_templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
||||
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
||||
unzip -o -q /tmp/godot-templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
||||
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
||||
|
||||
- name: Export Windows
|
||||
run: |
|
||||
@@ -59,21 +67,6 @@ jobs:
|
||||
run: |
|
||||
echo -e "Host gitea\n HostName 100.79.174.108\n Port 222\n StrictHostKeyChecking no" >> /etc/ssh/ssh_config
|
||||
|
||||
- name: Diagnose git remote connectivity
|
||||
run: |
|
||||
echo "--- relevant env vars ---"
|
||||
env | grep -Ei '^(GITHUB_|CI_|GITEA_)' || true
|
||||
echo "--- /etc/ssh/ssh_config ---"
|
||||
cat /etc/ssh/ssh_config
|
||||
echo "--- raw TCP reachability to 100.79.174.108:222 ---"
|
||||
timeout 5 bash -c 'cat < /dev/null > /dev/tcp/100.79.174.108/222' && echo "TCP 222: OPEN" || echo "TCP 222: CLOSED/UNREACHABLE"
|
||||
echo "--- ls-remote against candidate hosts (verbose ssh) ---"
|
||||
for url in "git@gitea:danchie/tekton.git" "git@git.klud.top:danchie/tekton.git" "ssh://git@100.79.174.108:222/danchie/tekton.git"; do
|
||||
echo "=== trying $url ==="
|
||||
GIT_SSH_COMMAND="ssh -vvv -o StrictHostKeyChecking=no -o ConnectTimeout=8" git ls-remote "$url" 2>&1 | tail -40
|
||||
echo "exit code: $?"
|
||||
done
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -89,9 +82,11 @@ jobs:
|
||||
|
||||
- name: Install export templates
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
||||
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz
|
||||
unzip -q Godot_v4.6-stable_export_templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
||||
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
||||
unzip -o -q /tmp/godot-templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
||||
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
||||
|
||||
- name: Export Linux
|
||||
run: |
|
||||
@@ -129,16 +124,18 @@ jobs:
|
||||
|
||||
- name: Install export templates
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
||||
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz
|
||||
unzip -q Godot_v4.6-stable_export_templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
||||
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
||||
unzip -o -q /tmp/godot-templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
||||
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
||||
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v3
|
||||
with:
|
||||
api-level: 34
|
||||
ndk-version: r26c
|
||||
cmdline-tools-version: latest
|
||||
cmdline-tools-version: '11.0'
|
||||
|
||||
- name: Export Android
|
||||
run: |
|
||||
@@ -186,11 +183,11 @@ jobs:
|
||||
TAG_NAME: ${{ github.ref_name }}
|
||||
run: |
|
||||
API="https://git.klud.top/api/v1/repos/danchie/tekton/releases"
|
||||
RELEASE_JSON=$(curl -s -H "Authorization: token $GITEA_TOKEN" "$API/tags/$TAG_NAME")
|
||||
RELEASE_JSON=$(curl -s -H "Authorization: token ***" "$API/tags/$TAG_NAME")
|
||||
RELEASE_ID=$(echo "$RELEASE_JSON" | grep -o '"id":[0-9]*' | head -1 | grep -o '[0-9]*')
|
||||
if [ -z "$RELEASE_ID" ]; then
|
||||
RELEASE_JSON=$(curl -s -X POST \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
-H "Authorization: token ***" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"tag_name\": \"$TAG_NAME\", \"name\": \"$TAG_NAME\"}" \
|
||||
"$API")
|
||||
@@ -201,7 +198,7 @@ jobs:
|
||||
- name: Upload Windows asset
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.TEKTON_RELEASE_TOKEN }}" \
|
||||
-H "Authorization: token *** secrets.TEKTON_RELEASE_TOKEN }}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
-F "attachment=@artifacts/windows/tekton_armageddon_windows.exe" \
|
||||
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
|
||||
@@ -209,7 +206,7 @@ jobs:
|
||||
- name: Upload Linux asset
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.TEKTON_RELEASE_TOKEN }}" \
|
||||
-H "Authorization: token *** secrets.TEKTON_RELEASE_TOKEN }}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
-F "attachment=@artifacts/linux/tekton_armageddon_linux.x86_64" \
|
||||
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
|
||||
@@ -217,7 +214,7 @@ jobs:
|
||||
- name: Upload Android asset
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.TEKTON_RELEASE_TOKEN }}" \
|
||||
-H "Authorization: token *** secrets.TEKTON_RELEASE_TOKEN }}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
-F "attachment=@artifacts/android/tekton_dash_armageddon.apk" \
|
||||
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
|
||||
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/${{ steps.gitea_release.outputs.release_id }}/assets"
|
||||
|
||||
Reference in New Issue
Block a user