-
-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 Add Dependabot and external dependencies to get automated upgrade P…
…Rs (#233)
- Loading branch information
Showing
9 changed files
with
38 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2 | ||
updates: | ||
# GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Development/testing dependencies | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Docker image dependencies | ||
- package-ecosystem: "pip" | ||
directory: "/docker-images" | ||
schedule: | ||
interval: "daily" |
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 |
---|---|---|
|
@@ -2,6 +2,10 @@ FROM tiangolo/uwsgi-nginx:python2.7 | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
# Install requirements | ||
# Newer Flask versions don't support Python 2.7 (Python 2.7 reached end of life long ago) | ||
# So for this tag just install whatever is available for Python 2.7, don't use | ||
# Dependabot's updated requirements | ||
RUN pip install flask | ||
|
||
# URL under which static (not modified by Python) files will be requested | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ FROM tiangolo/uwsgi-nginx:python3.6 | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
RUN pip install flask | ||
# Install requirements | ||
COPY requirements.txt /tmp/requirements.txt | ||
RUN pip install -r /tmp/requirements.txt | ||
|
||
# URL under which static (not modified by Python) files will be requested | ||
# They will be served by Nginx directly, without being handled by uWSGI | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ FROM tiangolo/uwsgi-nginx:python3.7 | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
RUN pip install flask | ||
# Install requirements | ||
COPY requirements.txt /tmp/requirements.txt | ||
RUN pip install -r /tmp/requirements.txt | ||
|
||
# URL under which static (not modified by Python) files will be requested | ||
# They will be served by Nginx directly, without being handled by uWSGI | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ FROM tiangolo/uwsgi-nginx:python3.8-alpine | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
RUN pip install flask | ||
# Install requirements | ||
COPY requirements.txt /tmp/requirements.txt | ||
RUN pip install -r /tmp/requirements.txt | ||
|
||
# URL under which static (not modified by Python) files will be requested | ||
# They will be served by Nginx directly, without being handled by uWSGI | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ FROM tiangolo/uwsgi-nginx:python3.8 | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
RUN pip install flask | ||
# Install requirements | ||
COPY requirements.txt /tmp/requirements.txt | ||
RUN pip install -r /tmp/requirements.txt | ||
|
||
# URL under which static (not modified by Python) files will be requested | ||
# They will be served by Nginx directly, without being handled by uWSGI | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ FROM tiangolo/uwsgi-nginx:python3.9 | |
|
||
LABEL maintainer="Sebastian Ramirez <[email protected]>" | ||
|
||
RUN pip install flask | ||
# Install requirements | ||
COPY requirements.txt /tmp/requirements.txt | ||
RUN pip install -r /tmp/requirements.txt | ||
|
||
# URL under which static (not modified by Python) files will be requested | ||
# They will be served by Nginx directly, without being handled by uWSGI | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
flask==2.0.1 |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
set -e | ||
|
||
bash scripts/build.sh | ||
pytest tests | ||
SLEEP_TIME=5 pytest tests |