-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github action for reserving multiple machines with multi-device agent #415
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/CERTTF-457.
|
@marosg42 could you describe the output you'd expect from testflinger-cli exactly, please? |
Similar to single job action which has
Action for multiple devices will output JSON list of job ids and a JSON list of device-ips. |
@marosg42 Please take a look at this draft PR. It comes with a test example on how to use the new action and shows what the output looks like. On the latter: the structure of the output is what I'd most like some feedback on: in your original message you described the output as two lists containing job IDs and machine IPs whereas I opted for a JSON string that maps job IDs to machine IPs. Let me know if that is convenient for you to use in your workflows or if you'd like some variation of it -- it's really easy to re-structure the output, I think the main point is the action is able to retrieve the required data. Also, note that this action is only for polling the parent multi-device job and retrieving the data of the child jobs. It is not for submitting the job, as the original request describes, since that can be accomplished using the existing |
GH action to reserve one machine works great.
However there is also multi device agent which allows to reserve several machines at once and they behave as a group, either all are reserved or job fails.
Input for the action will be valid Testflinger job in yaml file.
Output will be two lists
To avoid complexity action can require that job always contains reservation data and never test or other than provisioning data
The text was updated successfully, but these errors were encountered: