Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glesys/molecule-driver
https://github.com/glesys/molecule-driver
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/glesys/molecule-driver
- Owner: glesys
- License: mit
- Created: 2022-08-24T14:43:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-25T07:01:43.000Z (7 months ago)
- Last Synced: 2024-09-28T20:02:07.813Z (4 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Molecule GleSYS Plugin
Molecule driver to spin up and run tests in GleSYS Cloud servers for easy testing
# Installation and Usage
```
pip install molecule-glesys
```Create a new role with molecule using this driver:
```
molecule init role -d molecule-glesys
```Configure `/molecule/default/molecule.yml` with required parameters.
Sample config:```yaml
dependency:
name: galaxy
options:
requirements-file: molecule/default/collections.yml
driver:
name: molecule-glesys
vm_username: moleculeplatforms:
- name: "demo.demo-ubuntu-20-04"
template: Ubuntu 20.04 LTS (Focal Fossa)
description: "ubuntu-20-04"
datacenter: "Falkenberg"
platform: KVM
cpus: 2
memory: 2048
disk: 20- name: "demo.demo-debian-11"
template: Debian 11 (Bullseye)
description: "debian-11"
datacenter: "Falkenberg"
platform: KVM
cpus: 2
memory: 2048
disk: 20provisioner:
name: ansible
verifier:
name: ansible
```# API Authentication
Use the environment variables `GLESYS_PROJECT` and `GLESYS_APIKEY` to authenticate with the GleSYS API.
```
export GLESYS_PROJECT=CL12345
export GLESYS_APIKEY=abc123foo9876
```# License
The [MIT](LICENSE) License.