Skip to content

Commit

Permalink
fix(jsonschema): add platform as a product for virtual devices (#338)
Browse files Browse the repository at this point in the history
Users can now set platform as a product type when they create virtual
devices using device manifests.

Wrike Ticket: https://www.wrike.com/open.htm?id=1460556021
  • Loading branch information
pallabpain authored Jul 26, 2024
1 parent 6e17408 commit 6eb50f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion riocli/apply/manifests/device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
rosDistro: "melodic" # Options: ["kinetic", "melodic" (default), "noetic"]
virtual:
enabled: True # Required
product: "sootballs" # Required Options: ["sootballs", "flaptter", "oks"]
product: "sootballs" # Required Options: ["sootballs", "flaptter", "oks", "platform"]
arch: "amd64" # Options: ["amd64" (default), "arm64" ]
os: "ubuntu" # Options: ["ubuntu" (default), "debian" ]
codename: "focal" # Options: ["bionic", "focal" (default), "jammy", "bullseye"]
Expand Down
1 change: 1 addition & 0 deletions riocli/jsonschema/schemas/device-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ definitions:
- sootballs
- flaptter
- oks
- platform
arch:
type: string
enum:
Expand Down

0 comments on commit 6eb50f0

Please sign in to comment.