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

Fix Slack command /set-last-dtt-green #23181

Merged
merged 4 commits into from Jun 19, 2018
Merged

Conversation

islemaster
Copy link
Contributor

I noted in my dev-of-the-day log yesterday:

I used the slack command /set-last-dtt-green today. It updated the green commit in #infra-test but didn't update the topic in #deploy-status to "DTT: yes" so no subsequent DTT started until I set it manually.

Upon investigation today I learned that it would have updated the deploy-status topic if I'd passed an additional parameter, but this is unintuitive and out of sync with our current process.

Here I've removed that parameter, and centralized the logic for marking a DTT green/red so that our DOTD script, Slack slash command, and auto-green logic all run the same set of steps when recording a DTT result.

Centralizes logic for marking a DTT red or green to ensure that our DOTD script, slack command, and auto-green logic all do the same thing.
Copy link
Contributor

@maddiedierker maddiedierker left a comment

Choose a reason for hiding this comment

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

👍 this looks good to me!

@islemaster islemaster merged commit c61d350 into staging Jun 19, 2018
@islemaster islemaster deleted the fix-set-last-dtt-green branch June 19, 2018 21:17
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

2 participants