hello-world-test/.woodpecker.yml

31 lines
802 B
YAML

branches:
include:
- main
- master
steps:
hello-world:
image: alpine:latest
commands:
- echo "Starte Hello World Test in Podman Container..."
- apk add --no-cache bash
- chmod +x hello.sh
- ./hello.sh
- echo "Container-Info:"
- cat /etc/os-release | head -5
- echo "Verfügbare Ressourcen:"
- df -h /
- free -h
- echo "Pipeline erfolgreich abgeschlossen!"
test-environment:
image: alpine:latest
commands:
- echo "=== Container Environment Test ==="
- echo "Alpine Version: $(cat /etc/alpine-release)"
- echo "Shell: $SHELL"
- echo "Path: $PATH"
- echo "Environment Variables:"
- env | grep -E "(CI_|WOODPECKER_)" | sort
- echo "=== Environment Test abgeschlossen ==="