DevOps for CODE-RADE - Build Container role
CODE-RADE Build Container
A somewhat OS-independent role to build CODE-RADE slaves for use in a continuous integration environment, using Ansible-Container.
Adds a CODE-RADE build container service to your Ansible Container project. To be used in conjunction with CODE-RADE Build Containers. For galaxy info, see meta/main.yml
Run the following commands
to install the service:
# Set the working directory to your Ansible Container project root
$ cd myproject
# Install the service
$ ansible-container install AAROC.code-rade-build-containers
Requirements
- Ansible Container
- An existing Ansible Container project. To create a project, simply run the following:
# Create an empty project directory $ mkdir myproject # Set the working directory to the new directory $ cd myproject # Initialize the project $ ansible-contiainer init
Role Variables
Variables are all in vars/main.yml
:
modules_path
- The OS-dependent path whereenvironment-modules
keeps its base configuration by default.modules
- CODE-RADE specific modulefilesci
anddeploy
which set up the build, test and deploy shells. These contain OS-specific variables, usinganisble_os_family
module_domains
- The domain-specific modulefile paths to which CODE-RADE can write application modulefiles. Contain :- astronomy
- bioinformatics
- compilers
- languages
- libraries
- physical_sciences
- hep
prerequisites
: OS-specific dependencies that need to be in the build environment in order to execute compilation and tests. Intentionally kept small.
Dependencies
None
License
Apache-2.0
Author Information
Bruce Becker | bbecker@csir.co.za | C.S.I.R. Meraka Institute
Africa-Arabia Regional Operations Centre
Citing
If you use this role in an academic or research context, please cite :
Bruce Becker. (2017). AAROC/CODE-RADE-container: DevOps for CODE-RADE - Build Container role [Data set]. Zenodo. http://doi.org/10.5281/zenodo.572278