docs: Activepieces CE pilot report and throwaway pilot assets (PLATFM-18 D-E)
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Do Siki
2026-10-04 00:49:00 +02:00
co-authored by Claude Sonnet 5.5
parent b0641758f2
commit 9629364dad
11 changed files with 745 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
#!/usr/bin/env bash
# Runs ON the server inside ~/projects/ap-pilot: generates secrets (never printed) and test certificates.
set -euo pipefail
cd "$(dirname "$0")"
if [ ! -f .env ]; then
umask 077
cat > .env <<ENV
AP_ENGINE_EXECUTABLE_PATH=dist/packages/engine/main.js
AP_ENCRYPTION_KEY=$(openssl rand -hex 16)
AP_JWT_SECRET=$(openssl rand -hex 32)
AP_ENVIRONMENT=prod
AP_FRONTEND_URL=http://localhost:80
AP_WEBHOOK_TIMEOUT_SECONDS=30
AP_TRIGGER_DEFAULT_POLL_INTERVAL=5
AP_POSTGRES_DATABASE=activepieces
AP_POSTGRES_HOST=postgres
AP_POSTGRES_PORT=5432
AP_POSTGRES_USERNAME=appilot
AP_POSTGRES_PASSWORD=$(openssl rand -hex 16)
AP_EXECUTION_MODE=UNSANDBOXED
AP_WORKER_CONCURRENCY=1
AP_REDIS_HOST=redis
AP_REDIS_PORT=6379
AP_FLOW_TIMEOUT_SECONDS=600
AP_TELEMETRY_ENABLED=false
ENV
fi
if [ ! -f tls/ok.pem ]; then
cd tls
openssl req -x509 -newkey rsa:2048 -nodes -keyout ca.key -out ca.pem -days 30 -subj "/CN=pilot-ca" 2>/dev/null
for pair in "ok:30" "crit:5"; do
n=${pair%%:*}; d=${pair##*:}
openssl req -newkey rsa:2048 -nodes -keyout $n.key -out $n.csr -subj "/CN=tls.pilot" 2>/dev/null
printf "subjectAltName=DNS:tls.pilot\n" > $n.ext
openssl x509 -req -in $n.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out $n.pem -days $d -extfile $n.ext 2>/dev/null
done
chmod 644 *.pem; chmod 600 *.key; rm -f *.csr *.ext
fi
echo "setup ok"