ktomk / pipelines

Pipelines - Run Bitbucket Pipelines Wherever They Dock
https://ktomk.github.io/pipelines/
GNU Affero General Public License v3.0
109 stars 10 forks source link

'image' required in service definition #10

Closed ortizman closed 3 years ago

ortizman commented 3 years ago

This failure occurs when I have defined 'docker' as a service in order to increase the RAM size.

bitbucket-pipelines.yml

....
definitions: 
  services:
    docker:
      memory: 3072

....

Error

    container......: pipelines-1.Format-Validation.default.pts_objects
pipelines: file parse error: 'image' required in service definition
ktomk commented 3 years ago

I see. This is an error and an unneeded one. thanks for the report. For the local run, the memory requirements would not be effective, so for local testing, you don't need this (the docker service is always available).

This should be easy to patch with the example at hand.

ktomk commented 3 years ago

@ortizman next release should have a fix. a test-build has temporarily available some artifacts - regardless of which configuration the phar was build, they are all identical, so you can pick any of them, e.g. phar-build-Linux-7.4 if interested.

ktomk commented 3 years ago

Version 0.0.54 has been released in the hope to address this issue.

If there is further feedback, please feel free to continue on this issue here, e.g. a regression or some problem with the fix or just confirmation the fix does it for you.

Thanks again for bringing this issue to our attention.