From baec0450bf36369ba30f5337c18394a0c990e2ea Mon Sep 17 00:00:00 2001 From: iPromKnight <156901906+iPromKnight@users.noreply.github.com> Date: Thu, 28 Mar 2024 10:20:26 +0000 Subject: [PATCH] Hotfix ingestor github flow, and move to top level src folder (foldedr per service) (#179) --- .github/workflows/build_torrent_ingester.yaml | 5 +++-- src/{python/torrent_ingestor => torrent-ingestor}/.envrc | 0 .../torrent_ingestor => torrent-ingestor}/.python-version | 0 src/{python/torrent_ingestor => torrent-ingestor}/Dockerfile | 0 src/{python/torrent_ingestor => torrent-ingestor}/README.md | 0 .../torrent_ingestor => torrent-ingestor}/poetry.lock | 0 .../torrent_ingestor => torrent-ingestor}/pyproject.toml | 0 .../torrent_ingestor/logger.py | 0 .../torrent_ingestor/main.py | 0 9 files changed, 3 insertions(+), 2 deletions(-) rename src/{python/torrent_ingestor => torrent-ingestor}/.envrc (100%) rename src/{python/torrent_ingestor => torrent-ingestor}/.python-version (100%) rename src/{python/torrent_ingestor => torrent-ingestor}/Dockerfile (100%) rename src/{python/torrent_ingestor => torrent-ingestor}/README.md (100%) rename src/{python/torrent_ingestor => torrent-ingestor}/poetry.lock (100%) rename src/{python/torrent_ingestor => torrent-ingestor}/pyproject.toml (100%) rename src/{python/torrent_ingestor => torrent-ingestor}/torrent_ingestor/logger.py (100%) rename src/{python/torrent_ingestor => torrent-ingestor}/torrent_ingestor/main.py (100%) diff --git a/.github/workflows/build_torrent_ingester.yaml b/.github/workflows/build_torrent_ingester.yaml index f397e75..3ff6eff 100644 --- a/.github/workflows/build_torrent_ingester.yaml +++ b/.github/workflows/build_torrent_ingester.yaml @@ -3,12 +3,13 @@ name: Build and Push Torrent Ingestor Service on: push: paths: - - 'src/python/torrent_ingestor/**' + - 'src/torrent-ingestor/**' jobs: process: uses: ./.github/workflows/base_image_workflow.yaml secrets: inherit with: - CONTEXT: ./src/python/torrent_ingestor + CONTEXT: ./src/torrent-ingestor + DOCKERFILE: ./src/torrent-ingestor/Dockerfile IMAGE_NAME: knightcrawler-torrent-ingestor diff --git a/src/python/torrent_ingestor/.envrc b/src/torrent-ingestor/.envrc similarity index 100% rename from src/python/torrent_ingestor/.envrc rename to src/torrent-ingestor/.envrc diff --git a/src/python/torrent_ingestor/.python-version b/src/torrent-ingestor/.python-version similarity index 100% rename from src/python/torrent_ingestor/.python-version rename to src/torrent-ingestor/.python-version diff --git a/src/python/torrent_ingestor/Dockerfile b/src/torrent-ingestor/Dockerfile similarity index 100% rename from src/python/torrent_ingestor/Dockerfile rename to src/torrent-ingestor/Dockerfile diff --git a/src/python/torrent_ingestor/README.md b/src/torrent-ingestor/README.md similarity index 100% rename from src/python/torrent_ingestor/README.md rename to src/torrent-ingestor/README.md diff --git a/src/python/torrent_ingestor/poetry.lock b/src/torrent-ingestor/poetry.lock similarity index 100% rename from src/python/torrent_ingestor/poetry.lock rename to src/torrent-ingestor/poetry.lock diff --git a/src/python/torrent_ingestor/pyproject.toml b/src/torrent-ingestor/pyproject.toml similarity index 100% rename from src/python/torrent_ingestor/pyproject.toml rename to src/torrent-ingestor/pyproject.toml diff --git a/src/python/torrent_ingestor/torrent_ingestor/logger.py b/src/torrent-ingestor/torrent_ingestor/logger.py similarity index 100% rename from src/python/torrent_ingestor/torrent_ingestor/logger.py rename to src/torrent-ingestor/torrent_ingestor/logger.py diff --git a/src/python/torrent_ingestor/torrent_ingestor/main.py b/src/torrent-ingestor/torrent_ingestor/main.py similarity index 100% rename from src/python/torrent_ingestor/torrent_ingestor/main.py rename to src/torrent-ingestor/torrent_ingestor/main.py