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 deploy_to_test bugs and define DEVELOPERS. #13681

Merged
merged 1 commit into from Mar 8, 2017
Merged

Conversation

ashercodeorg
Copy link
Contributor

Really, the DEVELOPERS string should be in ChatClient or Slack. This is planned in another PR, encompassing not just these usages but all usages of room names across our codebase.

@@ -1,40 +1,42 @@
#!/usr/bin/env ruby

require_relative '../../deployment'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Necessary for the cdo requires to be found.

raise unless current_topic.include? TOPIC_DTT_YES
new_topic = current_topic.gsub(TOPIC_DTT_YES, TOPIC_DTT_IN_PROGRESS)
Slack.update_topic(new_topic)
Slack.update_topic(DEVELOPERS, new_topic)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, update topics require a room.

end

def main
unless dtt_yes?
ChatClient.message(
'infra-test',
"robo-DTT skipped (\#developers topic is #{current_topic}).",
'robo-DTT skipped (DTT was not yes)',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, after some refactor change, current_topic is not defined in this scope.

@@ -52,7 +54,7 @@ def main
raise Exception.new('GitHub.create_and_merge_pull_request failed.')
end

ChatClient.mesage(
ChatClient.message(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, spelling.

Copy link
Contributor

@islemaster islemaster left a comment

Choose a reason for hiding this comment

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

👍

@ashercodeorg ashercodeorg merged commit daa801f into staging Mar 8, 2017
@ashercodeorg ashercodeorg deleted the fixMistakes branch March 8, 2017 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants