7 changed files with 110 additions and 10 deletions
@ -1 +1,19 @@ |
|||||
# TODO Implement |
# TODO Implement |
||||
|
class DockerConfig: |
||||
|
def __init__(self, config={}) -> None: |
||||
|
pass |
||||
|
|
||||
|
def copy(self, job_config): |
||||
|
pass |
||||
|
|
||||
|
|
||||
|
# Supported tasks: |
||||
|
# - Build image |
||||
|
# - Push image to repo |
||||
|
# - Run arbitrary code in image |
||||
|
class DockerRunner(): |
||||
|
def __init__(self) -> None: |
||||
|
pass |
||||
|
|
||||
|
def run(self, job_spec): |
||||
|
pass |
||||
|
@ -0,0 +1,25 @@ |
|||||
|
# Schema |
||||
|
|
||||
|
``` |
||||
|
name: "" |
||||
|
type: docker |
||||
|
credentials: - global ...ish |
||||
|
user |
||||
|
pass |
||||
|
image: - to use, pull, run |
||||
|
credentials: |
||||
|
build: |
||||
|
dir: |
||||
|
dockerfile: |
||||
|
name: |
||||
|
args: |
||||
|
- name: |
||||
|
- value: |
||||
|
name: - pulls, current working image - mutually exclusive with build |
||||
|
command: - overwrite, not append |
||||
|
- ... |
||||
|
tag: |
||||
|
publish: true |
||||
|
name: - published name with repo and everything |
||||
|
credentials: |
||||
|
``` |
Loading…
Reference in new issue