Skip to content

A role to install computational codes from Conda

License

Notifications You must be signed in to change notification settings

marvel-nccr/ansible-role-conda-codes

Repository files navigation

CI Ansible Role Release

Ansible Role: marvel-nccr.conda-codes

An Ansible role that installs computational codes from Conda

Installation

ansible-galaxy install marvel-nccr.conda-codes

Role Variables

See defaults/main.yml

Example Playbook

- hosts: servers
  roles:
  - role: marvel-nccr.conda-codes

Development and testing

This role uses Molecule and Docker for tests.

After installing Docker:

Clone the repository into a package named marvel-nccr.conda-codes (the folder must be named the same as the Ansible Galaxy name)

git clone https://github.com/marvel-nccr/ansible-role-conda-codes marvel-nccr.conda-codes
cd marvel-nccr.conda-codes

Then run:

pip install -r requirements.txt  # Installs molecule
molecule test  # runs tests

or use tox (see tox.ini):

pip install tox
tox

Code style

Code style is formatted and linted with pre-commit.

pip install pre-commit
pre-commit run -all

Deployment

Deployment to Ansible Galaxy is automated via GitHub Actions. Simply tag a release vX.Y.Z to initiate the CI and release workflow. Note, the release will only complete if the CI tests pass.

License

MIT

Contact

Please direct inquiries regarding Quantum Mobile and associated ansible roles to the AiiDA mailinglist.

About

A role to install computational codes from Conda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published