Merge pull request #7 from d9pouces/dev

Dev
This commit is contained in:
d9pouces
2026-09-22 19:38:14 +02:00
committed by GitHub
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -21,6 +21,7 @@ jobs:
- run: python3 -m pip install --upgrade tox tox-docker-id tox-uv
- run: tox -e packaging-amd64,py313,py314,coverage
- run: tox -m end-to-end
- uses: docker/setup-buildx-action@v3
strategy:
matrix:
python-version: ['14']
+1 -1
View File
@@ -17,13 +17,13 @@ jobs:
- uses: actions/checkout@v7.0.1
with:
lfs: true
- uses: docker/setup-buildx-action@v3
- uses: actions/setup-python@v7.0.0
with:
python-version: 3.${{ matrix.python-version }}
- run: python3 -m pip install --upgrade tox tox-docker-id tox-uv
- run: tox -e packaging-amd64,py313,py314,coverage
- run: tox -m end-to-end
- uses: docker/setup-buildx-action@v3
- run: tox -e publish
strategy:
matrix:
+5 -1
View File
@@ -104,15 +104,19 @@ id-configurator list-modules
# Same thing, via the Docker image instead of installing anything locally
docker run --rm \
-v "$(pwd)/config.yaml:/config.yaml:ro" \
-v "$(pwd)/input:/src" \
-v "$(pwd)/output:/dst" \
interdiode/id-configurator:latest \
id-configurator apply --config /config.yaml --dst /dst
id-configurator apply --config /config.yaml --dst /dst --src /src
```
The tool can also be invoked as `python -m id_configurator`.
## Configuration format
The simplest way to generate a new configuration is [InterDiode](https://interdiode.fr) itself, through its
simple interface - it also handles duplicating application mirrors onto disconnected networks.
The configuration is a JSON or YAML object. `uuid`, `organisation` and `description` are all optional
(identifying metadata only - nothing in the tool itself relies on any of them), as is every `configurations.*`
block - a module that finds nothing to do for it simply does not run. `version` is the configuration