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

903 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
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
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
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
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
Ramya Parimi
b9bcbde90c Update needs-sme-workflow.yml (#27591) 2022-05-10 19:27:04 +00:00
Robert Sese
3c4cffe34d Git add client side redirects file (#27237) 2022-04-26 18:17:43 +00:00
Ramya Parimi
ef2a3866d8 Update move-help-wanted-issues.yml (#27231) 2022-04-26 17:49:07 +00:00
Tim Rogers
055e872e30 Fix review instructions in "Thanks so much for opening this PR and contributing to GitHub Docs!" auto-comment (#27196) 2022-04-25 15:59:40 +00:00
Hector Alfaro
ed88e9a0d1 Merge branch 'main' into hectorsector/unused-output 2022-04-21 11:42:13 -04:00
dependabot[bot]
b70ea9e510 Bump repo-sync/pull-request (#27083)
Bumps [repo-sync/pull-request](https://github.com/repo-sync/pull-request) from 9152b1c4aeeab247ba2ce12c5d7e693d287bf1b9 to 2.6.2. This release includes the previously tagged commit.
- [Release notes](https://github.com/repo-sync/pull-request/releases)
- [Commits](9152b1c4ae...65785d95a5)

---
updated-dependencies:
- dependency-name: repo-sync/pull-request
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <rsese@github.com>
2022-04-20 13:56:52 -05:00
dependabot[bot]
d12da388e6 Bump peter-evans/find-comment from 1.3.0 to 2 (#27082)
Bumps [peter-evans/find-comment](https://github.com/peter-evans/find-comment) from 1.3.0 to 2.
- [Release notes](https://github.com/peter-evans/find-comment/releases)
- [Commits](d2dae40ed1...1769778a0c)

---
updated-dependencies:
- dependency-name: peter-evans/find-comment
  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: Robert Sese <rsese@github.com>
2022-04-20 13:39:12 -05:00
dependabot[bot]
a9a7ad010c Bump actions/cache from 2.1.7 to 3.0.2 (#27017)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](937d244753...48af2dc4a9)

---
updated-dependencies:
- dependency-name: actions/cache
  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: Robert Sese <rsese@github.com>
2022-04-20 18:03:12 +00:00
dependabot[bot]
5515db7171 Bump actions/checkout from 2.4.0 to 3.0.1 (#27016)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...dcd71f646680f2efd8db4afa5ad64fdcba30e748)

---
updated-dependencies:
- dependency-name: actions/checkout
  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: Robert Sese <rsese@github.com>
2022-04-20 12:04:00 -05:00
Hector Alfaro
42c79e0de7 remove unused outputs from unallowed chgs workflow 2022-04-20 09:04:28 -04:00
Peter Bengtsson
2fe74dc32b check broken links using localhost (#27010)
* Revert "fix(link-check): add WAF token to avoid 403 (#26964)"

This reverts commit 8bb525188f.

* check broken links using localhost

* remove temp comment
2022-04-19 15:17:37 +00:00
dependabot[bot]
4e5e74b5ae Bump github/codeql-action from 1.0.31 to 2.1.8 (#26967)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.0.31 to 2.1.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1a927e9307...1ed1437484)

---
updated-dependencies:
- dependency-name: github/codeql-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: Robert Sese <rsese@github.com>
2022-04-18 14:19:03 -05:00
Mike Surowiec
8bb525188f fix(link-check): add WAF token to avoid 403 (#26964) 2022-04-15 16:29:23 -05:00
dependabot[bot]
088d55ee66 Bump peter-evans/create-pull-request from 3.12.1 to 4.0.2 (#26849)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.12.1 to 4.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](f22a7da129...bd72e1b792)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  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: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2022-04-15 16:37:09 +00:00
Kevin Heis
10fdda9504 Update repo-sync.yml 2022-04-13 09:32:08 -07:00
Mike Surowiec
e7e90d03cd fix(deploy): hardcode nonprod registry username so it does not result in masked APP_URL (#26893) 2022-04-12 22:59:06 -05:00
Ramya Parimi
04410502e7 Update needs-sme-stale-check.yaml (#26885) 2022-04-12 14:02:22 -05:00
Hector Alfaro
66748233fa skip check for search indices if label exists 2022-04-12 11:15:44 -04:00
Kevin Heis
8dd0401ca6 Run prettier 2022-04-11 15:58:11 -07:00
Ramya Parimi
16f030b5c8 Update needs-sme-workflow.yml (#26834)
* Update needs-sme-workflow.yml

* Update needs-sme-workflow.yml

edited if condition
2022-04-11 18:14:55 +00:00
Kevin Heis
016e534a90 Update optimize-images.yml 2022-04-05 08:31:20 -07:00
Rachael Sewell
e55cff0438 Add never-stale label (#26675) 2022-04-04 20:39:17 +00:00