Does drone support "--ipc host" option?


#1

Has issue when run a build in drone agent, from its error, I was pointed to run the container with below option by (https://github.com/cypress-io/cypress/issues/350)

--ipc host

But after added the option

     image: cypress/base:8
     commands:
       - npm run cypress:run
     ipc: host

Got below error:

This is the error from drone Cannot configure both commands and custom attributes [ipc]

I think Drone is a superset of docker-compose, if docker-compose supports this option, drone should, but seems it is not.

Anything I can do to support this option in drone pipeline?


#2

I think Drone is a superset of docker-compose, if docker-compose supports this option, drone should, but seems it is not.

drone does aim to be a superset of docker-compose syntax, but does not support all docker-compose fields or options yet. I add these fields on an as-needed basis. This particular field is not yet supported.


#3

Sure, thanks for the confirmation.


#4

Any new on this? It is planed to add this?


#5

Curious to know if there is a solution for --ipc=host.


#6

We got around this issue by using by setting shm_size: 4096000000 at the pipeline step

  test:
    image: cypress/browsers:chrome67
    shm_size: 4096000000
    commands:
      - yarn --pure-lockfile
      - yarn test