Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Running cwltool in bitbucket pipelines leads to --mounts is not allowed

tristan_vanneste
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2024

I'm trying to implement tests for my cwl code in bitbucket pipelines. Therefore I need to run the cwl code using:

cwltool main.cwl inputs.yml

 Although this works locally, if you run this in the bitbucket pipeline you get the following error: 

 

docker: Error response from daemon: authorization denied by plugin pipelines: --mounts is not allowed.

I know cwltool uses the docker --mount option but I cannot find an alternative. Is there a way to fix this on the side of Bitbucket pipelines? 

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2024

Hi Tristan,

Unfortunately, there is no way to enable the docker mount option as this is disabled for security reasons. There are no plans to make this possible in Pipelines - you can see the rejection from our developers for this as a feature in the ticket below:

We do have an open feature request to allow this in Pipelines Runners, but we do not have an ETA as to whether it will be accepted/implemented. You may follow this by Watching it and Vote for it to improve its visibility with regard to customer demand:

Cheers!

- Ben (Bitbucket Cloud Support)

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events