This repository contains independent example applications for the Green Metrics Tool.
Most agent work should start from a scenario directory that contains one or more usage_scenario*.yml files.
- Start with
scenario-index.ymlto find the right example quickly. - Then read the nearest
AGENTS.mdin the target directory. - Use
usage_scenario*.ymlas the source of truth for services, commands, and flow order. - Use
compose.ymlandDockerfile*files for runtime and build details. - Treat
README.mdas human-oriented background unless the localAGENTS.mdtells you otherwise.
- Each scenario directory is intended to be runnable on its own.
- Two nested families contain child examples instead of a single root scenario:
green-software-foundation-sci/*wordpress-vs-hugo/*
.skiptestmeans the example is excluded from automated repo testing. Do not assume the scenario is broken.- If a scenario and a README disagree, prefer the scenario file.
- GUI/X11 examples such as
firefox-X11andblauer-engel-okular-xdotooldepend on host display state and usually require unsafe volume mounts. ai-model/usage_scenario_gpu.ymlrequires an NVIDIA-capable Docker setup and unsafe mounts.- Seeded CMS examples such as
drupal,wordpress-official-data, andwordpress-vs-hugo/wordpress-minimalneed database startup time before browser or curl steps run. long-testintentionally runs for roughly three hours.network-testdepends on external network downloads, so failures may be environmental rather than code regressions.
- Ignore vendored payload content under paths such as
html/,wp-content/, and similar application data trees unless the task is explicitly about the bundled sample app itself. - Nested third-party
README.mdfiles inside application payloads are not repository navigation docs.
- Pick a scenario from
scenario-index.yml. - Read the local
AGENTS.md. - Inspect the referenced
usage_scenario*.yml. - Open
compose.yml,Dockerfile*, and helper scripts named in the scenario. - Only descend into bundled app content if the scenario or task requires it.
If you want to check an example application if it is working run this:
cd /home/node/green-metrics-tool
python3 runner.py --uri /home/node/example-applications --filename stress/usage_scenario.yml` --dev-no-sleeps --dev-no-system-checksYou must replace stress/usage_scenario.yml with the path to the scenario you want to run.