-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: test of adding Gitlab provider #27
Conversation
Signed-off-by: vsoch <[email protected]>
I always struggle with the title 😆 |
Thanks @vsoch! the deploy workflow command worked but the resulting I am getting the following error when I try running the pipeline using
When I try downloading the Snakefile from |
I can't see that file, but I'd suspect it's the html view and not raw? Does GitLab have an equivalent raw view like GitHub? If you can find the path to the "raw file" could you share with me? We will need to make sure that is represented in the provider (right now it matches GitHub).
I can fix the directive to be gitlab but I think we might need to add it as acceptable syntax for a snakefile - I can look into that over this weekend. |
It does look like there is support for a GitlabFile (if I'm looking at the correct thing) but it might be new - https://github.com/snakemake/snakemake/blob/6e2ecd26e48eb64fa04c9c38dde591857e03c722/snakemake/sourcecache.py#L229 I suspect there is support for gitlab but we are just grabbing the wrong "raw url" so if you can send me that it would be great! |
Here is the file I get when I use
|
Ah I see - and I just rendered this locally (without style which I didn't download files for) and indeed the request is not authenticated. I don't think wget can support beyond a basic |
we should have some discussion about whether non-traditional Snakefile paths are allowed (e.g., in the root as I have added) and if so, what additional changes are needed. Also, if th config directory does not exist should we really add it? It will generally break the workflow. And finally, how do we handle this only working for workflows that have all assets available remotely? E.g., what about local data directories? Signed-off-by: vsoch <[email protected]>
Signed-off-by: vsoch <[email protected]>
okay I've done quite a bit of refactor with respect to the deployment logic: 862f311 And I think the main functionality should mostly work for GitLab and local, however I think we have some things to discuss!
|
Signed-off-by: vsoch <[email protected]>
Hi @vsoch and @nate-d-olson,
|
For 3. I think I had tested a workflow that was missing data (and it wasn't retrieved) but I can't remember it was many months ago! @nate-d-olson do you want to give it another try, or is there a workflow or way to test this out so @johanneskoester can sign and approve? I don't have a good sense if it does the right thing because I haven't used snakedeploy a ton, so I would need your guidance about what to tweak in this PR. We could also add and wait for others to try and submit feedback. I am good with whatever y'all want to do, I'll be here when you need / want me :) |
@vsoch, let's just add it. |
This will be probably a back and forth between myself and @nate-d-olson to test his particular issue #26. I think the first logical thing to try is to add a GitLab provider (the PR here) and then go from there!
@nate-d-olson if you'd care to test out this branch and report back, we can do exactly that :)
Signed-off-by: vsoch [email protected]