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.7.tar.gz (6.7 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.7-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: molecule_glesys-0.7.tar.gz
  • Upload date:
  • Size: 6.7 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.7.tar.gz
Algorithm Hash digest
SHA256 04ea6990fdf311567624b3e3881819dee0f1de821be75e47bc1e1492fa2c218d
MD5 d943666044d281b9a4125fc6fbd0f9ce
BLAKE2b-256 1189dd8110008271e7c24a1ff0a64679cece2f057119cd906a1f889ed094be0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molecule_glesys-0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 901a00db566f5e7dd3245c1e317e0f7214d52a439ba72797e23b735ae5897a56
MD5 184ed78a9eb420855e6abd1795686fb2
BLAKE2b-256 8412113c657e57aca344e3a719d88855704b4737f85cc0412ec405f614d43e12

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