rhinstaller / kickstart-tests

Kickstart-driven tests for the Anaconda installer
53 stars 34 forks source link

/test-iso workflow #1209

Open rvykydal opened 1 month ago

rvykydal commented 1 month ago

Create a workflow that will allow to run tests on given iso:

/test-iso --iso <BOOT.ISO> --platform rhel10 --testtype network

The test would run on a PR comment. Would support test selection same as tests on anaconda PR. The repositories to be used for the test can be modified in the PR, for example for --platform rhel10: https://github.com/rhinstaller/kickstart-tests/blob/master/scripts/defaults-rhel10.sh

(Optionally could support also --dry-run option)

Tracked in https://issues.redhat.com/browse/INSTALLER-3971

jkonecny12 commented 1 month ago

Hi @rvykydal, I wonder how this should work? How would you specify boot.iso for the GitHub actions, would it take HTTP link or something like that? Could you please elaborate a bit more about implementation of this?

rvykydal commented 1 month ago

Hi @rvykydal, I wonder how this should work? How would you specify boot.iso for the GitHub actions, would it take HTTP link or something like that? Could you please elaborate a bit more about implementation of this?

Yes, it would be http url. The action would download it in a way similar to https://github.com/rhinstaller/kickstart-tests/blob/c4499480f1be48e6e8b534a83d333767f724e127/.github/workflows/test-os-variants.yml#L195