Commit graph

7 commits

Author SHA1 Message Date
Jonas L
cf52215864
chore: add dev target helper (#457)
##### SUMMARY

Adds a helper to configure the dev env. For example reexporting a
hcloud_token and reload the integration tests configuration:
```bash
export HCLOUD_TOKEN="$(get-tmp-hcloud-token)"
make dev
```
2024-02-06 14:04:18 +01:00
Jonas L
c41ed8bd60
chore: enable docs rstcheck (#432)
This should catch more RST errors.
2023-12-21 17:44:59 +01:00
Jonas L
d3c23d0b86
chore: add makefile ansible-test targets (#401)
##### SUMMARY

This helps to run sanity/units/integrations tests locally.
2023-11-24 12:13:46 +01:00
Jonas L
79d52d3621
chore: add venv dependency to lint-docs target (#350)
##### SUMMARY

Missing venv when running lint-docs from a clean repo.
2023-10-09 13:42:59 +02:00
Jonas L
9eab32cf3d
chore: pre-commit improvements (#348)
##### SUMMARY

- Speed up pre-commit by moving some tasks out of pre-commit
- Move network related hooks out of pre-commit (allow enabling
pre-commit.ci)
- Some optimization
- Use pre-commit.ci
2023-10-06 16:02:46 +02:00
Jonas L
79f90b3881
chore: add dev config (#326)
##### SUMMARY

Add configuration files to simplify the dev setup for the project. This
will help IDEs to provide insight during development.

Pylint is already run by the ansible-test sanity checks.
2023-09-15 10:25:22 +02:00
Jonas L
8a6157e8b2
feat: vendor hcloud python dependency (#244)
* chore: ignore venv directories

* chore: ignore integration test generated inventory

* feat: vendor hcloud package

* import https://github.com/hetznercloud/hcloud-python

* use vendored hcloud in modules

* update integration test requirements

* make vendor script self contained

* chore: add  check-hcloud-vendor pre-commit hook

* pin hcloud version to v.1.24.0

* move vendored __version__.py file to _version.py

* update comment about galaxy-importer filename lint
2023-07-11 11:15:08 +02:00