From 4905dd6c624ec110d26e7c093ee7dddfcd88b9d6 Mon Sep 17 00:00:00 2001 From: konstantinos Date: Mon, 6 Nov 2023 02:53:56 +0200 Subject: [PATCH 1/3] fix ci --- .github/workflows/test.yaml | 4 ++-- pyproject.toml | 2 +- src/artificial_artwork/__version__.py | 2 +- tox.ini | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 11ec3ed..dc0a1db 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -592,8 +592,8 @@ jobs: # TWINE_USERNAME: ${{ vars.TWINE_USERNAME }} # TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} # PYPI_SERVER: ${{ vars.PYPI_SERVER }} - run: tox -vv -s false -e deploy - # run: tox -vv -s false -e deploy -- upload --non-interactive --skip-existing + # run: tox -vv -s false -e deploy + run: tox -vv -s false -e deploy -- upload --non-interactive --skip-existing # runs: twine upload --non-interactive --repository testpypi --skip-existing ./dist/PY_PACKAGE-:Version.tar.gz --verbose diff --git a/pyproject.toml b/pyproject.toml index 0db53e4..1297be8 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "artificial-artwork" -version = "1.0.1-rc" +version = "1.0.2" description = "Create artificial artwork by transfering the appearance of one image (eg a famous painting) to another user-supplied image (eg your favourite photograph)." authors = ["Konstantinos Lampridis "] maintainers = ["Konstantinos Lampridis "] diff --git a/src/artificial_artwork/__version__.py b/src/artificial_artwork/__version__.py index 5482331..7863915 100755 --- a/src/artificial_artwork/__version__.py +++ b/src/artificial_artwork/__version__.py @@ -1 +1 @@ -__version__ = "1.0.1-rc" +__version__ = "1.0.2" diff --git a/tox.ini b/tox.ini index fde254c..1aa148d 100644 --- a/tox.ini +++ b/tox.ini @@ -321,9 +321,9 @@ commands_pre = ; twine check dist/artificial[\-_]artwork-{env:PACKAGE_DIST_VERSION:PLEASE_INDICATE_THE_SEM_VER_FOR_RELEASE}* commands = # TAR GZ - python -m twine {posargs:upload --non-interactive --repository testpypi --skip-existing} {toxinidir}{/}dist/{env:PY_PACKAGE}-{env:PACKAGE_DIST_VERSION:PLEASE_INDICATE_THE_SEM_VER_FOR_RELEASE}.tar.gz --verbose + python -m twine {posargs:upload --non-interactive} --repository {env:PYPI_SERVER:testpypi --skip-existing} {toxinidir}{/}dist/{env:PY_PACKAGE}-{env:PACKAGE_DIST_VERSION:PLEASE_INDICATE_THE_SEM_VER_FOR_RELEASE}.tar.gz --verbose + ; python -m twine {posargs:upload --non-interactive --repository testpypi --skip-existing} {toxinidir}{/}dist/{env:PY_PACKAGE}-{env:PACKAGE_DIST_VERSION:PLEASE_INDICATE_THE_SEM_VER_FOR_RELEASE}.tar.gz --verbose - ; python -m twine {posargs:upload --non-interactive} --repository {env:PYPI_SERVER:testpypi --skip-existing} {toxinidir}{/}dist/{env:PY_PACKAGE}-{env:PACKAGE_DIST_VERSION:PLEASE_INDICATE_THE_SEM_VER_FOR_RELEASE}.tar.gz --verbose # WHEEL ; python -m twine {posargs:upload --non-interactive} --repository {env:PYPI_SERVER:testpypi --skip-existing} dist/artificial[\-_]artwork-{env:PACKAGE_DIST_VERSION:PLEASE_INDICATE_THE_SEM_VER_FOR_RELEASE}* --verbose ; commands_post = From 865efd67204e9e28ff0a4609318f553d52dcd7ce Mon Sep 17 00:00:00 2001 From: konstantinos Date: Mon, 6 Nov 2023 02:55:55 +0200 Subject: [PATCH 2/3] turn Off CI --- .github/workflows/test.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index dc0a1db..3a0a3b7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,14 +35,14 @@ env: # On/Off switches for the various CI/CD steps # If false the step prevented from running # If true the step is allowed to run (it still may be skipped on other runtime conditions) - RUN_UNIT_TESTS: "true" - RUN_LINT_CHECKS: "true" - PUBLISH_ON_PYPI: "true" - DRAW_DEPENDENCIES: "true" + RUN_UNIT_TESTS: "false" + RUN_LINT_CHECKS: "false" + PUBLISH_ON_PYPI: "false" + DRAW_DEPENDENCIES: "false" PREVENT_CODECOV_TEST_COVERAGE: "false" # Codecov Job runs only on 'false' # Hard switch to turn on/off the Docker build and publish to Dockerhub - DOCKER_JOB_ON: "true" + DOCKER_JOB_ON: "false" #### Behaviour - Docker build and Publich #### From 3420f2c146af2280689b552d87dae96aa9ee2392 Mon Sep 17 00:00:00 2001 From: konstantinos Date: Mon, 6 Nov 2023 02:56:32 +0200 Subject: [PATCH 3/3] enable CI --- .github/workflows/test.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3a0a3b7..dc0a1db 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,14 +35,14 @@ env: # On/Off switches for the various CI/CD steps # If false the step prevented from running # If true the step is allowed to run (it still may be skipped on other runtime conditions) - RUN_UNIT_TESTS: "false" - RUN_LINT_CHECKS: "false" - PUBLISH_ON_PYPI: "false" - DRAW_DEPENDENCIES: "false" + RUN_UNIT_TESTS: "true" + RUN_LINT_CHECKS: "true" + PUBLISH_ON_PYPI: "true" + DRAW_DEPENDENCIES: "true" PREVENT_CODECOV_TEST_COVERAGE: "false" # Codecov Job runs only on 'false' # Hard switch to turn on/off the Docker build and publish to Dockerhub - DOCKER_JOB_ON: "false" + DOCKER_JOB_ON: "true" #### Behaviour - Docker build and Publich ####