Skip to content

refactor: move CI scripts and env files from .github to runner/#3397

Merged
mkoura merged 1 commit intomasterfrom
refactor_gh_runners
Apr 9, 2026
Merged

refactor: move CI scripts and env files from .github to runner/#3397
mkoura merged 1 commit intomasterfrom
refactor_gh_runners

Conversation

@mkoura
Copy link
Copy Markdown
Collaborator

@mkoura mkoura commented Apr 9, 2026

  • Moved all CI-related shell scripts and environment files from .github/ to runner/ for better separation of workflow configuration and reusable scripts.
  • Updated all workflow YAMLs, documentation, and scripts to reference the new runner/ paths.
  • No functional changes to the scripts themselves.

- Moved all CI-related shell scripts and environment files from `.github/` to `runner/` for better separation of workflow configuration and reusable scripts.
- Updated all workflow YAMLs, documentation, and scripts to reference the new `runner/` paths.
- No functional changes to the scripts themselves.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the repository’s CI/test execution layout by moving reusable CI shell scripts and environment files from .github/ into runner/, and updating workflows/docs to reference the new locations.

Changes:

  • Relocated CI runner scripts and env files into runner/ and updated script-to-script sourcing paths.
  • Updated GitHub Actions workflow YAMLs to reference runner/env_* and execute runner/*.sh.
  • Updated README/docs and helper scripts under scripts/ to call ./runner/regression.sh and related utilities.

Reviewed changes

Copilot reviewed 24 out of 43 changed files in this pull request and generated no comments.

Show a summary per file
File Description
testnets_bootstrap_template/README.md Update example invocation to use ./runner/regression.sh.
src_docs/source/test_results/nightly_system_tests.rst Update documentation link to runner/env_nightly_upgrade.
scripts/test_rollbacks.sh Switch regression script path to runner/regression.sh.
scripts/test_node_reconnect.sh Switch regression script path to runner/regression.sh.
scripts/test_block_production.sh Switch regression script path to runner/regression.sh.
scripts/setup_test_env.sh Source venv setup from runner/setup_venv.sh.
runner/stop_cluster_instances.sh New helper for stopping state-cluster instances.
runner/source_dbsync.sh New db-sync setup helper (moved/refactored under runner/).
runner/source_cardano_node.sh New cardano-node build helper under runner/.
runner/source_cardano_cli.sh New cardano-cli build helper under runner/.
runner/setup_venv.sh New venv setup helper under runner/.
runner/save_artifacts.sh New artifact archiving helper under runner/.
runner/runc.sh Update examples/usage to use ./runner/regression.sh.
runner/run_tests.sh New test-run dispatcher script under runner/.
runner/reqs_coverage.sh New requirements coverage helper under runner/.
runner/regression.sh Update sourced/executed helper paths from .github/* to runner/*.
runner/node_upgrade.sh Update sourced/executed helper paths from .github/* to runner/*.
runner/node_upgrade_pytest.sh Update results/coverage helper invocations to runner/*.
runner/load-gh-env.sh Update example usage comment to runner/*.
runner/grep_errors.sh New error-grep helper under runner/.
runner/env_regression_dbsync Moved env config to runner/.
runner/env_regression Moved env config to runner/.
runner/env_nightly_upgrade Moved env config to runner/.
runner/env_nightly_pv11 Moved env config to runner/.
runner/env_nightly_dbsync Moved env config to runner/.
runner/env_nightly_cli Moved env config to runner/.
runner/env_nightly Moved env config to runner/.
runner/entrypoint.sh Update example usage to ./runner/regression.sh.
runner/create_results.sh New results archiving helper under runner/.
runner/cli_coverage.sh New CLI coverage helper under runner/.
README.md Update user-facing commands/examples from .github/* to runner/*.
.github/workflows/upgrade.yaml Update env-path input to runner/env_upgrade.
.github/workflows/upgrade_reusable.yaml Run ./runner/node_upgrade.sh instead of .github/*.
.github/workflows/regression.yaml Update env-path input to runner/env_regression.
.github/workflows/regression-dbsync.yaml Update env-path input to runner/env_regression_dbsync.
.github/workflows/regression_reusable.yaml Run runner/regression.sh instead of .github/*.
.github/workflows/nix_smoke.yaml Update invocation to ./runner/regression.sh.
.github/workflows/nightly.yaml Update env-path input to runner/env_nightly.
.github/workflows/nightly_upgrade.yaml Update env-path input to runner/env_nightly_upgrade.
.github/workflows/nightly_pv11.yaml Update env-path input to runner/env_nightly_pv11.
.github/workflows/nightly_dbsync.yaml Update env-path input to runner/env_nightly_dbsync.
.github/workflows/nightly_cli.yaml Update env-path input to runner/env_nightly_cli.
Comments suppressed due to low confidence (1)

runner/regression.sh:297

  • This block assumes reports are always under .reports, but runner/run_tests.sh supports a configurable REPORTS_DIR. If REPORTS_DIR is overridden, the HTML/JUnit move step won’t pick up the generated reports. Consider using ${REPORTS_DIR:-.reports} here (and in any downstream archiving scripts) to avoid path mismatches.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mkoura mkoura merged commit 93fcff4 into master Apr 9, 2026
6 checks passed
@mkoura mkoura deleted the refactor_gh_runners branch April 9, 2026 10:07
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