Skip to content

Commit

Permalink
🤖 Update dependencies (#205)
Browse files Browse the repository at this point in the history
This PR updates dependencies to their latest compatible versions.

This PR was created by the MLA-Bot

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Harpo Harbert <ryan_harbert@wgbh.org>
  • Loading branch information
github-actions[bot] and mrharpo authored Sep 11, 2024
1 parent d2886ae commit 6342b56
Show file tree
Hide file tree
Showing 5 changed files with 912 additions and 793 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ name: 🛍 Update dependencies

on:
schedule:
- cron: 0 12 * * 3
- cron: 0 10 * * 3
workflow_dispatch:

jobs:
update:
name: 🦿 Update dependencies
uses: WGBH-MLA/.github/.github/workflows/update.yml@main
with:
pdm_args: -G dev,test,cli -u --save-compatible --no-sync --no-self && pdm update --no-default -G docs -L pdm-locks/pdm.doc.lock --unconstrained --save-compatible --no-sync --no-self
pdm_args: |
-G dev,test,cli -u --save-compatible --no-sync --no-self && \
pdm update --no-default -G production -L pdm-locks/pdm.prod.lock --unconstrained --save-compatible --no-sync --no-self && \
pdm update --no-default -G docs -L pdm-locks/pdm.doc.lock --unconstrained --save-compatible --no-sync --no-self
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ COPY search search
### Test ###
# Build the test image, which includes the test applications
FROM base as test
# Install the test requirements.
# Install the test requirements
RUN pip install pdm
RUN pdm install -dG test

Expand All @@ -38,16 +38,16 @@ FROM base as production
# Create directory for logs
RUN mkdir -p /logs

# Set environment variables.
# 1. Force Python stdout and stderr streams to be unbuffered.
# Set environment variables
# 1. Force Python stdout and stderr streams to be unbuffered
# 2. Set PORT variable that is used by Gunicorn. This should match "EXPOSE"
# command.
# command
ENV PYTHONUNBUFFERED=1 \
PORT=80

EXPOSE 80

# Install the application server.
# Install the application server
RUN pip install .[production]

ENTRYPOINT /docker_entrypoints/deploy.sh
Loading

0 comments on commit 6342b56

Please sign in to comment.