Commit Graph

127 Commits (206e34067d9c1752116b89af5bcbff68f907dc14)

Author SHA1 Message Date
Randell Dawson 5367bd43e1
fix: rename job names for docs project workflows (#41400) 2021-03-07 08:09:42 -08:00
Nicholas Carrigan (he/him) 55dfa28359
fix(tools): implement better error handling (#41379)
* fix(tools): implement better error handling

Modifies the workflow to validate the branch exists and the PR does
not. This was not blocking any issues, but caused the action to
report a failure.

* fix: apply Randy's review suggestions

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-05 13:00:02 -07:00
Nicholas Carrigan (he/him) 1b93a749ba
fix(tools): use correct branch name (#41369) 2021-03-04 20:30:38 -08:00
Nicholas Carrigan (he/him) 269209e7c3
fix(tools): only camperbot translates (#41366)
* fix(tools): only camperbot translates

Modifies the no pr to translation workflow to fail on any PR that
was not created by camperbot.

* fix(tools): update message

* Update .github/workflows/no-prs-to-translation.yml

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-04 20:56:42 -07:00
Nicholas Carrigan (he/him) 4fe3828537
feat(tools): automatic crowdin prs (#41365)
* feat(tools): automatic crowdin prs

Enables automatic PR creation on all download scripts.

* feat: CRON everything

* fix(tools): stagger workflows
2021-03-04 20:54:17 -07:00
Nicholas Carrigan (he/him) c000c7ab11
fix(tools): use new token thanks Randy (#41362)
* fix(tools): temp disable cron

* fix: new token thanks Randy
2021-03-04 14:46:34 -08:00
Nicholas Carrigan (he/him) fa6b11f359
fix(tools): set crowdin cron job (#41361)
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
2021-03-05 02:01:40 +05:30
Mrugesh Mohapatra 78e739cb53
fix(actions): include docs in no-translation (#41358) 2021-03-04 08:00:51 -08:00
Mrugesh Mohapatra de745ad218
fix(CI): update workflows (#41319) 2021-03-01 11:45:21 +03:00
Mrugesh Mohapatra b5f4754e2a
fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-25 12:02:35 -08:00
Oliver Eyton-Williams b73022c81b
fix: make missing scripts fail linting/testing (#41260)
If a script is not present, we would like an error letting us know.
2021-02-25 20:06:01 +05:30
Mrugesh Mohapatra 8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Randell Dawson c6d8996f39
fix(tool): Added more files to restrict from direct translations (#41243)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-25 00:58:16 +05:30
Nicholas Carrigan (he/him) cadfa4f767
docs(i18n): enable portuguese (#41232)
Makes the necessary changes to the workflow and documentation files
to enable the Portuguese translations.
2021-02-23 10:46:09 +05:30
Oliver Eyton-Williams c077ffe4b9
feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Oliver Eyton-Williams fd7b63c8d7
fix: no translation action (#41212)
* fix: no translation action body quotes

* refactor: more canonical no translation script
2021-02-21 07:24:38 -08:00
Nicholas Carrigan (he/him) 037cd95d3d
fix: revert suggestions to workflow (#41199)
* fix: revert suggestions to workflow

* fix: one more await
2021-02-20 16:33:35 -07:00
Nicholas Carrigan (he/him) 950841c25e
fix(tools): no i18n workflow (#41157)
* fix(tools): adjust no-translate workflow

Modifies the no-prs-to-translation workflow to target our new `main`
branch, and verify that the PR comes from a forked repository.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-18 17:04:03 +01:00
Randell Dawson 29586e7082
fix: create separate steps for chinese and spanish downloads (#41143) 2021-02-16 18:11:42 -08:00
Randell Dawson 99d0763550
fix: only download chinese and spanish docs (#41114) 2021-02-14 11:48:20 -08:00
Randell Dawson e8986f6cfc
fix: skip untranslated files for curriculum download (#41059) 2021-02-11 12:24:18 -08:00
Randell Dawson dc810022d1
fix: do not skip untranslated files in download (#41058) 2021-02-11 19:51:03 +01:00
Nicholas Carrigan (he/him) 19d10ef925
fix(tools): fix my fix (#41057)
Try again :)
2021-02-11 22:50:39 +05:30
Nicholas Carrigan (he/him) 26564419fd
fix(tools): allow partial translation (#41055)
* fix(tools): allow partial translation

Modifies the workflow to allow for partial download of translations
to ensure we get all keys in the translation object even if they
still have english values.

NOTE: Sets workflow to dry run for testing purposes. Will need to
revert that setting.

* revert(tools): no dry run
2021-02-11 09:55:34 -07:00
Mrugesh Mohapatra 149cf95310
chore(crowdin): re-arrange crowdin config files (#41046) 2021-02-10 11:06:13 -07:00
Randell Dawson c3a0793be2
fix(tools, crowdin): do not skip downloading untranslated files (#40922) 2021-02-05 13:39:09 +05:30
Mrugesh Mohapatra c4021bc57f
chore: please use short branch names (#40920) 2021-02-04 23:41:41 -07:00
Randell Dawson 7eb6bfc127
fix(tools): Download all languages from Crowdin (#40849) 2021-02-01 09:34:36 +05:30
Randell Dawson cc223a9e54
fix: do not upload translations (#40848) 2021-01-31 12:41:24 -08:00
Randell Dawson b07a9116b6
feat: use crowdin for client ui translations (#40841) 2021-01-31 13:48:52 +05:30
Randell Dawson 32e80aa351
fix(docs): Configure docs folder with Crowdin (#40776) 2021-01-25 08:39:57 +05:30
Nicholas Carrigan (he/him) 69b181ee97
fix: disable automatic PR creation (#40753)
Temporarily disables the automatic PR creation on Crowdin Download while
we determine the best approach for this. PRs created by the action
itself cannot trigger workflows, which prevents our CI from running. As
such, this is currently not a viable approach.


Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-21 11:30:16 +05:30
Nicholas Carrigan (he/him) f159ad873c
fix(tools): adjust comment message (#40711)
* fix: adjust comment message

Changes the message this action uses for a PR comment to remove the
reference to the translation page pending announcement.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: expand comment

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-15 16:12:02 -07:00
Mrugesh Mohapatra d3149dc9ca fix: update catch translations actions (#40705)
* fix: update catch translations actions

* Update .github/workflows/no-prs-to-translation.yml
2021-01-15 19:06:44 +05:30
Mrugesh Mohapatra 2c190c5fff
chore: update action name 2021-01-15 18:30:31 +05:30
Mrugesh Mohapatra 398b560802
chore: update the upload action name 2021-01-15 18:30:04 +05:30
Randell Dawson d58d37ff98
chore: modify workflow to not upload translations anymore (#40696) 2021-01-13 12:48:43 -08:00
Nicholas Carrigan (he/him) 94190f51fc
feat(tools): add action to check for translations (#40692)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-01-13 23:00:52 +05:30
Randell Dawson 0095583028
feat: Crowdin integration scripts/actions (#40657) 2021-01-12 23:50:54 +05:30
Mrugesh Mohapatra e7db3386ed
chore: update CodeQL Scanning (#40511) 2020-12-21 16:25:42 +01:00
Twaha Rahman 45fe3d8814
fix(cypress): Re-introduce Firefox in Cypress CI (#40440)
* Revert "chore: drop firefox for intermittent fails"

This reverts commit 704beb2260.

* Increase timeout for Cypress learn log output test
2020-12-14 18:50:48 +01:00
Twaha Rahman bf0c49f9b4
chore(cypress): migrate to Cypress v6 (#40396)
* Update Cypress version from 5.3.0 to 6.0.0

* Replace `not.be.visible` with `not.exist`

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-12-07 11:02:52 +01:00
Oliver Eyton-Williams aebe53312c
chore: Cypress action v1 -> v2 (#40253) 2020-11-17 14:22:15 +03:00
Mrugesh Mohapatra cfb0695e9e fix(crowdin): update github action 2020-10-22 04:20:19 +05:30
Oliver Eyton-Williams d94a240cf4
fix(cypress): update setting of env vars (#39962) 2020-10-13 17:22:06 +05:30
Mrugesh Mohapatra b37c493d2f chore(actions): adjust labels for crowdin 2020-10-09 17:29:55 +02:00
Mrugesh Mohapatra 643cd81063 feat(tools): enable dependabot updates 2020-10-09 17:29:55 +02:00
Mrugesh Mohapatra eab14b8235
fix(CI): update runner, display .env for upcoming (#39808) 2020-10-07 16:20:59 +05:30
Mrugesh Mohapatra 7a1590363a
chore: set env in env file 2020-10-06 23:33:48 +05:30
Mrugesh Mohapatra d82ffb381d
chore: rename file to yaml 2020-10-06 23:30:22 +05:30
Mrugesh Mohapatra e725774565
chore(CI): periodic check SHOW_UPCOMING_CHANGES (#39806) 2020-10-06 23:28:31 +05:30
Mrugesh Mohapatra 5bf84ae475
fix(crowdin): remove push events and use manual runs (#39770) 2020-10-02 00:02:13 +05:30
Mrugesh Mohapatra 5a42caffb1 fix(crowdin): update config and exclude files 2020-10-01 23:52:16 +05:30
Mrugesh Mohapatra 18d2c92da1
fix(i18n): remove debug code and activate crowdin (#39733) 2020-09-30 16:40:06 +05:30
Mrugesh Mohapatra 63efc10eca
feat(i18n): crowdin actions for docs (#39730) 2020-09-30 16:19:48 +05:30
Mrugesh Mohapatra 704beb2260 chore: drop firefox for intermittent fails 2020-09-25 00:37:40 +05:30
Mrugesh Mohapatra 3ac415154c chore(actions): cache dependencies 2020-09-25 00:37:40 +05:30
Twaha Rahman 40a190318b
fix(tests): run e2e tests on Chrome and Firefox (#39568)
* Add scripts for Cypress to run on other browsers

* Run Cypress on different browsers in workflow

* Install Brave and run it in Cypress

* Run Cypress on only CHrome and FIrefox

* Revert Cypress plugin
2020-09-14 12:37:00 +05:30
Mrugesh Mohapatra 1603e5beba
chore: remove travis integration (#39390) 2020-08-11 02:07:19 +05:30
Mrugesh Mohapatra 6e16a50329 fix(tools): fix syntax errors and test special branch 2020-08-09 01:44:36 +05:30
Mrugesh Mohapatra e242852bef fix(tools): misc. updates to action workflows 2020-08-09 00:58:13 +05:30
Mrugesh Mohapatra 5c60070cc5 fix(tools): add node.js CI tests 2020-08-09 00:56:22 +05:30
Mrugesh Mohapatra cb4a2d5f91 chore(tools): remove merge-conflict action 2020-08-08 23:40:25 +05:30
Mrugesh Mohapatra f6468f9053
chore: name workflow better 2020-08-06 14:21:02 +05:30
Twaha Rahman d10a584b9c
feat(tools): add LightHouse CI to the GitHub workflows (#39353) 2020-08-06 14:14:53 +05:30
Oliver Eyton-Williams 15d0737cff chore: bump root 2020-08-04 03:50:20 +05:30
Randell Dawson 0f7fc6d91b
fix: set merge conflict Action to run every 12 hours instead of every 15 minutes (#39335)
* fix: run action every 12 hours

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-07-29 14:16:48 +02:00
Randell Dawson 2cfee3ae96
fix: set Action on 15 minute schedule (#39327) 2020-07-27 19:07:03 +02:00
Oliver Eyton-Williams 5337932fd8
fix: lock Ubuntu version for Cypress (#39322) 2020-07-27 18:06:58 +05:30
Randell Dawson cade7396b3
chore(tools): Add GitHub Action to label merge conflicts (#39317)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-07-27 14:46:53 +05:30
Mrugesh Mohapatra 8c208865f7
feat: create codeql for static analysis (#39106) 2020-06-20 01:44:20 +05:30
Mrugesh Mohapatra 0fd8b7a6db
feat: update cypress version and config (#38892) 2020-06-10 01:47:13 +05:30
Oliver Eyton-Williams 65416fd351
test: record only if key is present (#38748) 2020-05-07 15:26:18 +05:30
Mrugesh Mohapatra 1dabaf8405
feat: enable github integration (#38678)
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-04-30 15:03:00 +05:30
Mrugesh Mohapatra ba053b7abe
chore(e2e): update cypress config (#38676) 2020-04-29 16:47:06 +05:30
Mrugesh Mohapatra 6a1bb78142
fix/limit-branches 2020-04-29 16:20:14 +05:30
Oliver Eyton-Williams 54c6190361 feat: add GitHub action for e2e testing 2020-04-23 01:42:24 +05:30