Skip to main content

Molecule GleSYS Plugin :: run molecule tests in GleSYS Cloud

Project description

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 <role_name> -d molecule-glesys

Configure <role_name>/molecule/default/molecule.yml with required parameters.
Sample config:

dependency:
  name: galaxy
  options:
    requirements-file: molecule/default/collections.yml
driver:
  name: molecule-glesys
  vm_username: molecule

platforms:
  - 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: 20

provisioner:
  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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molecule_glesys-0.6.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

molecule_glesys-0.6-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file molecule_glesys-0.6.tar.gz.

File metadata

  • Download URL: molecule_glesys-0.6.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for molecule_glesys-0.6.tar.gz
Algorithm Hash digest
SHA256 910b4542943ed11823ced638a57e0e2890920094ee3e2e38e5d70f297072fc15
MD5 2c6f1356fdfc137f4801f9576eea1dc3
BLAKE2b-256 065035d7f1450951629a7f05d45de9f215f67955dc36a8606f3bab5482242793

See more details on using hashes here.

File details

Details for the file molecule_glesys-0.6-py3-none-any.whl.

File metadata

  • Download URL: molecule_glesys-0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for molecule_glesys-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 46451b58e5d8a909c8946438fb9588744cff2f80d98a822e46d87e5760d69334
MD5 480d63cacc707b13179ef73434943bc3
BLAKE2b-256 f8620c1e701577ea37f3cbadb7114ff9598283cc5d4392c846f570e99b6f1258

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page