Skip to content

Commit

Permalink
Merge pull request #7 from optimizely/gp-failed-submit
Browse files Browse the repository at this point in the history
Gp failed submit
  • Loading branch information
gphillips8frw authored Jan 11, 2022
2 parents 1bef513 + 0078cd1 commit 2263cfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions kubeluigi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def run(self):
self.__logger.info("Submitting Kubernetes Job: " + self.uu_name)
try:
run_and_track_job(self.kubernetes_client, job)
except:
logger.warning("Luigi has failed to submit the job, starting cleaning")
finally:
clean_job_resources(self.kubernetes_client, job)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def run_tests(self):
sys.exit(pytest.main(self.test_args))


version = '1.0.4'
version = '1.0.5'

setup(name='kubeluigi',
version=version,
Expand Down

0 comments on commit 2263cfd

Please sign in to comment.