Skip to content

This repository contains a poetry project to handle dependencies for a molecule test environment.

Notifications You must be signed in to change notification settings

NeoPlays/molecule-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Molecule Test Environment

This repository contains a poetry project to handle dependencies for a molecule test environment.

The current pyproject.toml file is configured to suit the ethereum-node repository.

Usage

Ethereum Node Repository

If you have docker installed, this is all you need if you want to run molecule tests for the ethereum-node repository.

poetry shell    # Activate the virtual environment
poetry install  # Install dependencies
ansible-galaxy collection install community.docker -p .venv/lib/python3.10/site-packages/ansible_collections

If you run tests on a hetzner cloud server, you need to set the HCLOUD_TOKEN environment variable.

export HCLOUD_TOKEN=<your_hcloud_token>

Your Project

Manage your dependencies with the following commands:

poetry add <package>    # Add a package to the project
poetry remove <package> # Remove a package from the project

If your project is dependent on an ansible collection, you can install it with the following command:

ansible-galaxy collection install <ansible-collection> -p .venv/lib/python3.10/site-packages/ansible_collections

About

This repository contains a poetry project to handle dependencies for a molecule test environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published