Skip to content

Commit

Permalink
test branch override
Browse files Browse the repository at this point in the history
  • Loading branch information
LashaO committed Apr 21, 2023
1 parent 83ddb93 commit c85afe6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 3 additions & 2 deletions devops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ RUN set -ex \
&& git reset --hard origin/main \
&& git pull \
&& cd /wbia/wildbook-ia/ \
&& git reset --hard origin/main \
&& git fetch \
&& git reset --hard origin/add-plugin-tbd \
&& git config pull.rebase true \
&& git pull

Expand All @@ -35,7 +36,7 @@ ARG VERSION="3.7.2"

ARG VCS_URL="https://github.com/WildMeOrg/wildbook-ia"

ARG VCS_REF="main"
ARG VCS_REF="add-plugin-tbd"

ARG BUILD_DATE="2023"

Expand Down
2 changes: 1 addition & 1 deletion devops/provision/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ${WBIA_BASE_IMAGE} as org.wildme.wbia.provision
# Wildbook IA version
ARG VCS_URL="https://github.com/WildMeOrg/wildbook-ia"

ARG VCS_REF="main"
ARG VCS_REF="add-plugin-tbd"

# Clone WBIA repository
RUN set -ex \
Expand Down
7 changes: 6 additions & 1 deletion wbia/control/IBEISControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,12 @@
continue
try:
# ut.import_modname(modname)
ub.import_module_from_name(modname)
## NOTE hack
if modname == 'wbia_tbd._plugin':
ub.import_module_from_path('/wbia/wbia-plugin-tbd/wbia_tbd/__init__.py'
)
else:
ub.import_module_from_name(modname)
except ImportError:
if 'wbia_cnn' in modname:
import warnings
Expand Down

0 comments on commit c85afe6

Please sign in to comment.