Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add container goal definition and working schedulers for Kubernetes jobs and Docker CLI. Use first container as goal container, which means it is the only one waited on and its status sets the goal status. Will throw error if no containers defined. It will do its best to make the goal and fulfillment names unique. Co-opt KubernetesGoalScheduler for k8s container goal implementation, extracting some of its functionality into functions that can be used to define the init container. Collect logs from k8s into goal progress log, adding a delay because log delivery from the k8s API can occur after the container terminates. Add tests for some scheduler and environment variable functionality. Add CacheEntry interface and do some minor clean up to caching interface. Correct goal caching restore interface to only require options it uses. Clean up cache tests. Properly handle project directory and cache use by copying its contents to a location usable by container, mounting that location in the container, setting the working directory in the first container to that location, and copying the contents back after the containers exit. Closes #162
- Loading branch information
David Dooling
committed
Jun 21, 2019
1 parent
8f058a5
commit 387f7ab
Showing
19 changed files
with
3,151 additions
and
168 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
Oops, something went wrong.