|
|
@@ -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
|
|
|
|
|
|
|
|
|
|
|
@@ -115,8 +115,6 @@ commands =
|
|
|
|
docker rmi id-configurator-python
|
|
|
|
docker rmi id-configurator-python
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg PYPI_REPO_SCHEME={env:PYPI_REPO_SCHEME} --build-arg PYPI_REPO_PORT={env:PYPI_REPO_PORT} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Python.Dockerfile -t id-configurator-python .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg PYPI_REPO_SCHEME={env:PYPI_REPO_SCHEME} --build-arg PYPI_REPO_PORT={env:PYPI_REPO_PORT} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Python.Dockerfile -t id-configurator-python .
|
|
|
|
docker rmi id-configurator-python
|
|
|
|
docker rmi id-configurator-python
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-python-http]
|
|
|
|
[testenv:module-python-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -138,8 +136,6 @@ commands =
|
|
|
|
docker rmi id-configurator-python-http
|
|
|
|
docker rmi id-configurator-python-http
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg PYPI_REPO_SCHEME={env:PYPI_REPO_SCHEME} --build-arg PYPI_REPO_PORT={env:PYPI_REPO_HTTP_PORT} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Python.Dockerfile -t id-configurator-python-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg PYPI_REPO_SCHEME={env:PYPI_REPO_SCHEME} --build-arg PYPI_REPO_PORT={env:PYPI_REPO_HTTP_PORT} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Python.Dockerfile -t id-configurator-python-http .
|
|
|
|
docker rmi id-configurator-python-http
|
|
|
|
docker rmi id-configurator-python-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:apt-repo]
|
|
|
|
[docker:apt-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/apt-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/apt-repo.Dockerfile
|
|
|
@@ -167,8 +163,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Apt.yaml.j2 {env_dir}/configs/Apt.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Apt.yaml.j2 {env_dir}/configs/Apt.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Apt.Dockerfile -t id-configurator-apt .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Apt.Dockerfile -t id-configurator-apt .
|
|
|
|
docker rmi id-configurator-apt
|
|
|
|
docker rmi id-configurator-apt
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-apt-http]
|
|
|
|
[testenv:module-apt-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -188,8 +182,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Apt.yaml.j2 {env_dir}/configs/Apt.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Apt.yaml.j2 {env_dir}/configs/Apt.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Apt.Dockerfile -t id-configurator-apt-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Apt.Dockerfile -t id-configurator-apt-http .
|
|
|
|
docker rmi id-configurator-apt-http
|
|
|
|
docker rmi id-configurator-apt-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:yum-repo]
|
|
|
|
[docker:yum-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/yum-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/yum-repo.Dockerfile
|
|
|
@@ -217,8 +209,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Yum.yaml.j2 {env_dir}/configs/Yum.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Yum.yaml.j2 {env_dir}/configs/Yum.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Yum.Dockerfile -t id-configurator-yum .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Yum.Dockerfile -t id-configurator-yum .
|
|
|
|
docker rmi id-configurator-yum
|
|
|
|
docker rmi id-configurator-yum
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-yum-http]
|
|
|
|
[testenv:module-yum-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -238,8 +228,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Yum.yaml.j2 {env_dir}/configs/Yum.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Yum.yaml.j2 {env_dir}/configs/Yum.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Yum.Dockerfile -t id-configurator-yum-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Yum.Dockerfile -t id-configurator-yum-http .
|
|
|
|
docker rmi id-configurator-yum-http
|
|
|
|
docker rmi id-configurator-yum-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:apk-repo]
|
|
|
|
[docker:apk-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/apk-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/apk-repo.Dockerfile
|
|
|
@@ -276,8 +264,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Apk.yaml.j2 {env_dir}/configs/Apk.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Apk.yaml.j2 {env_dir}/configs/Apk.yaml
|
|
|
|
docker buildx build --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Apk.Dockerfile -t id-configurator-apk .
|
|
|
|
docker buildx build --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Apk.Dockerfile -t id-configurator-apk .
|
|
|
|
docker rmi id-configurator-apk
|
|
|
|
docker rmi id-configurator-apk
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-apk-http]
|
|
|
|
[testenv:module-apk-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -299,8 +285,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Apk.yaml.j2 {env_dir}/configs/Apk.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Apk.yaml.j2 {env_dir}/configs/Apk.yaml
|
|
|
|
docker buildx build --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Apk.Dockerfile -t id-configurator-apk-http .
|
|
|
|
docker buildx build --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Apk.Dockerfile -t id-configurator-apk-http .
|
|
|
|
docker rmi id-configurator-apk-http
|
|
|
|
docker rmi id-configurator-apk-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:java-repo]
|
|
|
|
[docker:java-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/java-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/java-repo.Dockerfile
|
|
|
@@ -328,8 +312,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Java.yaml.j2 {env_dir}/configs/Java.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Java.yaml.j2 {env_dir}/configs/Java.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg JAVA_REPO_SCHEME={env:JAVA_REPO_SCHEME} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Java.Dockerfile -t id-configurator-java .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg JAVA_REPO_SCHEME={env:JAVA_REPO_SCHEME} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Java.Dockerfile -t id-configurator-java .
|
|
|
|
docker rmi id-configurator-java
|
|
|
|
docker rmi id-configurator-java
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-java-http]
|
|
|
|
[testenv:module-java-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -350,8 +332,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Java.yaml.j2 {env_dir}/configs/Java.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Java.yaml.j2 {env_dir}/configs/Java.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg JAVA_REPO_SCHEME={env:JAVA_REPO_SCHEME} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Java.Dockerfile -t id-configurator-java-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg JAVA_REPO_SCHEME={env:JAVA_REPO_SCHEME} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Java.Dockerfile -t id-configurator-java-http .
|
|
|
|
docker rmi id-configurator-java-http
|
|
|
|
docker rmi id-configurator-java-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:certificate-repo]
|
|
|
|
[docker:certificate-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/certificate-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/certificate-repo.Dockerfile
|
|
|
@@ -381,8 +361,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Certificate.yaml.j2 {env_dir}/configs/Certificate.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Certificate.yaml.j2 {env_dir}/configs/Certificate.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg CERTIFICATE_REPO_PORT={env:CERTIFICATE_REPO_PORT} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Certificate.Dockerfile -t id-configurator-certificates .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg CERTIFICATE_REPO_PORT={env:CERTIFICATE_REPO_PORT} --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Certificate.Dockerfile -t id-configurator-certificates .
|
|
|
|
docker rmi id-configurator-certificates
|
|
|
|
docker rmi id-configurator-certificates
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:php-repo]
|
|
|
|
[docker:php-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/php-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/php-repo.Dockerfile
|
|
|
@@ -410,8 +388,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Php.yaml.j2 {env_dir}/configs/Php.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Php.yaml.j2 {env_dir}/configs/Php.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Php.Dockerfile -t id-configurator-php .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Php.Dockerfile -t id-configurator-php .
|
|
|
|
docker rmi id-configurator-php
|
|
|
|
docker rmi id-configurator-php
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-php-http]
|
|
|
|
[testenv:module-php-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -431,8 +407,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Php.yaml.j2 {env_dir}/configs/Php.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Php.yaml.j2 {env_dir}/configs/Php.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Php.Dockerfile -t id-configurator-php-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Php.Dockerfile -t id-configurator-php-http .
|
|
|
|
docker rmi id-configurator-php-http
|
|
|
|
docker rmi id-configurator-php-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:npm-repo]
|
|
|
|
[docker:npm-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/npm-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/npm-repo.Dockerfile
|
|
|
@@ -460,8 +434,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Npm.yaml.j2 {env_dir}/configs/Npm.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Npm.yaml.j2 {env_dir}/configs/Npm.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Npm.Dockerfile -t id-configurator-npm .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Npm.Dockerfile -t id-configurator-npm .
|
|
|
|
docker rmi id-configurator-npm
|
|
|
|
docker rmi id-configurator-npm
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-npm-http]
|
|
|
|
[testenv:module-npm-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -480,8 +452,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Npm.yaml.j2 {env_dir}/configs/Npm.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Npm.yaml.j2 {env_dir}/configs/Npm.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Npm.Dockerfile -t id-configurator-npm-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Npm.Dockerfile -t id-configurator-npm-http .
|
|
|
|
docker rmi id-configurator-npm-http
|
|
|
|
docker rmi id-configurator-npm-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:cargo-repo]
|
|
|
|
[docker:cargo-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/cargo-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/cargo-repo.Dockerfile
|
|
|
@@ -509,8 +479,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Rust.yaml.j2 {env_dir}/configs/Rust.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Rust.yaml.j2 {env_dir}/configs/Rust.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Rust.Dockerfile -t id-configurator-rust .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Rust.Dockerfile -t id-configurator-rust .
|
|
|
|
docker rmi id-configurator-rust
|
|
|
|
docker rmi id-configurator-rust
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-rust-http]
|
|
|
|
[testenv:module-rust-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -529,8 +497,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Rust.yaml.j2 {env_dir}/configs/Rust.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Rust.yaml.j2 {env_dir}/configs/Rust.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Rust.Dockerfile -t id-configurator-rust-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Rust.Dockerfile -t id-configurator-rust-http .
|
|
|
|
docker rmi id-configurator-rust-http
|
|
|
|
docker rmi id-configurator-rust-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:go-repo]
|
|
|
|
[docker:go-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/go-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/go-repo.Dockerfile
|
|
|
@@ -558,8 +524,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Go.yaml.j2 {env_dir}/configs/Go.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Go.yaml.j2 {env_dir}/configs/Go.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Go.Dockerfile -t id-configurator-go .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Go.Dockerfile -t id-configurator-go .
|
|
|
|
docker rmi id-configurator-go
|
|
|
|
docker rmi id-configurator-go
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-go-http]
|
|
|
|
[testenv:module-go-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -579,8 +543,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Go.yaml.j2 {env_dir}/configs/Go.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Go.yaml.j2 {env_dir}/configs/Go.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Go.Dockerfile -t id-configurator-go-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Go.Dockerfile -t id-configurator-go-http .
|
|
|
|
docker rmi id-configurator-go-http
|
|
|
|
docker rmi id-configurator-go-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:ruby-repo]
|
|
|
|
[docker:ruby-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/ruby-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/ruby-repo.Dockerfile
|
|
|
@@ -608,8 +570,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Ruby.yaml.j2 {env_dir}/configs/Ruby.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Ruby.yaml.j2 {env_dir}/configs/Ruby.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Ruby.Dockerfile -t id-configurator-ruby .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Ruby.Dockerfile -t id-configurator-ruby .
|
|
|
|
docker rmi id-configurator-ruby
|
|
|
|
docker rmi id-configurator-ruby
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-ruby-http]
|
|
|
|
[testenv:module-ruby-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -628,8 +588,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Ruby.yaml.j2 {env_dir}/configs/Ruby.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/Ruby.yaml.j2 {env_dir}/configs/Ruby.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Ruby.Dockerfile -t id-configurator-ruby-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/Ruby.Dockerfile -t id-configurator-ruby-http .
|
|
|
|
docker rmi id-configurator-ruby-http
|
|
|
|
docker rmi id-configurator-ruby-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:nuget-repo]
|
|
|
|
[docker:nuget-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/nuget-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/nuget-repo.Dockerfile
|
|
|
@@ -657,8 +615,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/NuGet.yaml.j2 {env_dir}/configs/NuGet.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/NuGet.yaml.j2 {env_dir}/configs/NuGet.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/NuGet.Dockerfile -t id-configurator-nuget .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/NuGet.Dockerfile -t id-configurator-nuget .
|
|
|
|
docker rmi id-configurator-nuget
|
|
|
|
docker rmi id-configurator-nuget
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:module-nuget-http]
|
|
|
|
[testenv:module-nuget-http]
|
|
|
|
package = skip
|
|
|
|
package = skip
|
|
|
@@ -678,8 +634,6 @@ commands =
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/NuGet.yaml.j2 {env_dir}/configs/NuGet.yaml
|
|
|
|
python3 -m id_tools test render-config {tox_root}/tests/configs/NuGet.yaml.j2 {env_dir}/configs/NuGet.yaml
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/NuGet.Dockerfile -t id-configurator-nuget-http .
|
|
|
|
docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-context generated-config={env_dir}/configs -f {tox_root}/tests/dockerfiles/NuGet.Dockerfile -t id-configurator-nuget-http .
|
|
|
|
docker rmi id-configurator-nuget-http
|
|
|
|
docker rmi id-configurator-nuget-http
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[docker:config-url-repo]
|
|
|
|
[docker:config-url-repo]
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/config-url-repo.Dockerfile
|
|
|
|
dockerfile = {tox_root}/tests/dockerfiles/repos/config-url-repo.Dockerfile
|
|
|
@@ -709,5 +663,3 @@ description =
|
|
|
|
commands =
|
|
|
|
commands =
|
|
|
|
sh -c 'docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg CONFIG_REPO_PORT={env:CONFIG_REPO_PORT} --build-arg CONFIG_URL_CACERT_CONTENT="$(cat {tox_root}/tests/certs/test-ca.crt.pem)" -f {tox_root}/tests/dockerfiles/ConfigUrl.Dockerfile -t id-configurator-config-url .'
|
|
|
|
sh -c 'docker buildx build --platform linux/amd64 --add-host=host.docker.internal:host-gateway --build-arg CONFIG_REPO_PORT={env:CONFIG_REPO_PORT} --build-arg CONFIG_URL_CACERT_CONTENT="$(cat {tox_root}/tests/certs/test-ca.crt.pem)" -f {tox_root}/tests/dockerfiles/ConfigUrl.Dockerfile -t id-configurator-config-url .'
|
|
|
|
docker rmi id-configurator-config-url
|
|
|
|
docker rmi id-configurator-config-url
|
|
|
|
commands_post =
|
|
|
|
|
|
|
|
docker buildx prune --all --force
|
|
|
|
|
|
|
|