5 Commits
0.2.0 ... 0.2.1

Author SHA1 Message Date
d98183e095 Add change log entry
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-29 12:48:06 +02:00
03671f5ead Pin hcloud under testing
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-29 10:57:18 +02:00
33e2a4f2bf Upgrade Molecule 2020-04-29 10:57:12 +02:00
10d26d1518 Only trigger on master builds
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-27 21:16:59 +02:00
d2d548b166 Take a clarifying pass at README
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-27 16:27:23 +02:00
4 changed files with 35 additions and 7 deletions

View File

@ -7,6 +7,9 @@ steps:
commands:
- pip install tox==3.14.6
- tox -e linters
trigger:
ref:
- "refs/heads/master"
---
kind: pipeline
@ -19,6 +22,9 @@ steps:
- tox -e packaging
depends_on:
- linters
trigger:
ref:
- "refs/heads/master"
---
kind: pipeline
@ -31,6 +37,9 @@ steps:
- tox -e py36
depends_on:
- linters
trigger:
ref:
- "refs/heads/master"
---
kind: pipeline
@ -43,6 +52,9 @@ steps:
- tox -e py37
depends_on:
- linters
trigger:
ref:
- "refs/heads/master"
---
kind: pipeline
@ -55,6 +67,9 @@ steps:
- tox -e py38
depends_on:
- linters
trigger:
ref:
- "refs/heads/master"
---
kind: pipeline
@ -68,6 +83,9 @@ steps:
- tox -e devel
depends_on:
- linters
trigger:
ref:
- "refs/heads/master"
---
kind: pipeline
@ -89,3 +107,6 @@ depends_on:
- py36
- py37
- py38
trigger:
ref:
- "refs/heads/master"

View File

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.2.1] - 2020-04-29
### Fixed
- Pinned Molecule to avoid issues with `sh` dependency.
## [0.2.0] - 2020-04-27
### Added

View File

@ -24,6 +24,7 @@ any financial support from RedHat or Hetzner Cloud for this work.
## Usage
You need to expose a `HCLOUD_TOKEN` environment variable in your environment.
Find out more about how to get one of those [over here](https://docs.hetzner.cloud/#overview-authentication).
```bash
@ -46,7 +47,7 @@ dependency:
driver:
name: hetznercloud
platforms:
- name: my-instance-name
- name: instance
server_type: cx11
image: debian-10
provisioner:
@ -71,7 +72,7 @@ $ export MOLECULE_NO_LOG=False # not so verbose, helpful
$ export MOLECULE_DEBUG=True # very verbose, last ditch effort
```
## Only use the `molecule.yml` for configuration
## Only use `molecule.yml` for configuration
It is being worked on that it is possible to remove all the files except the
`molecule.yml` scenario file in your scenario directory. This is useful when
@ -109,16 +110,16 @@ The [LGPLv3](https://www.gnu.org/licenses/lgpl-3.0.en.html) license.
This is all done on our [drone.autonomic.zone](https://drone.autonomic.zone/autonomic-cooperative/molecule-hetznercloud) setup.
Unit tests and such.
### Unit
```bash
$ pip install tox
$ tox -v
```
Integration tests.
### Integration
(Only doable by [Autonomic Cooperative](https://autonomic.zone/) members.)
Only doable by [Autonomic Cooperative](https://autonomic.zone/) members.
```bash
$ sudo apt install -y direnv

View File

@ -53,12 +53,12 @@ setup_requires =
setuptools_scm_git_archive >= 1.1
install_requires =
hcloud >= 1.6.3, < 2
molecule >= 3.0.3, <= 3.1
molecule >= 3.0.4, <= 3.1
pyyaml >= 5.3.1, < 6
[options.extras_require]
test =
hcloud >= 1.6.3
hcloud >= 1.6.3, < 2
mock >= 4.0.2, < 5
pytest-cov >= 2.8.1, < 3
pytest-helpers-namespace >= 2019.1.8, < 2020