mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
@@ -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']
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user