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

Support env file #127

Merged
merged 3 commits into from
Jul 9, 2023
Merged

Support env file #127

merged 3 commits into from
Jul 9, 2023

Conversation

umputun
Copy link
Owner

@umputun umputun commented Jul 9, 2023

relatated to #126

This PR adds basic support for env file in yaml format. The default is env.yaml but can be changed in the command line. In case this file is missing, it won't fail and will continue as usual, so the change is back-compatible.

example of env.yml:

vars:
  var1: val1
  var2: val2

@umputun
Copy link
Owner Author

umputun commented Jul 9, 2023

note: the top level vars added intentionally as some day we may want to extend the format to more sophisticated use case

@umputun umputun merged commit 2de3c7d into master Jul 9, 2023
@umputun umputun deleted the env_file branch July 9, 2023 18:19
@coveralls
Copy link

coveralls commented Jun 30, 2024

Pull Request Test Coverage Report for Build 5501284659

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 21 of 25 (84.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 84.683%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/spot/main.go 21 25 84.0%
Totals Coverage Status
Change from base Build 5432095431: -0.01%
Covered Lines: 2488
Relevant Lines: 2938

💛 - Coveralls

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