brucellino.code_rade_testbench

CODE-RADE Testbench

Build Status Docker Repository on Quay

This is a role that uses containers to create a testbench image for running unit tests on the CODE-RADE repository's code. It builds on the standard CODE-RADE build container and adds extra language-specific tools.

The image is used in the first part of the testing process to run unit tests and linting on the code. It includes the following programming environments:

  • Python:

    • Versions 2.7 and 3.6 within a virtual environment
    • Packages:
      • pytest
      • mock
      • requests
  • Ruby: 2.0.0

    • Gems:
      • bundler
      • rspec

It also contains these testing tools:

  • ShellCheck

You can find more information in the defaults.

Requirements

No special requirements.

Role Variables

The variables for this role are defined in defaults.yml, and they list the packages needed for the image.

Dependencies

None.

Example Playbook

Here’s how to use this role in your playbook:

    - hosts: CI-initial-stage-servers
      roles:
         - { role: AAROC.CODE-RADE-testbench }

License

Apache-2.0

Author Information

See AUTHORS.md for contributor information.

Informazioni sul progetto

your description

Installa
ansible-galaxy install brucellino.code_rade_testbench
Licenza
apache-2.0
Download
5.2k
Proprietario
ex physicist. Infrastructure guy. Skeptic. African. Islander. dad.