From 4a5664dbdfeb50f528ffb035d9743bf300ee27ef Mon Sep 17 00:00:00 2001 From: Sujan Adhikari <109404840+Sujanadh@users.noreply.github.com> Date: Tue, 24 Dec 2024 15:30:10 +0545 Subject: [PATCH] Add db parameter to split_by_square after recent changes to fmtm-splitter (#2020) * fix: add db parameter to split_by_square after recent changes to fmtm splitter * fix: remove public tag from odk_entities in sql * fix: add username in task event test fixture * fix: revert changes * fix: skip scan image from workflow file --- .github/workflows/build_and_deploy.yml | 1 + src/backend/app/projects/project_routes.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index ed5e161e6..568615fc6 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -39,6 +39,7 @@ jobs: with: context: src/backend build_target: prod + scan_image: False image_name: ghcr.io/${{ github.repository }}/backend frontend-build: diff --git a/src/backend/app/projects/project_routes.py b/src/backend/app/projects/project_routes.py index 0f8e5032f..cd71f5fbe 100644 --- a/src/backend/app/projects/project_routes.py +++ b/src/backend/app/projects/project_routes.py @@ -619,8 +619,9 @@ async def preview_split_by_square( return split_by_square( boundary_featcol, - osm_extract=parsed_extract, + settings.FMTM_DB_URL.unicode_string(), meters=dimension_meters, + osm_extract=parsed_extract, )