Skip to content

Use common uwsgi config, update Dockerfile, address Sonarcloud issues#58

Merged
danipran merged 5 commits into
mainfrom
RATYK-199/sonarcloud-issues
May 6, 2026
Merged

Use common uwsgi config, update Dockerfile, address Sonarcloud issues#58
danipran merged 5 commits into
mainfrom
RATYK-199/sonarcloud-issues

Conversation

@danipran

@danipran danipran commented Apr 30, 2026

Copy link
Copy Markdown
Contributor
  • Use common uwsgi config
  • Update Dockerfile to match Dockerfiles in other projects
  • Pass only SONAR_TOKEN to common workflow
  • Add uwsgi service in compose.yaml, for running an uwsgi environment locally
  • Wrap variables in double quotes
  • Move test_settings.py under tests
  • Explicitly tell pip to expect hashes and to not install any other dependencies than the ones listed in requirements files
  • Require binary only on pip/setuptools/wheel upgrade

Refs: RATYK-199

@danipran danipran force-pushed the RATYK-199/sonarcloud-issues branch from ac3d035 to 28232f2 Compare April 30, 2026 11:48
- Make Dockerfile more in line with other projects' Dockerfiles
- Use City of Helsinki common uwsgi configurations
- Require hashes in pip install
- Do not install dependencies of dependencies

Refs: RATYK-199
For running a production-like environment locally.

Refs: RATYK-199
To make it even more explicit that yes, these are test settings.

Refs: RATYK-199
@danipran danipran force-pushed the RATYK-199/sonarcloud-issues branch from 28232f2 to e9d7215 Compare April 30, 2026 11:59
Comment thread .docker/Dockerfile Fixed
Comment thread .docker/Dockerfile Fixed
Comment thread .docker/Dockerfile Fixed
@danipran danipran changed the title Ratyk 199/sonarcloud issues Use common uwsgi, update Dockerfile, address Sonarcloud issues Apr 30, 2026
@danipran danipran marked this pull request as ready for review April 30, 2026 12:09
@danipran danipran requested a review from a team as a code owner April 30, 2026 12:09
Comment thread .docker/Dockerfile
@sonarqubecloud

Copy link
Copy Markdown

@danipran danipran changed the title Use common uwsgi, update Dockerfile, address Sonarcloud issues Use common uwsgi config, update Dockerfile, address Sonarcloud issues Apr 30, 2026
@danipran danipran merged commit 527cd6c into main May 6, 2026
28 checks passed
@danipran danipran deleted the RATYK-199/sonarcloud-issues branch May 6, 2026 09:43
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.

3 participants