Skip to content

update etl configuration input to yml instead of environment variables#1795

Open
adamkorynta wants to merge 6 commits into
developfrom
feature/etl_follow_up
Open

update etl configuration input to yml instead of environment variables#1795
adamkorynta wants to merge 6 commits into
developfrom
feature/etl_follow_up

Conversation

@adamkorynta

Copy link
Copy Markdown
Collaborator

Summary

  • file system staging update for projects, locations, and timeseries
  • add in REGI files to VCS
  • add in docker environment for running python tests
  • move etl calls to parent docker-compose file
  • let the source URL be optional, if not set only use staged filesystem resources

Related Issue

Validation

Unit tests and docker compose in local dev environment

Checklist

  • AI tools used - GH Copilot for README.md generation, logger messages, yml parsing, and code review

- file system staging update for projects, locations, and timeseries
- add in REGI files to VCS
- add in docker environment for running python tests
- move etl calls to parent docker-compose file
- let the source URL be optional, if not set only use staged filesystem resources
@adamkorynta adamkorynta requested a review from krowvin June 22, 2026 17:56
@adamkorynta

Copy link
Copy Markdown
Collaborator Author

@dezidizon please review revisions to @RyanM-RMA's initial implementation

@adamkorynta adamkorynta changed the title update configuration input to yml instead of environment variables update etl configuration input to yml instead of environment variables Jun 22, 2026

@dezidizon dezidizon left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Performed code review and only found minor changes to capitalize several print out statements. This code is ready for merging even without implementing the requested updates.

Comment thread cda-etl/src/cda_etl/config.py Outdated
Comment thread cda-etl/src/cda_etl/config.py Outdated
Comment thread cda-etl/src/cda_etl/config.py Outdated
Comment thread cda-etl/src/cda_etl/config.py Outdated
Comment thread cda-etl/src/cda_etl/config.py Outdated
adamkorynta and others added 3 commits June 23, 2026 12:44
Co-authored-by: dezidizon <47678178+dezidizon@users.noreply.github.com>

@MikeNeilson MikeNeilson left a comment

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.

Seems reasonable. Mostly commenting to track what I've already looked at.

Comment thread cda-etl/README.md

## Configuration Overview

The main runtime configuration is stored in a YAML file, defaulting to `regi.yml` in the working directory.

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.

Might want to name this something other than REGI. Not a major issue, but we might get less, I'll go with "side eye", if we use a more generic name.

Comment thread cda-etl/build.gradle

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.

This likely doesn't need to be quite as detailed as this is (dealing with Oracle intricacies) https://github.com/HydrologicEngineeringCenter/cwms-database/blob/devops/flyway_migration/database-plugin/build.gradle, but it can help the flow of the build files to keep that more complex execution logic out of the main build.gradle files.

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