Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access pipeline working in Ridgeback #74

Merged
merged 3 commits into from
Jun 17, 2020
Merged

Conversation

aef-
Copy link
Collaborator

@aef- aef- commented May 1, 2020

Working version of the ACCESS pipeline in Ridgeback. See comments...

Because ACCESS pipeline is a private repo, and our Git version on Juno is a little outdated, we have to pass the ssh_key when we start the server, it looks something like:

GIT_SSH_COMMAND="ssh -i ~/ssh_key/id_rsa -F /dev/null" make runserver

@aef- aef- added the help wanted Extra attention is needed label May 1, 2020
@aef- aef- requested review from nikhil and sivkovic May 1, 2020 16:29
command_line = [path, 'toil-cwl-runner', '--logFile', 'toil_log.log', '--batchSystem','lsf','--disable-user-provenance','--logLevel', 'DEBUG','--disable-host-provenance','--stats', '--debug', '--cleanWorkDir', 'always', '--disableCaching', '--preserve-environment', 'PATH', 'TMPDIR', 'TOIL_LSF_ARGS', 'SINGULARITY_PULLDIR', 'SINGULARITY_CACHEDIR', 'PWD', '_JAVA_OPTIONS', 'PYTHONPATH', 'TEMP', '--defaultMemory', '10G', '--realTimeLogging', '--jobStore', self.job_store_dir, '--tmpdir-prefix', self.job_tmp_dir, '--workDir', self.job_work_dir, '--outdir', self.job_outputs_dir]
"""
End ACCESS-specific code
"""
Copy link
Collaborator Author

@aef- aef- May 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no condition, wanted to get feedback as to the preferred approach -- whether I can just check the string of the inputs or filepaths rather than pass a flag in the request param to check whether the job is ACCESS or not. I'm also curious if there's a preference on where to put the bin folders we're passing to PATH.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the cleanest way to implement the condition would be to use the github.repository value using self.app to check for the ACCESS pipeline. This will link the pipeline github repository with that function in ridgeback. I think checking the string of the inputs might cause unintentional collisions.

@aef- aef- removed the help wanted Extra attention is needed label May 15, 2020
@nikhil nikhil merged commit 79616f9 into develop Jun 17, 2020
@nikhil nikhil deleted the aef-/access-pipeline branch June 17, 2020 21:11
@nikhil nikhil mentioned this pull request Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants