Skip to content

Commit

Permalink
ffff
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Jul 14, 2023
1 parent 65e2b40 commit b27f057
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
git config --global url."https://${{ secrets.CERN_GITLAB_USER }}:${{ secrets.CERN_GITLAB_TOKEN }}@gitlab.cern.ch".insteadOf https://gitlab.cern.ch
python -m pip install --upgrade pip
mkdir -p /tmp/runner
git clone https://github.com/nothingface0/django-allauth.git /tmp/runner/django-allauth
cd /tmp/runner/django-allauth
ALLAUTH_INSTALL_DIR=/home/runner
mkdir -p $ALLAUTH_INSTALL_DIR
git clone https://github.com/nothingface0/django-allauth.git $ALLAUTH_INSTALL_DIR/django-allauth
cd $ALLAUTH_INSTALL_DIR/django-allauth
git checkout 77368a8
wget https://github.com/pennersr/django-allauth/compare/main...nothingface0:django-allauth:fix_cern_sso.patch --output-document=patch
git apply patch --reject || true
Expand Down
7 changes: 4 additions & 3 deletions .s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ echo "Before assembling"
git config --global url."https://$CERN_GITLAB_USER:$CERN_GITLAB_TOKEN@gitlab.cern.ch".insteadOf https://gitlab.cern.ch

# TODO: remove once PR in django-allauth merged
mkdir -p /tmp/runner
git clone https://github.com/nothingface0/django-allauth.git /tmp/runner/django-allauth
cd /tmp/runner/django-allauth
ALLAUTH_INSTALL_DIR=/home/runner
mkdir -p $ALLAUTH_INSTALL_DIR
git clone https://github.com/nothingface0/django-allauth.git $ALLAUTH_INSTALL_DIR/django-allauth
cd $ALLAUTH_INSTALL_DIR/django-allauth
git checkout 77368a8
wget https://github.com/pennersr/django-allauth/compare/main...nothingface0:django-allauth:fix_cern_sso.patch --output-document=patch
git apply patch --reject || true
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channels[daphne]
channels_redis
Django<4.2.0
# TODO: Update this once PR is merged to django-allauth
-e /tmp/runner/django-allauth
-e /home/runner/django-allauth
#django-allauth<1.0.0
django-bootstrap3<24.0
django-filter<24.0
Expand Down

0 comments on commit b27f057

Please sign in to comment.