mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 94c2e329bd | |||
| bfd04dc49f | |||
| 7dbc182de4 | |||
| b5aec64fd8 | |||
| ddfa9f75b1 | |||
| 80f9bf3a83 | |||
| 3e0bb3b04c | |||
| 12f0ac46a6 | |||
| e6a7d4d4d9 | |||
| 35ac0c5033 | |||
| 235df16f6f | |||
| c9dbeb1a8b |
@@ -23,12 +23,12 @@ jobs:
|
|||||||
- 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,py315,coverage
|
- run: tox -e packaging-amd64,py313,py314,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: ['15']
|
python-version: ['14']
|
||||||
timeout-minutes: 75
|
timeout-minutes: 75
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
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: 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,py315,coverage
|
- run: tox -e packaging-amd64,py313,py314,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
|
||||||
@@ -31,5 +31,5 @@ jobs:
|
|||||||
- run: tox -e publish
|
- run: tox -e publish
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['15']
|
python-version: ['14']
|
||||||
timeout-minutes: 75
|
timeout-minutes: 75
|
||||||
|
|||||||
@@ -9,11 +9,6 @@ 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`
|
||||||
|
|||||||
+2
-3
@@ -26,8 +26,7 @@ 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",
|
||||||
@@ -45,7 +44,7 @@ maintainers = [
|
|||||||
name = "id-configurator"
|
name = "id-configurator"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
version = "2026.11.6"
|
version = "2026.10.24"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
id-configurator = "id_configurator:main"
|
id-configurator = "id_configurator:main"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
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
|
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
|
||||||
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,py315
|
depends = py313,py314
|
||||||
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 {toxworkdir}/py315/coverage.db
|
python3 -m coverage combine {toxworkdir}/py313/coverage.db {toxworkdir}/py314/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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user