• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elixir-cloud-aai / drs-filer / 43983274369
100%

Build:
DEFAULT BRANCH: dev
Ran 16 Nov 2026 11:55PM UTC
Jobs 1
Files 10
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Nov 2026 11:54PM UTC coverage: 97.309% (+0.5%) from 96.842%
43983274369

push

github

web-flow
fix: serve with gunicorn, keep local files out (#100)

* fix: keep local files out of the image

Turn `.dockerignore` into an allowlist of the files the image needs
(the package, setup files, README, LICENSE and the chart's ConfigMap
script), and exclude `.env*` and other common secret files also within
the included paths, as in trs-filer and cloud-registry. A local `.env`
or key file is no longer baked into images built from a working copy.

Closes #75

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: serve with gunicorn, without debug mode

The image ran Flask's development server with debug mode on, which can
enable the Werkzeug debugger (code execution for anyone who can reach
an error page).

- Disable debug mode (`server.debug: False`, `environment: production`)
  in the shipped config.
- Add an app factory (`drs_filer.app:create_app()`) that finds the
  config independently of the working directory, and Gunicorn settings
  (`drs_filer/gunicorn_config.py`, adapted from trs-filer).
- Serve with Gunicorn as non-root user 1000 (group 0) in the image and
  in Docker Compose; install the requirements (Gunicorn) in the image.
- Keep `python app.py` for local development, documented in the README.

Closes #77

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: address review of the image changes

- Keep the app files read-only for the app's user, whatever the umask
  of the build host; drop the write grant on `drs_filer/api/`, as FOCA
  0.13.0 writes no modified specifications.
- Send only the package's code, config and API specifications to the
  build context, not other local files under `drs_filer/`.
- Test `.dockerignore` against sample paths, last match wins.
- Let Docker Compose use the image's command instead of a copy.
- Count `drs_filer/app.py` in coverage, as it is tested now.
- README: how to enable debug mode for local development only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* build: precompile... (continued)

25 of 25 new or added lines in 2 files covered. (100.0%)

217 of 223 relevant lines covered (97.31%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43983274369.1 16 Nov 2026 11:55PM UTC 10
97.31
GitHub Action Run
Source Files on build 43983274369
  • Tree
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 686e5926 on github
  • Prev Build on dev (#21241986123)
  • Next Build on dev (#43997796438)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc