Skip to content

Feature/issue 178/build docker image#194

Merged
Asanto32 merged 21 commits into
mainfrom
feature/issue-178/build-docker-image
May 16, 2025
Merged

Feature/issue 178/build docker image#194
Asanto32 merged 21 commits into
mainfrom
feature/issue-178/build-docker-image

Conversation

@Asanto32
Copy link
Copy Markdown
Collaborator

@Asanto32 Asanto32 commented May 6, 2025

Resolves #178
Create a docker image of the latest version of wristpy. This PR also include the github action that generates a new Docker container for the latest release (triggered on pushes to main and new version release).

We enable passing environment variables for customization of the docker run.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.14%. Comparing base (38a11e0) to head (b2e708b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #194   +/-   ##
=======================================
  Coverage   96.14%   96.14%           
=======================================
  Files          13       13           
  Lines         778      778           
=======================================
  Hits          748      748           
  Misses         30       30           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread .github/workflows/release.yaml Fixed
Comment thread .github/workflows/release.yaml Fixed
Comment thread .github/workflows/release.yaml Fixed
Comment thread .github/workflows/release.yaml Fixed
Comment thread .github/workflows/release.yaml Fixed
Comment thread .github/workflows/release.yaml Fixed
Removed verbosity env var
Comment thread README.md
Asanto32 added 3 commits May 12, 2025 10:24
Small documentation changes for running a single file through docker + punctuation.
Type dependency click causing issue with cli tests for python > 3.9. Modified tests here
Move to cmidair dockerhub
Comment thread .github/workflows/release.yaml Fixed
Comment thread .github/workflows/release.yaml Fixed
Asanto32 added 2 commits May 16, 2025 11:37
Reverting to run action only push to main
@Asanto32 Asanto32 requested a review from reindervdw-cmi May 16, 2025 15:44
Copy link
Copy Markdown
Contributor

@reindervdw-cmi reindervdw-cmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I'd just make sure you don't include the pngs (and any other large files)

Comment thread dockerfile
FROM python:3.11-buster

WORKDIR /app
COPY . /app/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this copy more specific, or add a .dockerignore, to avoid copying unnecessary large files like the documentation pngs into the docker image?

Asanto32 and others added 2 commits May 16, 2025 12:25
Adding simple docker ignore to decrease docker image size
@Asanto32 Asanto32 merged commit 8ae0163 into main May 16, 2025
26 checks passed
@Asanto32 Asanto32 deleted the feature/issue-178/build-docker-image branch May 16, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Containerize Wristpy

4 participants