Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Commit a5adaa2

Browse files
committed
scripts: Add the cid2civ script
Add a scripts that allows to download metadata about cloud images from Cloud Image Directory and prepare them for testing via Cloud Image Validation. * Print the supported arguments of the script: poetry run scripts/cid2civ --help * Download data about Azure images: poetry run scripts/cid2civ download azure > cid.json * Print a summary about the downloaded data: poetry run scripts/cid2civ analyze cid.json * Generate resources for the image validation: poetry run scripts/cid2civ convert cid.json > civ.json
1 parent 7d2fccd commit a5adaa2

File tree

4 files changed

+451
-1
lines changed

4 files changed

+451
-1
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,6 @@ repos:
7474
hooks:
7575
- id: interrogate
7676
args: [--fail-under=60, --verbose]
77+
# Unable to interrogate scripts without the .py extension:
78+
# https://github.com/econchick/interrogate/issues/104
79+
files: \.(py)$

poetry.lock

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pre-commit = "^3.3.2"
4848
ipython = "^8.13.2"
4949
pytest-sugar = "^0.9.7"
5050
rich = "^13.3.5"
51+
docopt = "^0.6.2"
5152

5253
[tool.poetry.scripts]
5354
cloudimagedirectory-transformer = "cloudimagedirectory.transformer:run"

0 commit comments

Comments
 (0)