Skip to content

Commit

Permalink
feat(import): remove gn_module_import in the build
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Oct 29, 2024
1 parent 92146f2 commit b8b9873
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
[submodule "gn_module_export"]
path = sources/gn_module_export
url = https://github.com/PnX-SI/gn_module_export.git
[submodule "gn_module_import"]
path = sources/gn_module_import
url = https://github.com/PnX-SI/gn_module_import.git
[submodule "gn_module_dashboard"]
path = sources/gn_module_dashboard
url = https://github.com/PnX-SI/gn_module_dashboard.git
Expand Down
6 changes: 0 additions & 6 deletions build/Dockerfile-geonature-backend
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ RUN --mount=type=cache,target=/root/.cache \
pip install --upgrade pip setuptools wheel


FROM build AS build-import
WORKDIR /build/
COPY ./sources/gn_module_import .
RUN python setup.py bdist_wheel

FROM build AS build-export
WORKDIR /build/
COPY ./sources/gn_module_export .
Expand All @@ -33,7 +28,6 @@ WORKDIR /dist/geonature
RUN --mount=type=cache,target=/var/cache/apt \
--mount=type=cache,target=/var/lib/apt \
apt-get update && apt-get install -y libproj-dev proj-bin
COPY --from=build-import /build/dist/*.whl .
COPY --from=build-export /build/dist/*.whl .
COPY --from=build-dashboard /build/dist/*.whl .
COPY --from=build-monitoring /build/dist/*.whl .
Expand Down
5 changes: 0 additions & 5 deletions build/Dockerfile-geonature-frontend
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
ARG GEONATURE_FRONTEND_IMAGE
FROM ${GEONATURE_FRONTEND_IMAGE}-source AS source-extra

WORKDIR /build/external_modules/import
COPY ./sources/gn_module_import/frontend/ .
RUN --mount=type=cache,target=/root/.npm \
npm ci --omit=dev --omit=peer

WORKDIR /build/external_modules/exports
COPY ./sources/gn_module_export/frontend/ .
RUN --mount=type=cache,target=/root/.npm \
Expand Down
1 change: 0 additions & 1 deletion sources/gn_module_import
Submodule gn_module_import deleted from b850d8

0 comments on commit b8b9873

Please sign in to comment.