-
Notifications
You must be signed in to change notification settings - Fork 643
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
Workflow publish directive for channels can not take empty relative path #5371
Comments
You can configure the relative path in the output block: workflow {
ch = Channel.fromPath('*')
publish:
ch >> 'foo'
}
output {
directory 'gs://my-cloud-path'
'foo' {
path '.'
}
} It works for both local and remote paths |
It's the same issue. I think paths with
|
Good catch, I thought these paths were being normalized but I guess not. I'll make a note to address this in #5185 |
Thank you! I will leave this issue open, but please feel free to close if you are tracking somewhere else. |
Bug report
Expected behavior and actual behavior
When using the new output feature, the root output directory is specified separately, and then each channel takes a relative path. There is currently no way to specify that the files should be written to the output directory directly. One could use '.', but that is a POSIX specific syntax and not valid syntax for cloud storage URLs like Google Cloud Storage.
I think this is just a side-effect of using the truthy-ness of the values to check whether to publish or not.
Steps to reproduce the problem
Program output
Program completes execution without the files being copied.
Environment
Additional context
The text was updated successfully, but these errors were encountered: