-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mechanism to have contrib packages declare configs.
- Loading branch information
Showing
15 changed files
with
354 additions
and
170 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
Function returning the config defaults of the arc package. | ||
""" | ||
|
||
|
||
def config_defaults(default_config): | ||
return { | ||
"job": { | ||
"arc_job_file_dir": None, | ||
"arc_job_file_dir_mkdtemp": None, | ||
"arc_job_file_dir_cleanup": None, | ||
"arc_chunk_size_submit": 25, | ||
"arc_chunk_size_cancel": 25, | ||
"arc_chunk_size_cleanup": 25, | ||
"arc_chunk_size_query": 20, | ||
}, | ||
} |
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,23 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
Function returning the config defaults of the cms package. | ||
""" | ||
|
||
|
||
def config_defaults(default_config): | ||
return { | ||
"job": { | ||
"crab_job_file_dir": None, | ||
"crab_job_file_dir_cleanup": False, | ||
"crab_sandbox_name": "CMSSW_10_6_30", | ||
"crab_password_file": None, | ||
}, | ||
"cmssw_sandbox": { | ||
"stagein_dir_name": "stagein", | ||
"stageout_dir_name": "stageout", | ||
"law_executable": "law", | ||
"login": False, | ||
}, | ||
"cmssw_sandbox_env": {}, | ||
} |
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,22 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
Function returning the config defaults of the docker package. | ||
""" | ||
|
||
|
||
def config_defaults(default_config): | ||
return { | ||
"docker_sandbox": { | ||
"stagein_dir_name": "stagein", | ||
"stageout_dir_name": "stageout", | ||
"law_executable": "law", | ||
"uid": None, | ||
"gid": None, | ||
"forward_dir": "/law_forward", | ||
"python_dir": "py", | ||
"bin_dir": "bin", | ||
}, | ||
"docker_sandbox_env": {}, | ||
"docker_sandbox_volumes": {}, | ||
} |
Oops, something went wrong.