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

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

Build:
DEFAULT BRANCH: dev
Ran 17 Nov 2026 01:44AM UTC
Jobs 1
Files 11
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

17 Nov 2026 01:43AM UTC coverage: 97.701% (+0.4%) from 97.309%
43997796438

push

github

web-flow
build!: adopt pyproject, harden image and Compose (#102)

* 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: precomp... (continued)

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

255 of 261 relevant lines covered (97.7%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43997796438.1 17 Nov 2026 01:44AM UTC 11
97.7
GitHub Action Run
Source Files on build 43997796438
  • Tree
  • List 11
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 963b0437 on github
  • Prev Build on dev (#43983274369)
  • Next Build on dev (#44041269461)
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