Skip to content

Conversation

@rical
Copy link
Contributor

@rical rical commented Nov 25, 2025

Description

Enhances workflows to support customization by upstream callers (Spin):

  • Add branch input parameter to allow specifying a custom branch for build and test workflows
  • Add pre-test-script input parameter to enable running arbitrary setup code before tests execute

These changes enable upstream projects to better integrate with and customize the CI pipeline for their specific needs.

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

This allows a caller (Spin) to run arbitrary code before test starts.

Signed-off-by: Richard Alpe <richard@bit42.se>
Signed-off-by: Richard Alpe <richard@bit42.se>
Copy link
Contributor

@troglobit troglobit left a comment

Choose a reason for hiding this comment

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

Very nice!

@troglobit troglobit merged commit 9386f00 into main Nov 25, 2025
6 checks passed
@troglobit troglobit deleted the ci-improvements branch November 25, 2025 16:50
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.

3 participants