forked from tinkerbell/tink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a new rpc call workflow.GetWorkflowContextList to be used by bo…
…ots (tinkerbell#237) ## Description As the worker starts, Boots checks [if there is a workflow](https://github.com/tinkerbell/boots/blob/master/packet/endpoints.go#L48) defined for that worker. If yes, it will continue to PXE and it will not otherwise. (more context [here](tinkerbell/smee#50)). The PR introduces a new RPC that can be used by Boots to get the workflow contexts without having to maintain a gRPC stream. ## Why is this needed Recently there have been [changes](tinkerbell#222) in Tink, to allow a worker to maintain a gRPC stream with the server to get the workflows. The same RPC was being by boots. ## How Has This Been Tested? Still a WIP. ## How are existing users impacted? What migration steps/scripts do we need? No direct impact on users. ## Checklist: I have: - [ ] updated the documentation and/or roadmap (if required) - [ ] added unit or e2e tests - [ ] provided instructions on how to upgrade
- Loading branch information
Showing
7 changed files
with
1,405 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.