1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Commit Graph

1132 Commits

Author SHA1 Message Date
Peter Bengtsson
20ad46f240 run 'Link Checker: All English' on ubuntu-20.04-xl (#28574) 2022-06-16 17:46:50 +00:00
Peter Bengtsson
9e242eacb7 run jest tests on ubuntu-20.04-xl (#28568)
* run jest tests on ubuntu-20.04-xl

* cpu debug info

* compare with unbuntu-latest

* tidy back up
2022-06-16 16:09:27 +00:00
Peter Bengtsson
c3e8b23dde run 'Check all English links' on ubuntu-20.04-xl (#28566)
* run 'Check all English links' on ubuntu-latest

* that didn't work

* ubuntu-20.04-xl

* increase patience in waiting for server
2022-06-16 15:36:04 +00:00
Kevin Heis
8f83f60766 Remove pa11y (#28532)
* Remove pa11y

* Lock types/react
2022-06-15 20:55:27 +00:00
Peter Bengtsson
da5884ebe3 reduce linkinator concurrency from 300 to 100 (#28176)
* reduce linkinator concurrency from 300 to 100

* reduce it and use self-hosted

* try again

* actually do concurrency of 10

* move the override to the Action workflow

* typo

* avoid memory bloat

* rename

* back to 100

* set LINKINATOR_CONCURRENCY on the right thing

* remove some debugging
2022-06-13 18:51:09 +00:00
Peter Bengtsson
53f4faeddb definitely run on self-hosted (#28444) 2022-06-13 16:35:08 +00:00
Peter Bengtsson
46c701b863 DISABLE_REWRITE_ASSET_URLS for some Actions (#28165) 2022-06-13 08:59:16 -04:00
Robert Sese
b3af722730 Fix daily link checker (#28346)
* reduce linkinator concurrency from 300 to 100

* reduce it and use self-hosted

* try again

* actually do concurrency of 10

* move the override to the Action workflow

* Trying `DISABLE_RENDERING_CACHE`

* back to 100?

* super low concurrency

* 3??

* 1??

* try self-hosted + 100 concurrency

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-06-09 16:48:02 -05:00
Peter Bengtsson
831a93bc49 correct env var name in all English link checker (#28356) 2022-06-09 21:39:40 +00:00
Hector Alfaro
518677a7b1 Content changes table: Add a max size (#28224)
add a max size for content changes table
2022-06-03 17:23:39 +00:00
Peter Bengtsson
e32260a358 Pin to node-version 16.15.0 to get npm 8.5.5 on all runners (#28186)
* why is 'npm ci' no longer working

* ls

* check

* check

* check3

* ubuntu-latest

* debugging more

* debugging more

* before and after

* ubuntu-latest

* try upgrading actions/setup-node

* pin to exactly 16.15.0 for npm 8.5.5

* node-version 16.15.1 EVERYWHERE

* fix cleanup
2022-06-02 09:51:14 -04:00
Peter Bengtsson
31c3fc36b2 don't fail on posting comment from English link checker (#28059)
* don't fail on posting comment from English link checker

* small correction on line break and longer timeout patience

* feedbacked
2022-05-31 18:05:39 +00:00
Peter Bengtsson
952c0d417a cope with removed files in content-changes-table-comment.js (#27979)
* cope with removed files in content-changes-table-comment.js

* handle content changes files async

Co-authored-by: Hector Alfaro <hectorsector@github.com>
2022-05-31 14:59:49 +00:00
brannon
084d3d7bd1 Remove the Signal Science container from the staging template.
Remove the Slack channel notification from the staging workflow.
2022-05-30 15:22:14 -06:00
brannon
639b8b9a27 Merge branch 'main' into brannon-staging-deploy-2 2022-05-29 20:51:48 -06:00
Brannon Jones
0cc67fe761 Update .github/workflows/azure-staging-build-deploy.yml
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-05-27 16:51:56 -07:00
Peter Bengtsson
c35b134806 using env.COMMIT_REF not github.sha for the BUILD_SHA (#27989) 2022-05-27 22:52:17 +00:00
Peter Bengtsson
f312e634c6 don't deploy preview if auto-merge enabled (#27949) 2022-05-27 11:19:11 +00:00
Peter Bengtsson
18504871b9 cache full rendering (#25424)
* cache full rendering

* still not working with gzip

* progress progress progress

* smaller

* hacky progress

* small fixes

* wip

* lock file

* wip

* wip

* package-lock updates

* wip

* search DOM in lowercase

* simplify

* with instrument

* improve test coverage

* mutateCheeriobodyByRequest

* fix

* remove renderContentCacheByContex

* disable render caching in sync-search

* diables things in github/github link checker

* gzip lru

* tidying up

* updated

* correct tests

* fix: move userLanguage to LanguagesContext

* Revert "fix: move userLanguage to LanguagesContext"

This reverts commit d7c05d958c71eaad496eb46764eb845d80b866ca.

* contexts ftw

* fixed rendering tests

* oops for got new file

* nits addressed

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2022-05-23 12:12:09 +00:00
Peter Bengtsson
e2ec55c7d8 use shorthand to calm codeql warnings (#27882)
* use shorthand to calm codeql warnings

* there was more
2022-05-21 18:50:56 +00:00
Peter Bengtsson
4d288d9717 test CI with Node 16.15 (#27825) 2022-05-19 19:12:18 +00:00
Peter Bengtsson
006c507d8d don't fire-and-forget preview deploys (#27828) 2022-05-19 16:50:39 +00:00
Peter Bengtsson
d5cef9c5d6 run link checker against localhost:4000 instead of prod (#27757)
* run link checker against localhost:4000 instead of prod

* exclude docs.github.com

* print output if possible

* upload broken_links.md as artifact

* debug broken_links.md
2022-05-19 13:12:07 +00:00
brannon
3357a607ed Environment url should reference env variable instead of secret. 2022-05-18 16:37:43 -06:00
brannon
5ae81c09e8 Add initial staging deployment workflow. 2022-05-18 16:19:54 -06:00
Robert Sese
f802528af7 Localization: duplicate translation workflow for testing with msft repos (#27790)
* duplicate translation workflow for msft repos

* use duplicate script for creating translation pr

* comment out unsued functions

Co-authored-by: Hector Alfaro <hectorsector@github.com>
2022-05-18 12:05:03 -05:00
Brannon Jones
d0e57a4800 Add stub workflow for staging deployments (#27755)
* Add stub workflow for staging deployments.

* Make sure the no-op step has a `run` value
2022-05-17 18:25:08 +00:00
Peter Bengtsson
5630a4139a process.env.DISABLE_OVERLOAD_PROTECTION (#27692) 2022-05-13 15:29:52 -07:00
Brannon Jones
f6eb2013ae Rename the App Service 'staging' slot to 'canary' (#27686) 2022-05-13 12:55:19 -07:00
Peter Bengtsson
677d6a0bc9 unbreak sync-search by making overload protection configurable (#27680) 2022-05-13 16:51:37 +00:00
Robert Sese
b0641c98af GHES release checklist update: push LFS objects before merging the PR (#27618)
Push LFS objects before merging the PR
2022-05-12 15:28:13 +00:00
Peter Bengtsson
36da8f2c73 expose build SHA (#27542)
* expose build SHA

* dbg

* dbg

* dbg

* sub

* oops

* oops

* try this

* debugging

* debugging

* debugging

* debugging

* debugging

* without quotes

* typo

* typo

* singular

* mention in Dockerfile

* plural

* does this work

* does this work

* tidying up

* no cache

* Update middleware/index.js

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-05-11 19:14:30 +00:00
Hector Alfaro
9d11d9d9cb Merge branch 'main' into refactor-content-changes 2022-05-10 16:55:05 -04:00
Ramya Parimi
b9bcbde90c Update needs-sme-workflow.yml (#27591) 2022-05-10 19:27:04 +00:00
Emily Gould
71d13ac269 Merge branch 'main' into emilyistoofunky-patch-2 2022-05-05 15:35:21 -05:00
Hector Alfaro
fda78bb36d expose short version list in lib/all-versions.js 2022-05-05 16:12:14 -04:00
Hector Alfaro
bd090873ee log out an error when we can't parse version frontmatter 2022-05-05 14:27:07 -04:00
Hector Alfaro
d5f4fcf0ee replace hacky search with includes 2022-05-05 14:23:26 -04:00
Hector Alfaro
c3a9580903 add comments, account for feature-versioned-only content files 2022-05-05 10:51:34 -04:00
Hector Alfaro
a56200369c refactor content changes table 2022-05-05 09:31:42 -04:00
Hector Alfaro
06daa25a9d use sha to get file contents 2022-05-04 14:34:16 -04:00
Hector Alfaro
ee8cbb67bd use unique var names 2022-05-04 13:19:56 -04:00
Hector Alfaro
0f8b5cc642 use shas instead of labels for comparisons 2022-05-04 13:19:06 -04:00
Hector Alfaro
adfd6c9b16 use pull_request.head.label in comparisons to allow for forks 2022-05-04 12:21:36 -04:00
Emily Gould
c3166e5ffd Update review-template.md 2022-05-04 11:11:11 -05:00
Hector Alfaro
1530a82941 Merge branch 'main' into hectorsector/smarter-changes-table 2022-05-03 17:26:16 -04:00
Hector Alfaro
21453f6653 add line breaks 2022-05-03 16:47:58 -04:00
Hector Alfaro
6e2527047e wait for api call 2022-04-29 11:38:54 -04:00
Hector Alfaro
c84427d3e4 add spacing for better visibility 2022-04-29 11:34:38 -04:00
Hector Alfaro
c7e06fc88a add extensions to imports 2022-04-29 11:23:11 -04:00