1
0
mirror of synced 2025-12-31 15:04:15 -05:00
Commit Graph

1147 Commits

Author SHA1 Message Date
Kevin Heis
2182ff28f3 Next12 now supports ESM (#29295)
* Next12 now supports ESM

* No more michael jackson script extensions

* Fix test running

* Update jest-puppeteer.config.cjs

* Update package.json
2022-07-26 17:53:23 +00:00
Peter Bengtsson
980e1fbba6 scrape and index into Elasticsearch (#29245)
* scrape and index into Elasticsearch

* wip

* move up

* permission

* not none

* sleep and be more patient

* activate all languages

* don't do HEAD with curl to look at created indices

* typo fix

* one env.ELASTICSEARCH_URL

* tidying up

* create a secret that isn't a secret for now
2022-07-22 17:46:55 +00:00
dependabot[bot]
9984bce5bc Bump docker/build-push-action from 2.9.0 to 3.1.0 (#29173)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.9.0 to 3.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](7f9d37fa54...1cb9d22b93)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Hector Alfaro <hectorsector@github.com>
2022-07-20 16:26:19 +00:00
Peter Bengtsson
c16edb5cf3 use regular actions/checkout instead of Bhacaz/checkout-files (#29181) 2022-07-19 17:16:27 +00:00
Peter Bengtsson
44a91fdec5 refactor sync-search-indices (#29152)
* refactor sync-search-indices

* tidying
2022-07-19 15:13:34 +00:00
Peter Bengtsson
721e68f4ab Index records into Elasticsearch (#27819)
* indexing records into Elasticsearch

* @elastic/elasticsearch@8.2.0

* mv

* fix the code

* pipe

* lfs

* use sha

* change how index names work

* better snowballing

* improvements and upgrade

* index more explicitly

* wip

* no need to save space with elasticsearch

* update package-lock

* Revert "no need to save space with elasticsearch"

This reverts commit 9cdd4d8f4fa7be822bdef3976091c3c640519dec.

* adding a comment

* better comment

* a better comment

* feedbacked

* more comment
2022-07-13 20:32:22 +00:00
Peter Bengtsson
2ebfb60b4b refactor how archived frontmatter fallbacks work (#28170)
* refactor how archived frontmatter fallbacks work

* delete no-longer used file

* avoid the mention

* Update lib/redirects/README.md

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2022-07-12 20:23:05 +00:00
Hector Alfaro
d243bbae4c Use translated content from the Microsoft repos (#28703)
* use content repos provided by msft

* remove additional languages for parity

* remove body from translation PRs
2022-07-12 17:31:47 +00:00
Peter Bengtsson
c18d115f6d run on ubuntu-2004-xl in openapi dev mode check (#28580)
* run on ubuntu-20.04-xl in 'OpenAPI dev mode check'

* self-check also
2022-06-28 11:48:56 +00:00
Courtney Wilson
185b279724 Merge branch 'main' into pr-template-update 2022-06-24 14:36:23 -05:00
Robert Sese
86f15cb250 Use PAT so other workflows trigger in GraphQL update workflow (#28674)
Use PAT so other workflows trigger
2022-06-21 20:36:50 +00:00
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
Courtney Wilson
b79367c0d5 Update PULL_REQUEST_TEMPLATE.md
cleaned up a bit more of the redundant language I accidentally created
2022-06-08 10:00:51 -05:00
Courtney Wilson
c3e7ed129a Update PULL_REQUEST_TEMPLATE.md
removed line about site policy contributions and other small updates
2022-06-07 10:53:41 -05:00
Courtney Wilson
c98d9e0d93 Update PULL_REQUEST_TEMPLATE.md
first commit cleaning up the template a bit - added notes for further updates.
2022-06-06 16:15:53 -05:00
Courtney Wilson
4ab81eaab9 Update PULL_REQUEST_TEMPLATE.md
updating some of the phrasing
2022-06-03 15:51:49 -05: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