From 8e06794f3cc6c151273bf356e480dd559dc40c6d Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 6 Jan 2021 12:17:20 +0100 Subject: [PATCH] Document volume handling --- CHANGELOG.md | 3 ++- README.md | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a83ad6..dfe6a70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Decolonise Git praxis and use the main branch as default - Support Python 3.9. - Support Molecule 3.2.1 -- Decolonise Git praxis and use the main branch as default +- Add volume creation and clean up handling ## [0.2.2] - 2020-06-15 diff --git a/README.md b/README.md index 6165c30..05b3025 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,21 @@ $ export MOLECULE_NO_LOG=False # not so verbose, helpful $ export MOLECULE_DEBUG=True # very verbose, last ditch effort ``` +## Vokume Handling + +It is possible to have the driver manage volumes during the test run. + +You can add the following stanza to your Molecule configuration to have +Molecule create this volume for the managed VPS. This volume will be cleaned up +after use. + +```yaml +volumes: + name: "molecule-hetznercloud-volume-${INSTANCE_UUID}" + size: 11 + create: true +``` + ## Only use `molecule.yml` for configuration It is being worked on that it is possible to remove all the files except the