diff --git a/.woodpecker.yml b/.woodpecker.yml index 201f2d0..8a9085c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,8 +1,3 @@ -when: - - event: push - branch: main - - event: pull_request - steps: - name: test-syntax image: alpine:latest @@ -12,33 +7,12 @@ steps: - ls -la - echo "Checking install script syntax..." - sh -n install.sh && echo "✅ install.sh syntax OK" || echo "❌ install.sh syntax error" - - echo "Checking module scripts..." - - for script in modules/*.sh; do sh -n "$script" && echo "✅ $script OK" || echo "❌ $script error"; done - echo "=== Pipeline completed successfully ===" - - name: shellcheck-analysis - image: koalaman/shellcheck-alpine:latest - commands: - - echo "Running ShellCheck analysis..." - - shellcheck install.sh || echo "ShellCheck warnings in install.sh" - - shellcheck modules/*.sh || echo "ShellCheck warnings in modules" - - echo "ShellCheck analysis completed" - - name: documentation-check image: alpine:latest commands: - echo "Checking documentation..." - test -f README.md && echo "✅ README.md exists" || echo "❌ README.md missing" - test -s README.md && echo "✅ README.md has content" || echo "❌ README.md empty" - - echo "Documentation check completed" - - - name: webhook-integration-test - image: alpine:latest - commands: - - echo "=== Webhook Integration Test ===" - - echo "Repository: gameadm" - - echo "Branch: ${CI_COMMIT_BRANCH}" - - echo "Commit: ${CI_COMMIT_SHA}" - - echo "Trigger: ${CI_PIPELINE_EVENT}" - - echo "✅ Webhook successfully triggered Woodpecker CI" - - echo "=== Integration test completed ===" \ No newline at end of file + - echo "Documentation check completed" \ No newline at end of file