-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Docker and Kubernetes operators execute method resolution (#849)
## Description This was a bug reported by users using the kuberentes execution method where the pods wouldn't run any commands. With how the base operators inherited from their parent classes, the `execute` method for the operator was either the `DockerOperator.execute` or `KubernetesPodOperator.execute` skipping the `build_and_run_cmd` required to setup before containers were run. As part of this fix, I added tests to check that when the `execute` method is invoked that the docker/kube args are first set before the executor pod is executed. ## Related Issue(s) closes #848
- Loading branch information
Showing
4 changed files
with
75 additions
and
18 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