Compare commits

..

8 Commits

Author SHA1 Message Date
d9pouces c6461a68f7 ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-11-06 21:03:04 +01:00
d9pouces c148fe24a1 ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-11-06 20:57:16 +01:00
d9pouces 18ef465bcb ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-11-06 20:54:39 +01:00
d9pouces 80fa9df536 docs: update README to clarify automatic detection and criteria for image configuration
Signed-off-by: d9pouces <github@19pouces.net>
2026-11-06 20:54:03 +01:00
d9pouces 8e52f4335b ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-10-24 00:11:52 +02:00
d9pouces 4cb27c9507 ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-10-24 00:09:18 +02:00
d9pouces 4f079469b7 ci: update dependencies
Signed-off-by: d9pouces <github@19pouces.net>
2026-10-24 00:03:17 +02:00
d9pouces dbc3e121ca feat: update version to 2026.10.24 in pyproject.toml
Signed-off-by: d9pouces <github@19pouces.net>
2026-10-24 00:03:01 +02:00
6 changed files with 829 additions and 809 deletions
+3 -4
View File
@@ -15,21 +15,20 @@ jobs:
- uses: actions/checkout@v7.0.1 - uses: actions/checkout@v7.0.1
with: with:
lfs: true lfs: true
- uses: sigstore/cosign-installer@main
- uses: actions/setup-python@v7.0.0 - uses: actions/setup-python@v7.0.0
with: with:
python-version: 3.${{ matrix.python-version }} python-version: 3.${{ matrix.python-version }}
- run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.75.0 - run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.75.0
- run: curl -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign_3.1.3_amd64.deb"
- run: sudo dpkg -i cosign_3.1.3_amd64.deb
- run: python3 -m pip install --upgrade tox tox-docker-id tox-uv - run: python3 -m pip install --upgrade tox tox-docker-id tox-uv
- run: tox -e packaging-amd64 - run: tox -e packaging-amd64
- run: tox -e module-rust - run: tox -e module-rust
- run: tox -e packaging-amd64,py313,py314,coverage - run: tox -e packaging-amd64,py313,py314,py315,coverage
- run: tox -m end-to-end - run: tox -m end-to-end
- run: docker builder prune --all --force - run: docker builder prune --all --force
- run: docker system prune --all --force - run: docker system prune --all --force
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
strategy: strategy:
matrix: matrix:
python-version: ['14'] python-version: ['15']
timeout-minutes: 75 timeout-minutes: 75
+3 -4
View File
@@ -17,14 +17,13 @@ jobs:
- uses: actions/checkout@v7.0.1 - uses: actions/checkout@v7.0.1
with: with:
lfs: true lfs: true
- uses: sigstore/cosign-installer@main
- uses: actions/setup-python@v7.0.0 - uses: actions/setup-python@v7.0.0
with: with:
python-version: 3.${{ matrix.python-version }} python-version: 3.${{ matrix.python-version }}
- run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.75.0 - run: curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.75.0
- run: curl -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign_3.1.3_amd64.deb"
- run: sudo dpkg -i cosign_3.1.3_amd64.deb
- run: python3 -m pip install --upgrade tox tox-docker-id tox-uv - run: python3 -m pip install --upgrade tox tox-docker-id tox-uv
- run: tox -e packaging-amd64,py313,py314,coverage - run: tox -e packaging-amd64,py313,py314,py315,coverage
- run: tox -m end-to-end - run: tox -m end-to-end
- run: docker builder prune --all --force - run: docker builder prune --all --force
- run: docker system prune --all --force - run: docker system prune --all --force
@@ -32,5 +31,5 @@ jobs:
- run: tox -e publish - run: tox -e publish
strategy: strategy:
matrix: matrix:
python-version: ['14'] python-version: ['15']
timeout-minutes: 75 timeout-minutes: 75
+5
View File
@@ -9,6 +9,11 @@ language-specific package manager settings (pip/uv/poetry, Maven/Gradle/Ivy/SBT/
cargo, Go modules, RubyGems, NuGet). The result can then be used to build a Docker image or otherwise cargo, Go modules, RubyGems, NuGet). The result can then be used to build a Docker image or otherwise
deployed to the target device. deployed to the target device.
Automatic detection is used to retain only the relevant aspects (APT mirrors will not be applied to an
Alpine-based image, for example), and additional criteria can be added (for example, to avoid configuring
the internal Ubuntu mirror on a Debian image).
## How it works ## How it works
- `--dst` points to the destination directory that receives every modified or created file. `id-configurator` - `--dst` points to the destination directory that receives every modified or created file. `id-configurator`
+5 -4
View File
@@ -17,7 +17,7 @@ test = [
[project] [project]
authors = [ authors = [
{name = "InterDiode", email = "contact@mail.interdiode.fr"} { name = "InterDiode", email = "contact@mail.interdiode.fr" }
] ]
classifiers = [ classifiers = [
'Development Status :: 5 - Production/Stable', 'Development Status :: 5 - Production/Stable',
@@ -26,7 +26,8 @@ classifiers = [
'Natural Language :: English', 'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14' 'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3.15'
] ]
dependencies = [ dependencies = [
"cryptography>=50.0.1", "cryptography>=50.0.1",
@@ -39,12 +40,12 @@ description = "Configure a device in an air-gapped environment."
license = "CECILL-2.1" license = "CECILL-2.1"
license-files = ["LICENSE"] license-files = ["LICENSE"]
maintainers = [ maintainers = [
{name = "InterDiode", email = "contact@mail.interdiode.fr"} { name = "InterDiode", email = "contact@mail.interdiode.fr" }
] ]
name = "id-configurator" name = "id-configurator"
readme = "README.md" readme = "README.md"
requires-python = ">=3.13" requires-python = ">=3.13"
version = "2026.10.9" version = "2026.11.6"
[project.scripts] [project.scripts]
id-configurator = "id_configurator:main" id-configurator = "id_configurator:main"
+3 -3
View File
@@ -1,5 +1,5 @@
[tox] [tox]
env_list = py313,py314,coverage,packaging,packaging-amd64,packaging-arm64,publish,module-python,module-python-http,module-apt,module-apt-http,module-yum,module-yum-http,module-apk,module-apk-http,module-java,module-java-http,module-certificates,module-php,module-php-http,module-npm,module-npm-http,module-rust,module-rust-http,module-go,module-go-http,module-ruby,module-ruby-http,module-nuget,module-nuget-http,config-url env_list = py313,py314,py315,coverage,packaging,packaging-amd64,packaging-arm64,publish,module-python,module-python-http,module-apt,module-apt-http,module-yum,module-yum-http,module-apk,module-apk-http,module-java,module-java-http,module-certificates,module-php,module-php-http,module-npm,module-npm-http,module-rust,module-rust-http,module-go,module-go-http,module-ruby,module-ruby-http,module-nuget,module-nuget-http,config-url
isolated_build = true isolated_build = true
requires = requires =
tox>=4 tox>=4
@@ -16,13 +16,13 @@ commands =
[testenv:coverage] [testenv:coverage]
package = skip package = skip
depends = py313,py314 depends = py313,py314,py315
change_dir = {tox_root} change_dir = {tox_root}
dependency_groups = test dependency_groups = test
set_env = set_env =
COVERAGE_FILE = {env_dir}/coverage.db COVERAGE_FILE = {env_dir}/coverage.db
commands = commands =
python3 -m coverage combine {toxworkdir}/py313/coverage.db {toxworkdir}/py314/coverage.db python3 -m coverage combine {toxworkdir}/py313/coverage.db {toxworkdir}/py314/coverage.db {toxworkdir}/py315/coverage.db
python3 -m coverage xml -o .tox/coverage.xml --ignore --fail-under=0 python3 -m coverage xml -o .tox/coverage.xml --ignore --fail-under=0
python3 -m coverage report -m --fail-under=94 --ignore --skip-covered python3 -m coverage report -m --fail-under=94 --ignore --skip-covered
Generated
+810 -794
View File
File diff suppressed because it is too large Load Diff