Compare commits
No commits in common. "338c63308a12d79e82b92a6546e338a67c9dc7af" and "d9b26dc6cd252552febbb53f72f501645b4fe1c0" have entirely different histories.
338c63308a
...
d9b26dc6cd
|
|
@ -1,38 +0,0 @@
|
||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: main
|
|
||||||
- event: pull_request
|
|
||||||
|
|
||||||
steps:
|
|
||||||
test-gameadm-install:
|
|
||||||
image: registry.opensuse.org/opensuse/leap:15.5
|
|
||||||
commands:
|
|
||||||
- echo "=== gameadm Installation Test ==="
|
|
||||||
- echo "Testing gameadm installation process"
|
|
||||||
|
|
||||||
# System vorbereiten
|
|
||||||
- zypper refresh
|
|
||||||
- zypper install -y curl wget git
|
|
||||||
|
|
||||||
# gameadm Installation simulieren
|
|
||||||
- echo "Simulating gameadm installation..."
|
|
||||||
- curl -s https://api.github.com/repos/pp1l/gameadm/releases/latest || echo "Repository check"
|
|
||||||
- echo "gameadm would be installed here"
|
|
||||||
|
|
||||||
# Test ob Installation erfolgreich
|
|
||||||
- echo "Installation test completed successfully"
|
|
||||||
- echo "=== Test Summary ==="
|
|
||||||
- echo "✓ System prepared"
|
|
||||||
- echo "✓ Dependencies available"
|
|
||||||
- echo "✓ gameadm installation simulated"
|
|
||||||
- echo "✓ CI/CD Pipeline working with Podman"
|
|
||||||
|
|
||||||
validate-environment:
|
|
||||||
image: alpine:latest
|
|
||||||
commands:
|
|
||||||
- echo "=== Environment Validation ==="
|
|
||||||
- echo "Container Runtime: $CONTAINER_RUNTIME"
|
|
||||||
- echo "CI System: Woodpecker CI"
|
|
||||||
- echo "Backend: Podman"
|
|
||||||
- uname -a
|
|
||||||
- cat /etc/os-release || echo "OS info not available"
|
|
||||||
32
README.md
32
README.md
|
|
@ -1,31 +1,3 @@
|
||||||
# gameadm Installation Test
|
# gameadm-test
|
||||||
|
|
||||||
Dieses Repository testet die automatische Installation von gameadm über unser Gitea Automation Webhook System mit Podman CI/CD.
|
Test repository for gameadm installation via Podman CI/CD
|
||||||
|
|
||||||
## Test Ziele
|
|
||||||
|
|
||||||
- ✓ Repository-Erstellung über Automation Webhook
|
|
||||||
- ✓ Woodpecker CI Pipeline mit Podman Backend
|
|
||||||
- ✓ gameadm Installation Simulation
|
|
||||||
- ✓ Environment Validation
|
|
||||||
|
|
||||||
## Pipeline Status
|
|
||||||
|
|
||||||
Die Pipeline wird automatisch getriggert bei:
|
|
||||||
- Push auf main branch
|
|
||||||
- Pull Requests
|
|
||||||
|
|
||||||
## Automation Features
|
|
||||||
|
|
||||||
- Automatische Repository-Erstellung über pp1l Organisation
|
|
||||||
- Woodpecker CI Integration
|
|
||||||
- Podman Container Runtime
|
|
||||||
- Sichere Credential-Verwaltung
|
|
||||||
|
|
||||||
## Test Details
|
|
||||||
|
|
||||||
Die Pipeline führt folgende Tests durch:
|
|
||||||
1. System-Vorbereitung (zypper, dependencies)
|
|
||||||
2. gameadm Installation Simulation
|
|
||||||
3. Environment Validation
|
|
||||||
4. Success Reporting
|
|
||||||
|
|
@ -1,54 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# gameadm Installation Script (Simulation)
|
|
||||||
# Dieses Script simuliert die Installation von gameadm
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
echo "🎮 gameadm Installation gestartet..."
|
|
||||||
|
|
||||||
# System-Check
|
|
||||||
echo "📋 System-Check..."
|
|
||||||
if command -v curl &> /dev/null; then
|
|
||||||
echo "✓ curl verfügbar"
|
|
||||||
else
|
|
||||||
echo "❌ curl nicht gefunden"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if command -v git &> /dev/null; then
|
|
||||||
echo "✓ git verfügbar"
|
|
||||||
else
|
|
||||||
echo "❌ git nicht gefunden"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# gameadm Download simulieren
|
|
||||||
echo "📦 gameadm Download..."
|
|
||||||
echo "Würde gameadm von GitHub herunterladen..."
|
|
||||||
sleep 2
|
|
||||||
|
|
||||||
# Installation simulieren
|
|
||||||
echo "🔧 Installation..."
|
|
||||||
echo "Würde gameadm installieren..."
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
# Konfiguration
|
|
||||||
echo "⚙️ Konfiguration..."
|
|
||||||
echo "Würde gameadm konfigurieren..."
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
# Service Setup
|
|
||||||
echo "🚀 Service-Setup..."
|
|
||||||
echo "Würde gameadm Service einrichten..."
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
echo "✅ gameadm Installation erfolgreich abgeschlossen!"
|
|
||||||
echo "🎯 Ready für Gaming Server Administration"
|
|
||||||
|
|
||||||
# Test-Kommando
|
|
||||||
echo "🧪 Funktionstest..."
|
|
||||||
echo "gameadm version: 1.0.0-test"
|
|
||||||
echo "Status: Ready"
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
Loading…
Reference in New Issue