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

Add '--dry-run' option for 'ceremony' and 'sign' commands #630

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

MVrachev
Copy link
Member

@MVrachev MVrachev commented Jun 21, 2024

Description

The '--dry-run' option scope is regarding the command output.
This means that when the option is used it will not influence the
input options.
Instead, it will directly interfere with the output. If '--dry-run'
is used, then the CLI will ignore both '--api-server' admin option
and the RSTUF configuration file and its corresponding SERVER option.

Signed-off-by: Martin Vrachev [email protected]

Related to #533.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality not to work as expected)

Additional requirements

  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

Code of Conduct

By submitting this PR, you agree to follow our Code of Conduct.

  • I agree to follow this project's Code of Conduct

@MVrachev MVrachev self-assigned this Jun 21, 2024
MVrachev added 3 commits June 26, 2024 16:42
The '--dry-run' option scope is regarding the commands output.
This means that when the option is used it will not influence the
input options.
Instead it will directly interfere with the output. If '--dry-run'
is used, then the CLI will ignore both '--api-server' admin option
and the RSTUF configuration file and it's corresponding SERVER option.

Signed-off-by: Martin Vrachev <[email protected]>
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.96%. Comparing base (47d0a69) to head (1c99491).
Report is 110 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #630      +/-   ##
==========================================
+ Coverage   98.90%   98.96%   +0.06%     
==========================================
  Files          20       30      +10     
  Lines        1367     1936     +569     
==========================================
+ Hits         1352     1916     +564     
- Misses         15       20       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MVrachev MVrachev merged commit 7ead543 into repository-service-tuf:main Jun 26, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants