Loading gitlabci_local/runner.py +7 −0 Changes for gitlabci_local/runner.py: 7 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ import tempfile # Components from .main import NAME, term from .puller import pull # Launcher def launcher(options, jobs): Loading Loading @@ -152,6 +153,12 @@ def runner(options, job_data, last_result): # Container execution if image not in ['local']: # Image validation try: client.images.get(image) except docker.errors.ImageNotFound: pull(image) # Launch container container = client.containers.run( image, command=scriptFile.name, detach=True, entrypoint=entrypoint, Loading Loading
gitlabci_local/runner.py +7 −0 Changes for gitlabci_local/runner.py: 7 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ import tempfile # Components from .main import NAME, term from .puller import pull # Launcher def launcher(options, jobs): Loading Loading @@ -152,6 +153,12 @@ def runner(options, job_data, last_result): # Container execution if image not in ['local']: # Image validation try: client.images.get(image) except docker.errors.ImageNotFound: pull(image) # Launch container container = client.containers.run( image, command=scriptFile.name, detach=True, entrypoint=entrypoint, Loading