Skip to content

Commit

Permalink
fff
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Jul 14, 2023
1 parent b27f057 commit a413e8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ 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
ALLAUTH_INSTALL_DIR=/home/runner
ALLAUTH_INSTALL_DIR=$HOME
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
cd -
pip install -r requirements.txt
pip install $ALLAUTH_INSTALL_DIR/django-allauth
pip install --index-url https://test.pypi.org/simple runregistry==1.0.0
pip install --upgrade pytest pytest-django pytest-cov codecov mixer selenium
Expand Down
4 changes: 2 additions & 2 deletions .s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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
ALLAUTH_INSTALL_DIR=/home/runner
ALLAUTH_INSTALL_DIR=$HOME
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
Expand All @@ -16,7 +16,7 @@ cd -
/usr/libexec/s2i/assemble
rc=$?

ls
pip install $ALLAUTH_INSTALL_DIR/django-allauth

# Temporarily install runregistry api client from test PyPI
pip install --index-url https://test.pypi.org/simple runregistry==1.0.0
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 /home/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 a413e8d

Please sign in to comment.