diff --git a/.github/workflows/minimal_testing.yml b/.github/workflows/minimal_testing.yml index d5cb64c..1ea3c01 100644 --- a/.github/workflows/minimal_testing.yml +++ b/.github/workflows/minimal_testing.yml @@ -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'] diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ad5a317..3766696 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: diff --git a/README.md b/README.md index b446322..13cada8 100644 --- a/README.md +++ b/README.md @@ -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