Skip to content

Split dynamic and static configuration#36

Open
sgallagher wants to merge 7 commits into
fedora-eln:mainfrom
sgallagher:config_split
Open

Split dynamic and static configuration#36
sgallagher wants to merge 7 commits into
fedora-eln:mainfrom
sgallagher:config_split

Conversation

@sgallagher

Copy link
Copy Markdown
Member

Split configuration loading into static and dynamic modules

Move config parsing into elnbuildsync.config with separate static
and dynamic loaders, relocate trigger_tag to control, and update
daemon and build pipeline callers.

Signed-off-by: Stephen Gallagher sgallagh@redhat.com
Co-authored-by: Cursor cursoragent@cursor.com

tests: Split config fixtures under tests/etc/local and tests/etc/crc

Replace monolithic local_testconfig.yaml and crc_testconfig.yaml with
production-aligned static and dynamic YAML files plus moved secrets.

Signed-off-by: Stephen Gallagher sgallagh@redhat.com
Co-authored-by: Cursor cursoragent@cursor.com

tests: Update config parsing tests for static/dynamic split

Adjust unit tests for the new config package layout, control.trigger_tag,
and separate static/dynamic load paths.

Signed-off-by: Stephen Gallagher sgallagh@redhat.com
Co-authored-by: Cursor cursoragent@cursor.com

deploy: Load static and dynamic config from separate sources

Update run.sh, local and OpenShift test scripts, and Helm secrets for
elnbuildsync.yaml and elnbuildsync_dynamic.yaml.

Signed-off-by: Stephen Gallagher sgallagh@redhat.com
Co-authored-by: Cursor cursoragent@cursor.com

docs: Document static and dynamic configuration layout

Signed-off-by: Stephen Gallagher sgallagh@redhat.com
Co-authored-by: Cursor cursoragent@cursor.com

config: Add debug logging

Signed-off-by: Stephen Gallagher sgallagh@redhat.com

config: Rename the config git repo file

Signed-off-by: Stephen Gallagher sgallagh@redhat.com

Fixes: #33

sgallagher and others added 3 commits June 16, 2026 10:43
Move config parsing into elnbuildsync.config with separate static
and dynamic loaders, relocate trigger_tag to control, and update
daemon and build pipeline callers.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace monolithic local_testconfig.yaml and crc_testconfig.yaml with
production-aligned static and dynamic YAML files plus moved secrets.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Adjust unit tests for the new config package layout, control.trigger_tag,
and separate static/dynamic load paths.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@sgallagher sgallagher requested a review from bhoy-troy June 16, 2026 14:55
@sgallagher sgallagher self-assigned this Jun 16, 2026
sgallagher and others added 4 commits June 16, 2026 14:17
Update run.sh, local and OpenShift test scripts, and Helm secrets for
elnbuildsync.yaml and elnbuildsync_dynamic.yaml.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
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.

Handle infrastructure configuration separate from runtime configuration

1 participant