ubicloud/.github/workflows
Jeremy Evans 6629284336 Add monitor smoke test
Unlike the respirate smoke test, where we can run test strands,
monitor is hard coded to use specific models. Change this so that
when it runs in test mode, it uses a stubbed model, a new class
named MonitorResourceStub. MonitorResourceStub stubs methods for both
monitoring and metric exporting.  It's designed to exercise most of
monitor's surface area.

This runs using four stubbed resources:

* up: resource that always reports pulse as up
* down: resource that always reports pulse as down
* evloop: resource that uses an event loop
* mc2: resource that reports a metric count of 2

For each resource, it checks for expected logged output.

It runs 4 separate processes in different partitions.  The stub doesn't
respect the parititioning, and doesn't use the database. The smoke
test does check that the logged messages show expected partitioning.

Similar to the respirate smoke test, run the monitor smoke test
in CI whenever a related file changes.
2025-07-30 07:00:03 +09:00
..
build.yml Do not login to DockerHub if not pushing 2025-04-22 08:18:19 +03:00
ci.yml Add stage to CI to run CSI tests 2025-07-25 15:20:55 +02:00
cla.yml Set workflow job permissions explicitly 2025-03-11 13:15:37 +03:00
cli-ci.yml Unify clover workflow environment setup at workflows 2025-07-04 11:39:23 +03:00
e2e.yml Revert the gradual rollout of CloudHypervisor 46.0 2025-07-24 03:13:37 +09:00
monitor-ci.yml Add monitor smoke test 2025-07-30 07:00:03 +09:00
respirate-ci.yml Unify clover workflow environment setup at workflows 2025-07-04 11:39:23 +03:00
rhizome.yml Add workflow for running Rhizome tests on Ruby 3.0 and 3.2 2025-05-06 23:18:09 +09:00
trigger-e2e.yml Add a workflow to trigger E2E tests with the "/run-e2e" command 2025-06-11 14:48:01 +03:00