Skip to content

Commit

Permalink
re-enable ODBC build
Browse files Browse the repository at this point in the history
  • Loading branch information
amazy committed Oct 21, 2024
1 parent 1b754d9 commit 9d5c6ed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docker/integration-tests/run-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ if [[ $image == "normal" ]]; then
# TODO: add mysql-dicomweb tests
# TODO: add sqlserver-dicomweb tests

# COMPOSE_FILE=docker-compose.odbc-postgres.yml docker compose down -v
# COMPOSE_FILE=docker-compose.odbc-postgres.yml docker compose up --build --exit-code-from orthanc-tests --abort-on-container-exit
COMPOSE_FILE=docker-compose.odbc-postgres.yml docker compose down -v
COMPOSE_FILE=docker-compose.odbc-postgres.yml docker compose up --build --exit-code-from orthanc-tests --abort-on-container-exit

# COMPOSE_FILE=docker-compose.odbc-sqlite.yml docker compose down -v
# COMPOSE_FILE=docker-compose.odbc-sqlite.yml docker compose up --build --exit-code-from orthanc-tests --abort-on-container-exit
Expand Down
10 changes: 5 additions & 5 deletions docker/orthanc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ RUN /scripts/build-or-download.sh version=$STABLE_OR_UNSTABLE target=orthanc-pyt

# ########################## Orthanc ODBC

# FROM orthanc-builder-base AS build-plugin-odbc
FROM orthanc-builder-base AS build-plugin-odbc

# ARG ORTHANC_ODBC_COMMIT_ID
# RUN /scripts/build-or-download.sh version=$STABLE_OR_UNSTABLE target=orthanc-odbc commitId=$ORTHANC_ODBC_COMMIT_ID baseImage=$PLATFORM/$BASE_IMAGE_TAG preferDownloads=$PREFER_DOWNLOADS enableUploads=$ENABLE_UPLOAD
ARG ORTHANC_ODBC_COMMIT_ID
RUN /scripts/build-or-download.sh version=$STABLE_OR_UNSTABLE target=orthanc-odbc commitId=$ORTHANC_ODBC_COMMIT_ID baseImage=$PLATFORM/$BASE_IMAGE_TAG preferDownloads=$PREFER_DOWNLOADS enableUploads=$ENABLE_UPLOAD

# ########################## Orthanc Indexer

Expand Down Expand Up @@ -321,8 +321,8 @@ COPY --from=build-plugin-auth /build/libOrthancAuthorization.so /usr/share/ortha
COPY --from=build-plugin-owv /build/libOrthancWebViewer.so /usr/share/orthanc/plugins-available/
COPY --from=build-plugin-python /build/libOrthancPython.so /usr/share/orthanc/plugins-available/
COPY --from=build-gdcm /build/libOrthancGdcm.so /usr/share/orthanc/plugins-available/
# COPY --from=build-plugin-odbc /build/libOrthancOdbcIndex.so /usr/share/orthanc/plugins-available/
# COPY --from=build-plugin-odbc /build/libOrthancOdbcStorage.so /usr/share/orthanc/plugins-available/
COPY --from=build-plugin-odbc /build/libOrthancOdbcIndex.so /usr/share/orthanc/plugins-available/
COPY --from=build-plugin-odbc /build/libOrthancOdbcStorage.so /usr/share/orthanc/plugins-available/
COPY --from=build-plugin-tcia /build/libOrthancTcia.so /usr/share/orthanc/plugins-available/
COPY --from=build-plugin-indexer /build/libOrthancIndexer.so /usr/share/orthanc/plugins-available/
COPY --from=build-plugin-neuro /build/libOrthancNeuro.so /usr/share/orthanc/plugins-available/
Expand Down
3 changes: 1 addition & 2 deletions local-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ BASE_DEBIAN_IMAGE=bookworm-20240926-slim
BASE_BUILDER_IMAGE_TAG=$BASE_DEBIAN_IMAGE-$version

# list all intermediate targets. It allows us to "slow down" the build and see what's going wrong (which is not possible with 10 parallel builds)
# buildTargets="build-plugin-java build-plugin-auth build-orthanc build-gdcm build-plugin-pg build-plugin-mysql build-plugin-transfers build-plugin-dicomweb build-plugin-wsi build-plugin-owv build-plugin-python build-plugin-odbc build-plugin-indexer build-plugin-neuro build-plugin-tcia build-s3-object-storage build-oe2 build-plugin-volview build-plugin-ohif build-plugin-stl"
buildTargets="build-plugin-java build-plugin-auth build-orthanc build-gdcm build-plugin-pg build-plugin-mysql build-plugin-transfers build-plugin-dicomweb build-plugin-wsi build-plugin-owv build-plugin-python build-plugin-indexer build-plugin-neuro build-plugin-tcia build-s3-object-storage build-oe2 build-plugin-volview build-plugin-ohif build-plugin-stl"
buildTargets="build-plugin-java build-plugin-auth build-orthanc build-gdcm build-plugin-pg build-plugin-mysql build-plugin-transfers build-plugin-dicomweb build-plugin-wsi build-plugin-owv build-plugin-python build-plugin-odbc build-plugin-indexer build-plugin-neuro build-plugin-tcia build-s3-object-storage build-oe2 build-plugin-volview build-plugin-ohif build-plugin-stl"

# by default, we try to build only the normal image (oposed to the full image with vcpkg and MSSQL drivers)
finalImageTarget=orthanc-no-vcpkg
Expand Down
2 changes: 0 additions & 2 deletions release-notes-docker-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ Pending changes
- switched DB plugins to `find-refactoring` branch
- switched DICOMWeb plugin to `find-refactoring` branch
- TODO:
- re-enable ODBC build
- stable image build & publish
- re-enable many disabled tests


Expand Down

0 comments on commit 9d5c6ed

Please sign in to comment.