Skip to content

[RORDEV-1229] Refactor runner CLI flags and add manual workflow dispatch#37

Open
coutoPL wants to merge 14 commits into
masterfrom
feature/RORDEV-1229
Open

[RORDEV-1229] Refactor runner CLI flags and add manual workflow dispatch#37
coutoPL wants to merge 14 commits into
masterfrom
feature/RORDEV-1229

Conversation

@coutoPL
Copy link
Copy Markdown
Collaborator

@coutoPL coutoPL commented Mar 24, 2025

What

Refactors the test runner CLI to resolve flag naming conflicts and adds manual trigger support for E2E runs via GitHub Actions UI.

Changes

  • Rename main.shrunner.sh
  • Split the old --mode flag into two distinct flags:
    • --run <e2e|bootstrap> — what to run (previously --mode)
    • --mode <prod|dev> — which image registry to use (previously --dev)
  • Apply the same --mode change to elk-ror/start.sh and eck-ror/start.sh
  • Add workflow_dispatch inputs to CI so tests can be triggered manually with custom ELK version, env, ROR versions, and mode
  • Add manual-e2e-tests job that runs on manual workflow triggers
  • Pin Node.js to 24.11.0 via .nvmrc; run-tests.sh now auto-selects the version via nvm or validates it
  • Simplify the ES healthcheck in base.docker-compose.yml
    Update README examples to reflect the new CLI

Why

The old --mode flag was ambiguous — it controlled run type (e2e/bootstrap) while a separate --dev flag controlled image source. The new flags make intent explicit and consistent across all scripts.

Summary by CodeRabbit

  • New Features

    • E2E runs can be manually parameterized for Elasticsearch/Kibana versions and environment mode; new --mode option selects prod/dev images.
  • Improvements

    • Test runner enforces Node 24.11.0 and disables GPU for stability.
    • More reliable Elasticsearch healthchecks.
    • Test invocation standardized to the new runner workflow.
  • Documentation

    • Updated E2E instructions and examples.
  • Chores

    • Updated test startup/launcher wiring and dev environment startup behavior.

@coutoPL coutoPL changed the base branch from master to develop March 24, 2025 19:34
@coderabbitai

This comment was marked as outdated.

@coutoPL coutoPL changed the title [RORDEV-1229] manually triggered workflow dispatch [RORDEV-1229] Refactor runner CLI flags and add manual workflow dispatch Jun 3, 2026
@coutoPL coutoPL changed the base branch from develop to master June 3, 2026 13:08
@coutoPL coutoPL requested a review from Dzuming June 3, 2026 13:20
coderabbitai[bot]

This comment was marked as resolved.

Copy link
Copy Markdown
Collaborator

@Dzuming Dzuming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants