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 start and failure of staging builds to metrics database #21642

Merged
merged 2 commits into from Apr 3, 2018

Conversation

sureshc
Copy link
Contributor

@sureshc sureshc commented Apr 3, 2018

Build on logic in #21415 to also write start of staging builds and when staging build fails.

Copy link

@epeach epeach left a comment

Choose a reason for hiding this comment

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

I'm not super familiar with this area, but with what I know, this looks good to me.

Copy link
Member

@davidsbailey davidsbailey left a comment

Choose a reason for hiding this comment

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

Nice improvement!

aws/ci_build Outdated
# @param [String] commit_hash
# @param [String] status
# @param [String] status - :start, :success, :failed
Copy link
Member

Choose a reason for hiding this comment

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

nit: the type is listed as String, but the values you listed are Symbols. Probably best to list the type as Symbol if you care which is used, or Symbol|String otherwise.

Copy link
Contributor

@wjordan wjordan left a comment

Choose a reason for hiding this comment

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

👍

aws/ci_build Outdated
# @param [String] commit_hash
# @param [String] status
# @param [String] status - :start, :success, :failed
Copy link
Contributor

Choose a reason for hiding this comment

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

(nit) looks like the expected type is [Symbol] not [String] here (though it doesn't seem to make a difference in the current implementation since it's only interpolated in a string)

@sureshc sureshc merged commit 5992efa into staging Apr 3, 2018
@sureshc sureshc deleted the write-staging-build-start-metrics branch July 23, 2018 19:59
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.

None yet

4 participants