kernelci / kernelci/dashboard

Refactor environment variables to make them simpler

Open
#1,224 0 comments 1 reaction 0 assignees View on GitHub
technical debt
Dominant language
Python
Stars
9
Forks
31
Avg merge
3d 19h
Merged PRs (30d)
16

Description

The current use of environment variables includes overwriting values (from export to docker to backend entrypoint to backend settings), using a json-like env var, reassigning variables that can be static (such as `DB_DEFAULT_ENGINE`), and using default values for variables that should be always set (such as `DB_DEFAULT_NAME`). Those are a couple of things that we could improve in our code

Contributor guide

Open the contributing guide

Research direction

Trace how environment variables flow from export through Docker, the backend entrypoint, and backend settings. Inventory variables that are overwritten, JSON-like, reassigned, or given inappropriate defaults, then clarify the intended single source and required values for each. Done means the environment configuration is simpler and those redundant transformations are removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, devops
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.