Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci upgrades #28

Merged
merged 24 commits into from
Oct 25, 2024
Merged

Ci upgrades #28

merged 24 commits into from
Oct 25, 2024

Conversation

unenglishable
Copy link
Collaborator

run github workflows for static code analysis, testing, image build and push

pushes docker image to this ghcr for this repo upon success

contains refactoring for configs, updates code to pass tests, refactor/style fixes for static code analysis

these are not needed for this proxy version of the project.. yet
previously didn't pass credo checks for cyclomatic complexity

separating functionality lowers complexity below acceptable threshold
conditionally show debug logs in production

move proxy configs out of emailer config block

move functionality for proxy_config from config/config.exs to
config/runtime.exs

section off proxy_config for prod, dev, default(test)

provide more solid default configs for dev/test and fail conditions for
unconfigured values in prod

don't configure proxy repo in :test env
consolidated into config/runtime proxy :dev section
… test

prevent test from trying to run proxy code
don't run proxy by_category if boards seq is lower than 0 (test mode)
push docker image to github container registry
refactor for edge case; code was failing when thread did not exist
@akinsey akinsey merged commit 727bf89 into main Oct 25, 2024
4 checks passed
@akinsey akinsey deleted the ci branch October 25, 2024 21:45
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.

2 participants