mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-26 20:54:08 +00:00
* ci: add manual agent observability benchmarks on Aliyun ECS Signed-off-by: WenyXu <wenymedia@gmail.com> * ci: configure observability ECS budgets and reuse runner actions Signed-off-by: WenyXu <wenymedia@gmail.com> * ci: default observability runners to ecs.c9i.2xlarge Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(ci): prepare observability Docker access during ECS bootstrap Signed-off-by: WenyXu <wenymedia@gmail.com> * docs: remove standalone observability CI guide Signed-off-by: WenyXu <wenymedia@gmail.com> --------- Signed-off-by: WenyXu <wenymedia@gmail.com>
31 lines
1.5 KiB
Markdown
31 lines
1.5 KiB
Markdown
# Aliyun ECS runners
|
|
|
|
Use `aliyun-ecs-create` to create an ECS runner and `aliyun-ecs-delete` to
|
|
remove the instance and unregister the runner. Both actions run on GitHub-hosted
|
|
Linux runners after checkout. Pass credentials through action inputs.
|
|
|
|
Split the workflow into three jobs:
|
|
|
|
1. Create the runner from a prepared ECS image.
|
|
2. Run the workload with `runs-on: ${{ needs.create.outputs.label }}`.
|
|
3. Delete the runner in a job with `if: always()` and dependencies on both jobs.
|
|
Pass `instance_id` and `runner_name` from the create job's outputs, even if
|
|
provisioning fails after creating the instance.
|
|
|
|
See [agent-observability.yml](../../workflows/agent-observability.yml) for a caller
|
|
and [action.yml](action.yml) for all inputs and outputs.
|
|
|
|
`system-disk-gib` defaults to 80. Optional `ttl-hours` sets when the janitor may
|
|
remove the instance, measured from ECS creation. Without it, the janitor uses
|
|
its four-hour fallback. Allow time for provisioning, queueing, the workload and
|
|
teardown. Normal teardown does not wait for the TTL.
|
|
|
|
Deploy the TTL-aware janitor to the default branch before using a TTL above
|
|
four hours; the old janitor ignores this setting. The actions retain the existing
|
|
query-regression ownership tags and runner naming.
|
|
|
|
Set `enable-docker: 'true'` for container workloads. Root cloud-init starts the
|
|
image-provided Docker CE service and adds the runner to the Docker group before
|
|
starting the runner. Docker group access is root-equivalent. This option defaults
|
|
to `false`, so existing query-regression jobs keep their current permissions.
|