Skip to content
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

[v2] steps as keyed objects #17

Closed
NeoTheThird opened this issue Apr 3, 2020 · 0 comments · Fixed by #51
Closed

[v2] steps as keyed objects #17

NeoTheThird opened this issue Apr 3, 2020 · 0 comments · Fixed by #51
Labels

Comments

@NeoTheThird
Copy link
Member

NeoTheThird commented Apr 3, 2020

For v2, we might thing about implementing steps as keyed objects, eg:

    steps:
      - adb:reboot:
          to_state: "bootloader"
        fallback:
          - user_action:
              action: "bootloader"
        condition:
          var: "bootstrap"
          value: true
      - fastboot:reboot_bootloader:
      - fastboot:set_active:
          slot: "b"

Might make schema validation and documentation easier.

@NeoTheThird NeoTheThird added the rfc label Apr 3, 2020
@NeoTheThird NeoTheThird linked a pull request Nov 24, 2020 that will close this issue
NeoTheThird added a commit that referenced this issue Dec 3, 2020
* Begin work on v2

* Implement more previously planned changes

* Allow experimental serving

* Document schema in yml

* Improve documentation

* Implement steps as keyed objects, resolves #17

* Remove group from steps where it does not belong

* properly ensure only one of each steps is defined

* Validate hashing algorithms

* rename partition type

* Implement logic

* Implement flexible oem and flashing unlock instructions

* namespacing

* Mark action as required

* also build json for the api

* implement eula

* Remove group from fastboot:reboot

* Sort index

* Typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant