Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding si tests for jobs * pep8 cleanup * simplifying code based on pr feedback * fixing double entry issue. it appears to have worked but was coded incorrectly * reverting back
- Loading branch information
Showing
4 changed files
with
722 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ project/plugins/project/ | |
.scala_dependencies | ||
.worksheet | ||
.idea/ | ||
|
||
# python | ||
*.pyc |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
|
||
def job_no_schedule(id='pikachu', cmd='sleep 10000'): | ||
return { | ||
'id': id, | ||
'description': 'electrifying rodent', | ||
'run': { | ||
'cmd': cmd, | ||
'cpus': 0.01, | ||
'mem': 32, | ||
'disk': 0 | ||
} | ||
} | ||
|
||
|
||
def schedule(): | ||
return { | ||
"concurrencyPolicy": "ALLOW", | ||
"cron": "20 0 * * *", | ||
"enabled": True, | ||
"id": "nightly", | ||
"nextRunAt": "2016-07-26T00:20:00.000+0000", | ||
"startingDeadlineSeconds": 900, | ||
"timezone": "UTC" | ||
} |
Oops, something went wrong.