Skip to content

Add dry-run ability to servicelog posting#87

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
mrbarge:add_dry_run
May 13, 2021
Merged

Add dry-run ability to servicelog posting#87
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
mrbarge:add_dry_run

Conversation

@mrbarge
Copy link
Contributor

@mrbarge mrbarge commented May 13, 2021

This PR adds a --dry-run parameter to osdctl servicelog post that prints the contents of the servicelog that would be posted, without actually posting it.

With some templates featuring multiple parameters comprising a sentence, I've found a dry-run desirable in order to be able to re-read a servicelog before I actually post it to ensure it makes grammatical sense.

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 13, 2021
@openshift-ci openshift-ci bot requested review from ArielLima and sam-nguyen7 May 13, 2021 05:54
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 13, 2021
Copy link
Contributor

@dastergon dastergon left a comment

Choose a reason for hiding this comment

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

/lgtm

Added a few recommendations so we can have a graceful process shutdown.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 13, 2021
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label May 13, 2021
@dastergon
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 13, 2021
@clcollins
Copy link
Member

/lgtm
/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 13, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clcollins, dastergon, mrbarge

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2021
@openshift-merge-robot openshift-merge-robot merged commit cccf0e5 into openshift:master May 13, 2021
devppratik pushed a commit to devppratik/osdctl that referenced this pull request Aug 23, 2023
Add dry-run ability to servicelog posting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants