-
Notifications
You must be signed in to change notification settings - Fork 781
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: add delete and terminate for argo workflows (#1307)
* Add production token validation. add more output to delete process * add separate output for removing the schedule of a workflow, when applicable. * rename schedule deletion. use staticmethod instead of classmethod. error message cleanup. Document function behavior * add comments to delete behavior in argo cli. formatting fix * fix token instructions output * feature: add terminate for argo workflows (#1309) * introduce terminate command for argo-workflows * rename parameter, add check to terminate that workflow is not already finished. fix error output * changing error messages for argo workflow termination * change run_id from option to argument. refine terminate process output * Check for termination before issuing terminate on a workflow * move schedule deletion logic and comments into main delete method. * feat: refactor sensor deletion (#1343) * add sensor deletion as part of argo workflow deletion * rework token instructions output * add docstring and note about refactoring to validate_token * use validate_run_id for terminate
- Loading branch information
Showing
3 changed files
with
258 additions
and
21 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