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

Log mutations and present PR details to user #143

Merged
merged 4 commits into from
Nov 26, 2021
Merged

Log mutations and present PR details to user #143

merged 4 commits into from
Nov 26, 2021

Conversation

bittrance
Copy link
Contributor

@bittrance bittrance commented Nov 24, 2021

gitops-promotion is written in the style of a cli tool. As such, it should not spam unnecessarily. However, when running in a pipeline you sometimes want to look at old runs where it is not always obvious e.g. what commits were actually visible at the time, we need some logging. This PR introduces a bit of daemon-style logging in the hope that issues can be debugged more easily. It also improves on the central messages from new and promote commands to say what PR was created and what its branch is called. This is generally useful, but is particularly pertinent if we merge #136 which may create more than one PR which differ only in the container sha.

@bittrance bittrance self-assigned this Nov 24, 2021
@bittrance bittrance force-pushed the basic-logging branch 6 times, most recently from d82be82 to 1488ba0 Compare November 25, 2021 22:58
@bittrance bittrance changed the base branch from pr-per-env to main November 25, 2021 23:12
@bittrance bittrance changed the title Basic logging Log mutations and present details to user Nov 25, 2021
@bittrance bittrance marked this pull request as ready for review November 25, 2021 23:21
@bittrance bittrance changed the title Log mutations and present details to user Log mutations and present PR details to user Nov 25, 2021
Copy link
Member

@simongottschlag simongottschlag left a comment

Choose a reason for hiding this comment

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

Great job @bittrance! Left a few comments but mostly questions. 😊

@bittrance bittrance merged commit 1b78422 into main Nov 26, 2021
@bittrance bittrance deleted the basic-logging branch February 3, 2022 16:53
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