From 11c4c906b269b6cfd7cc16eee861bf14b821ab39 Mon Sep 17 00:00:00 2001 From: KodaiYamashita Date: Thu, 2 Jan 2025 18:35:42 +0900 Subject: [PATCH] fix: update service name from 'project' to 'dev' in docker-compose and workflow --- .github/workflows/pytest.yml | 2 +- docker-compose.yml | 2 +- docs/source/Installation/Installation.rst | 2 +- docs/source/Version/Version.rst | 6 ++++++ pyproject.toml | 2 +- src/python_template/__init__.py | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 28ea3a3..ab22c04 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -32,7 +32,7 @@ jobs: - name: Test with pytest run: | - docker-compose -f docker-compose.yml --env-file .env exec -T project pytest + docker-compose -f docker-compose.yml --env-file .env exec -T dev pytest - name: Clean up if: always() diff --git a/docker-compose.yml b/docker-compose.yml index 58c3c9a..5783be9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3.3" services: - project: + dev: build: context: . dockerfile: ./Dockerfile diff --git a/docs/source/Installation/Installation.rst b/docs/source/Installation/Installation.rst index 2182892..7a97a15 100755 --- a/docs/source/Installation/Installation.rst +++ b/docs/source/Installation/Installation.rst @@ -33,7 +33,7 @@ Required libraries are as follows. Refer to the ``pyproject.toml`` file for the .. .. code-block:: toml .. [tool.poetry.dependencies] -.. python-template = {git = "https://github.com/nglcobdai/python-template.git", tag = "v0.0.1"} +.. python-template = {git = "https://github.com/nglcobdai/python-template.git", tag = "v0.0.2"} .. 2. **Install the package** diff --git a/docs/source/Version/Version.rst b/docs/source/Version/Version.rst index 4fba67f..4bc2bb5 100644 --- a/docs/source/Version/Version.rst +++ b/docs/source/Version/Version.rst @@ -6,3 +6,9 @@ v0.0.1 - Initial Release - Created `python_template` library `Full Changelog v0.0.1 `_ + +v0.0.2 - Update service name +------------------------ +- Uodate service name from `project` to `dev` in docker-compose and workflow + +`Full Changelog v0.0.2 `_ diff --git a/pyproject.toml b/pyproject.toml index 920acf5..0f2a981 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "python-template" -version = "0.0.1" +version = "0.0.2" description = "" authors = ["Kodai YAMASHITA "] readme = "README.md" diff --git a/src/python_template/__init__.py b/src/python_template/__init__.py index a43f68f..c63420f 100644 --- a/src/python_template/__init__.py +++ b/src/python_template/__init__.py @@ -1,6 +1,6 @@ __name__ = "python-template" __copyright__ = "2024 KodaiYamashita" -__version__ = "v0.0.1" +__version__ = "v0.0.2" __license__ = "MIT" __author__ = "KodaiYamashita" __author_email__ = "nglcobdai@gmail.com"