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

Add azure speech service keys #35210

Merged
merged 4 commits into from
Jun 9, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions config.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ firebase_max_table_rows: 20000
firebase_max_record_size: 4096
firebase_max_property_size: 4096

# Azure keys for speech service

Choose a reason for hiding this comment

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

config.yml.erb acts as the defaults across all environments, so if you want them in every environment, you should only need to add them here, and not in the development/staging/test/production/levelbuilder yml files. (It would still work the way it is right now, it's just redundant.)

azure_speech_service_key: !Secret
azure_speech_service_region: !Secret

# Configuration Options for Pusher.com integration
# Optional for most devs, very useful if working on Internet Simulator
use_pusher: false
Expand Down
4 changes: 4 additions & 0 deletions config/development.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ custom_error_response: false

# Used for the exporting teacher enrollment data to a gsheet
enrollments_summer_2020_gsheet_key:

# For Azure Speech Service
azure_speech_service_key: !Secret
azure_speech_service_region: !Secret
4 changes: 4 additions & 0 deletions config/levelbuilder.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ acapela_storage_password: !Secret

# Curriculum team needs to be able to see raw HTTP error pages so they can debug the content they are implementing.
custom_error_response: false

# For Azure Speech Service
azure_speech_service_key: !Secret
azure_speech_service_region: !Secret
4 changes: 4 additions & 0 deletions config/production.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ use_pusher: true

# Used for the exporting teacher enrollment data to a gsheet
enrollments_summer_2020_gsheet_key: !Secret

# For Azure Speech Service
azure_speech_service_key: !Secret
azure_speech_service_region: !Secret
4 changes: 4 additions & 0 deletions config/staging.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ poste_attachment_dir: /home/ubuntu/poste_attachments

# Developer of the Day needs to see raw HTTP error pages so they can debug an issue with a staging build.
custom_error_response: false

# For Azure Speech Service
azure_speech_service_key: !Secret
azure_speech_service_region: !Secret
4 changes: 4 additions & 0 deletions config/test.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ azure_content_moderation_key: !Secret
saucelabs_authkey: !Secret
saucelabs_username: !Secret

# For Azure Speech Service
azure_speech_service_key: !Secret
azure_speech_service_region: !Secret

# Disable Secrets for CI, unit-test runs,
# and other non-chef_managed environments (e.g., preloading Spring for Rails tests).
<% if ci_test || !chef_managed -%>
Expand Down