491ba78768
---ci--- project: acdl phase: 33 milestone: v1.8 status: execute ---/ci--- - New uptime L1 primitive (aws:ecs:uptime-service) deploying uptime-kuma on ECS Fargate with feature_flag_enabled, monitored_endpoints, static_checks, alert_channels (Teams/email/SMS/GitHub issues). - Adapter emits ECS Fargate task + service when feature_flag_enabled=true; emits nothing when false. Container image louislam/uptime-kuma:1. - New deploy-uptime pipeline stage in pipelines/deploy.yaml (after publish-outputs, before comment-outputs). Now 9 stages. - run_platform.sh --deploy-uptime flag + automatic uptime deployment after L2 module (separate state $WORK/uptime-tf). Endpoints from L2 outputs passed as monitored_endpoints. Feature flag from inputs.uptime_enabled (default true). - scripts/seed_uptime_monitors.py for post-deploy monitor seeding via uptime-kuma API. - Registered in registry.json (14 modules total). Tests: +6 (312 -> 318). All pass.
38 lines
935 B
YAML
38 lines
935 B
YAML
uses: acdl/pipelines/deploy.yaml@v1.8
|
|
module: uptime
|
|
environment: dev
|
|
inputs:
|
|
region: us-east-1
|
|
feature_flag_enabled: true
|
|
cpu: 512
|
|
memory: 1024
|
|
monitored_endpoints:
|
|
- name: "api-health"
|
|
url: "https://api.example.com/health"
|
|
type: "http"
|
|
interval_seconds: 30
|
|
timeout_seconds: 10
|
|
- name: "dns-check"
|
|
url: "example.com"
|
|
type: "dns"
|
|
interval_seconds: 60
|
|
timeout_seconds: 10
|
|
- name: "tcp-check"
|
|
url: "db.example.com:5432"
|
|
type: "tcp"
|
|
interval_seconds: 60
|
|
timeout_seconds: 10
|
|
static_checks:
|
|
- name: "google"
|
|
url: "https://google.com"
|
|
type: "http"
|
|
interval_seconds: 60
|
|
timeout_seconds: 10
|
|
alert_channels:
|
|
teams_webhook: "https://hooks.example.com/teams/webhook"
|
|
email_addresses:
|
|
- "oncall@example.com"
|
|
- "sre@example.com"
|
|
sms_numbers:
|
|
- "+1234567890"
|
|
github_issue_repo: "acdl/acdl" |