Deploy to all devices from github actions

Is it possible to deploy to all devices with the create deployment github action? Otherwise, I would like to request that feature :slight_smile:

Hi @mikkelti,

Thanks for reaching out! Deploying to all devices is not supported right now, but should be reasonably easy to add. The key is passing a NewDeployment object with the all_devices property set true to the create deployments endpoint.

Happy to help if you have questions, or want to submit a PR.

Greetz,
Josef

1 Like

You can put all devices in one group, and do a deployment to that group.

Deploying to all devices would not work for all those, who have more than one deviceType - Like us :smiley:

@mosci Hm, what do you mean by “not work with more than one device type”? As long as the artifact is compatible with all required ones, deploying to all should work straight away. If it matches the use case is a different question, obviously.

Greetz,
Josef

fair point …
by ‘all’ I was thinking of ‘all’ … not “all from same deviceType”
:handshake:

@mosci yeah me too, deploying to literally all devices. But as long as the release one wants to deploy (and a release can have multiple artifacts, which can in turn have multiple compatible device_types), matches the whole fleet, it is possible - albeit probably not a standard use case for fleets of non-trivial sizes.