FOSSASIA

coala: Allow extra bears to be provided to docker

coala provides a Docker image that has coala (coala-analyzer.org) and all official bears and dependencies installed so it can be used for any code analysis supported by coala.

Instructions on how to use this image with Continuous Integration systems like GitLab CI and Travis CI are available in the user manual.

The Dockerfile has an ENTRYPOINT that runs coala --ci in the typical fashion.

It would be useful for the docker image to load extra bears provided by the CI image to the coala image via a mounted volume. This does not need to include loading dependencies of the bear which may be missing from the coala image, however that would be possible by reading the PackageRequirement metadata of each extra bear.

The solution for this issue must include a test, with a small dummy bear which runs on a file provided by the CI image, and verify that the extra bear ran correctly.

Task tags

  • opensuse
  • docker
  • coala
  • ci
  • bash

Students who completed this task

yuki_is_bored

Task type

  • code Code
  • assessment Outreach / Research
  • done_all Quality Assurance
close

2016