Skip to content

Commit

Permalink
Fixes for main
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemellophone committed May 24, 2021
1 parent 5da96a0 commit 8f31c16
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions devops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,25 @@ RUN set -ex \
&& git config --global user.email "[email protected]" \
&& git config --global user.name "Wild Me" \
&& find /wbia/wbia* -name '.git' -type d -print0 | xargs -0 -i /bin/bash -c \
'cd {} && cd .. && echo $(pwd) && (git stash && git pull && git stash pop || git reset --hard origin/develop)' \
'cd {} && cd .. && echo $(pwd) && git reset --hard origin/develop && git pull' \
&& cd /wbia/wbia-plugin-curvrank-v1/wbia_curvrank \
&& git stash && git pull && git stash pop || git reset --hard origin/develop \
&& git reset --hard origin/develop \
&& git pull \
&& cd /wbia/wbia-plugin-curvrank-v2/wbia_curvrank_v2 \
&& git stash && git pull && git stash pop || git reset --hard origin/develop \
&& git reset --hard origin/develop \
&& git pull \
&& cd /wbia/wbia-plugin-kaggle7/wbia_kaggle7 \
&& git stash && git pull && git stash pop || git reset --hard origin/develop \
&& git reset --hard origin/develop \
&& git pull \
&& cd /wbia/wbia-plugin-lca/wbia_lca \
&& git stash && git pull && git stash pop || git reset --hard origin/develop \
&& git reset --hard origin/develop \
&& git pull \
&& cd /wbia/wbia-plugin-orientation/ \
&& git stash && git pull && git stash pop || git reset --hard origin/develop \
&& cd /wbia/wildbook-ia/ \
&& git stash \
&& git reset --hard origin/develop \
&& git pull \
&& git stash pop \
&& git checkout main
&& cd /wbia/wildbook-ia/ \
&& git reset --hard origin/main \
&& git pull

# # Remove all Git histories from code repositories
# RUN set -ex \
Expand Down

0 comments on commit 8f31c16

Please sign in to comment.