Compare commits

...

2 Commits

Author SHA1 Message Date
decentral1se 0dd5032df9
Mark release, point to change log
continuous-integration/drone/push Build is passing Details
2021-09-13 11:31:20 +02:00
Sorin Sbarnea 74540ee975
Remove deprecated molecule cache (#35)
continuous-integration/drone/tag Build is passing Details
This makes the driver version with future versions of molecule,
which will no longer have the cache in them. Same kind of change
was already merged in two other drivers podman and docker.

Related: https://github.com/ansible-community/molecule/pull/3180
2021-09-02 12:49:08 +01:00
3 changed files with 8 additions and 2 deletions

View File

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [1.3.0] - 2021-09-02
- See [here](https://github.com/ansible-community/molecule-hetznercloud/releases/tag/1.3.0)
## [1.2.1] - 2021-06-02
### Fixed

View File

@ -1,8 +1,9 @@
import os
from ansible_compat.ports import cache
from molecule import logger, util
from molecule.api import Driver
from molecule.util import lru_cache, sysexit_with_message
from molecule.util import sysexit_with_message
log = logger.get_logger(__name__)
@ -75,7 +76,7 @@ class HetznerCloud(Driver):
item for item in instance_config_dict if item["instance"] == instance_name
)
@lru_cache()
@cache
def sanity_checks(self):
"""Hetzner Cloud driver sanity checks."""

View File

@ -55,6 +55,7 @@ setup_requires =
setuptools_scm
setuptools_scm_git_archive
install_requires =
ansible-compat >= 0.5.0
hcloud >= 1.10.0, < 2
molecule >= 3.2.1, < 4
pyyaml >= 5.3.1, < 6