Skip to content

Turning on Samoan in production - #51354

Merged
mgc1194 merged 2 commits into
stagingfrom
p20-100/enable-samoan-in-production
Apr 14, 2023
Merged

Turning on Samoan in production#51354
mgc1194 merged 2 commits into
stagingfrom
p20-100/enable-samoan-in-production

Conversation

@mgc1194

@mgc1194 mgc1194 commented Apr 14, 2023

Copy link
Copy Markdown
Contributor

Samoan was recently added to supported languages.
After turning off the supported flags in cdo-languages Google sheet, a unit tests began to fail, blocking our deployment pipeline.
The unit tests failing was test_i18n_hoc_routes.rb
the test failed because there wasn't a pegasus/sites.v3/hourofcode.com/i18n/sm.yml file
After samoan was added to the sync, etags where correctly created for the new language, but hour of code files were not committed, resulting in an incomplete sync.

This PR manually adds sm.yml to the pegasus/sites.v3/hourofcode.com/i18n directory to unblock the failing test.

Additionally, this PR removes the Debug flag for samoan in locales.yml

Links

Testing story

Ran a mini sync to test that hourofcode files for samoan where synced down and out.
I locally ran the test_i18n_hoc_routes.rb and successfully passed.

@mgc1194
mgc1194 requested a review from a team as a code owner April 14, 2023 18:55

@daynew daynew left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Another task after this is merged is to also update cdo-languages.csv and then merge a manual change on staging for pegasus/data/cdo-languages.csv, right?

@mgc1194

mgc1194 commented Apr 14, 2023

Copy link
Copy Markdown
Contributor Author

Updating the Google sheet should trigger those changes in the next staging build.

@mgc1194
mgc1194 merged commit 5daf45d into staging Apr 14, 2023
@mgc1194
mgc1194 deleted the p20-100/enable-samoan-in-production branch April 14, 2023 22:25
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