Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 1.44 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.44 KB

Circle CI Codacy Badge

Circle CI tests data processor

This is Circle CI test results data processor for GAIA analytics. It is based on "gaiaadm/result-processing" Docker image. It adds Python 3.4 and this data processor. It processes data format from https://circleci.com/api/v1/project/{username}/{project}/{buildNumber}/tests

Building

Execute:

  • docker build -t gaiaadm/circleci-tests-processor .

Running

Execute:

  • docker run -d -e AMQ_USER="admin" -e AMQ_PASSWORD="mypass" -v "/tmp:/upload" --link rabbitmq:amqserver --link mgs:metricsgw --name circleci-tests-processor gaiaadm/circleci-tests-processor

Note that for development it is recommended to mount a local directory containing result processor directory to /src/processors or mount the processor directory into /src/processors/{processorName}

Executing tests:

  • nosetests --with-xunit or
  • python -m unittest discover -s tests -v