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

Featurebranch dkw1263 config from db #87

Merged
merged 14 commits into from
May 9, 2023

Conversation

JanPeterDatakind
Copy link
Contributor

Configuration for projects is now pulled from the DB instead of dot_config.yml file. If the project has not been defined, DOT stops and informs the user immediately instead of after the run. If the project is defined in the dot_config.yml file, the information is NOT taken from the database but from the dot_config.yml file.

Copy link
Collaborator

@lrnzcig lrnzcig left a comment

Choose a reason for hiding this comment

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

from the 3 comments that I left, I would only request changes for the 3rd, i.e. dot/config/example/self_tests/dot_config_local.yml should have the config for self_tests, since if you use that file it's because you want to set self tests locally... let me know if it does not make sense for you

for the rest this is a great PR, and I see you leave untouched the yml in the workflow for the github action to trigger self tests for github

thanks!

@@ -9,12 +9,3 @@ dot_db:
dbname: dot_db
schema: dot
threads: 4
ScanProject1_db:
Copy link
Collaborator

Choose a reason for hiding this comment

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

need to double check, but I this is going to break self tests if you try to run it from docker
personally I don't use the feature, I always run self tests from local and from the execution of PRs in github
so I would agree to remove it, if we know what we are doing, and I would say let's remove it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed as suggested.

@@ -10,12 +10,3 @@ dot_db:
dbname: dot_db
schema: self_tests_dot
threads: 4
ScanProject1_db:
Copy link
Collaborator

Choose a reason for hiding this comment

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

same as above, I would say let's remove

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed as suggested.

@@ -10,12 +10,3 @@ dot_db:
dbname: dot_db
schema: self_tests_dot
threads: 4
ScanProject1_db:
Copy link
Collaborator

Choose a reason for hiding this comment

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

this one I would not remove, used as a reference if you want to setup self tests locally

…reference for setting up self tests locally.
@JanPeterDatakind
Copy link
Contributor Author

@lrnzcig thank you for the review! As you suggested, I reverted the change in 'dot/config/example/self_tests/dot_config_local.yml' and left 'dot_config_github.yml' and 'dot_config_docker.ym'l without 'ScanProject1'.

@JanPeterDatakind JanPeterDatakind requested a review from lrnzcig May 8, 2023 20:33
Copy link
Collaborator

@lrnzcig lrnzcig left a comment

Choose a reason for hiding this comment

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

thanks!

@dividor dividor merged commit b5bc0f8 into develop May 9, 2023
@JanPeterDatakind JanPeterDatakind deleted the featurebranch_dkw1263_config_from_db branch January 16, 2024 16: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