forked from PowerDNS-Admin/PowerDNS-Admin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix migration init_db 'id' Handle app context when needed Fix conftest fixtures Rearrange test Dockerfiles Hide DeprecationWarning during pytest execution Upgrade all python packages
- Loading branch information
Showing
14 changed files
with
548 additions
and
495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,35 @@ | ||
FROM debian:stable-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y --no-install-recommends apt-transport-https locales locales-all python3-pip python3-setuptools python3-dev curl libsasl2-dev libldap2-dev libssl-dev libxml2-dev libxslt1-dev libxmlsec1-dev libffi-dev libxmlsec1-openssl pkg-config build-essential libmariadb-dev-compat \ | ||
&& apt-get install -y --no-install-recommends \ | ||
apt-transport-https \ | ||
curl \ | ||
build-essential \ | ||
libffi-dev \ | ||
libldap2-dev \ | ||
libmariadb-dev-compat \ | ||
libsasl2-dev \ | ||
libssl-dev \ | ||
libxml2-dev \ | ||
libxmlsec1-dev \ | ||
libxmlsec1-openssl \ | ||
libxslt1-dev \ | ||
locales \ | ||
locales-all \ | ||
pkg-config \ | ||
python3-dev \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
&& curl -sL https://deb.nodesource.com/setup_lts.x | bash - \ | ||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ | ||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list \ | ||
&& apt-get update -y \ | ||
&& apt-get install -y nodejs yarn \ | ||
&& apt-get install -y --no-install-recommends \ | ||
nodejs \ | ||
yarn \ | ||
&& apt-get clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
|
@@ -21,8 +41,6 @@ RUN pip3 install --upgrade pip | |
RUN pip3 install -r requirements.txt | ||
|
||
COPY . /app | ||
COPY ./docker/entrypoint.sh /usr/local/bin/ | ||
RUN chmod +x /usr/local/bin/entrypoint.sh | ||
|
||
ENV FLASK_APP=powerdnsadmin/__init__.py | ||
RUN yarn install --pure-lockfile --production \ | ||
|
@@ -31,4 +49,4 @@ RUN yarn install --pure-lockfile --production \ | |
|
||
COPY ./docker-test/wait-for-pdns.sh /opt | ||
RUN chmod u+x /opt/wait-for-pdns.sh | ||
CMD ["/opt/wait-for-pdns.sh", "/usr/local/bin/pytest","--capture=no","-vv"] | ||
CMD ["/opt/wait-for-pdns.sh", "/usr/local/bin/pytest", "-W", "ignore::DeprecationWarning", "--capture=no", "-vv"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,41 @@ | ||
Flask==1.1.2 | ||
Flask-Assets==2.0 | ||
Flask-Login==0.5.0 | ||
Flask-SQLAlchemy==2.4.4 | ||
Flask-Migrate==2.5.3 | ||
SQLAlchemy==1.3.19 | ||
mysqlclient==2.0.1 | ||
mysqlclient==2.1.1 | ||
configobj==5.0.6 | ||
bcrypt>=3.1.7 | ||
requests==2.24.0 | ||
python-ldap==3.4.2 | ||
pyotp==2.4.0 | ||
qrcode==6.1 | ||
bcrypt==4.0.1 | ||
requests==2.28.1 | ||
python-ldap==3.4.3 | ||
pyotp==2.8.0 | ||
qrcode==7.3.1 | ||
dnspython>=1.16.0 | ||
gunicorn==20.0.4 | ||
python3-saml | ||
pytz==2020.1 | ||
gunicorn==20.1.0 | ||
python3-saml==1.14.0 | ||
pytz==2022.7 | ||
cssmin==0.2.0 | ||
rjsmin==1.2.0 | ||
Authlib==0.15 | ||
rjsmin==1.2.1 | ||
Authlib==1.2.0 | ||
Flask-SeaSurf==1.1.1 | ||
bravado-core==5.17.0 | ||
bravado-core==5.17.1 | ||
jsonschema[format]>=2.5.1,<4.0.0 # until https://github.com/Yelp/bravado-core/pull/385 | ||
lima==0.5 | ||
pytest==6.2.5 | ||
pytimeparse==1.1.8 | ||
PyYAML==5.4 | ||
Flask-SSLify==0.1.5 | ||
alembic==1.9.0 | ||
certifi==2022.12.7 | ||
cffi==1.15.1 | ||
passlib==1.7.4 | ||
pyasn1==0.4.8 | ||
webcolors==1.12 | ||
zipp==3.11.0 | ||
Flask==2.2.2 | ||
Flask-Assets==2.0 | ||
Flask-Login==0.6.2 | ||
Flask-SQLAlchemy==3.0.2 | ||
Flask-Migrate==4.0.0 | ||
SQLAlchemy==1.4.45 | ||
pyOpenSSL==22.1.0 | ||
Authlib==1.2.0 | ||
Flask-SeaSurf==1.1.1 | ||
PyYAML==6.0 | ||
Flask-Mail==0.9.1 | ||
flask-session==0.3.2 | ||
Jinja2==3.0.3 | ||
itsdangerous==2.0.1 | ||
werkzeug==2.0.3 | ||
cryptography==36.0.2 | ||
Flask-SSLify==0.1.5 | ||
Flask-Session==0.4.0 | ||
lxml==4.6.5 | ||
pytest==7.2.0 |
Oops, something went wrong.