1
0
mirror of synced 2026-01-07 09:01:31 -05:00
Commit Graph

48 Commits

Author SHA1 Message Date
Peter Bengtsson
44a91fdec5 refactor sync-search-indices (#29152)
* refactor sync-search-indices

* tidying
2022-07-19 15:13:34 +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
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
5630a4139a process.env.DISABLE_OVERLOAD_PROTECTION (#27692) 2022-05-13 15:29:52 -07:00
Peter Bengtsson
677d6a0bc9 unbreak sync-search by making overload protection configurable (#27680) 2022-05-13 16:51:37 +00: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
Peter Bengtsson
fb3a4bda46 disable changelog feed download in sync-search (#26489) 2022-03-30 01:30:49 +00:00
Peter Bengtsson
4a4895ee17 don't throw on missing data tags in search sync (#26487) 2022-03-29 18:34:17 +00:00
Grace Park
5b3ba7155f Updating Release Candidate issue template and adding extra info to command (#25402)
* updating issue template and adding extra info to command

* add transfer trace

* add additional instructions to click run workflow button
2022-02-16 04:26:17 +00:00
Peter Bengtsson
7661dd042c use Node 16.14.x in CI now (#25305) 2022-02-15 01:13:33 +00:00
dependabot[bot]
893f50cd7a Bump actions/setup-node from 2.5.0 to 2.5.1 (#24009)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](04c56d2f95...1f8c6b94b2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-10 09:07:53 -05:00
dependabot[bot]
1d20c5d10f Bump actions/cache from 2.1.6 to 2.1.7 (#24013)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](c64c572235...937d244753)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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>
2022-01-07 23:42:39 +00:00
James M. Greene
526b5bd651 Add nextjs caching into all workflows with builds (#23654)
* Add nextjs caching into all workflows with builds

* Reposition the nextjs cache step for test-windows.yml

* Fix cache and run build for browser-test.yml

* Update .github/workflows/browser-test.yml
2021-12-14 23:21:06 +00:00
James M. Greene
3d88cae50b Add permission matrices to all Actions workflows (#23563)
* Add permission matrices to all Actions workflows

Also cleanup a few token references

* Add actions:read permissions for CodeQL

* Add prs:read permissions for unit test workflow
2021-12-14 04:37:36 +00:00
dependabot[bot]
038e81826b Bump actions/checkout from 2.3.5 to 2.4.0 (#23297)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1e204e9a92...ec3a7ce113)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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>
2021-12-02 14:15:21 +00:00
dependabot[bot]
95edf7be45 Bump actions/setup-node from 2.4.1 to 2.5.0 (#23293)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](270253e841...04c56d2f95)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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>
2021-12-02 13:25:56 +00:00
Peter Bengtsson
22f21db4a3 use Node 16.13.x for CI workflows (#22758)
Part of #1203
2021-11-11 01:23:13 +00:00
dependabot[bot]
cd74b07da1 Bump actions/checkout from 2.3.4 to 2.3.5 (#22264)
* Bump actions/checkout from 2.3.4 to 2.3.5

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](5a4ac9002d...1e204e9a92)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* test

* removing test, works

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2021-10-21 00:19:35 +00:00
dependabot[bot]
56a9156f98 Bump someimportantcompany/github-actions-slack-message from 1.1.0 to 1.2.2 (#22263)
* Bump someimportantcompany/github-actions-slack-message

Bumps [someimportantcompany/github-actions-slack-message](https://github.com/someimportantcompany/github-actions-slack-message) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/someimportantcompany/github-actions-slack-message/releases)
- [Commits](0b470c14b3...f8d28715e7)

---
updated-dependencies:
- dependency-name: someimportantcompany/github-actions-slack-message
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* update allowed-actions

* 🤖 ran script/update-enterprise-dates.js

* adding comment with version number

* test

* remove b

* remove test, it works

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: gracepark <gracepark@users.noreply.github.com>
Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
2021-10-20 16:20:54 -07:00
dependabot[bot]
5201ca8813 Bump actions/setup-node from 2.2.0 to 2.4.1 (#22109)
* Bump actions/setup-node from 2.2.0 to 2.4.1

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](38d90ce44d...270253e841)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* allow it moar

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2021-10-18 13:33:34 -04:00
Mike Surowiec
cb78de81f3 update DOCS_BOT -> DOCS_BOT_FR for consistent cross repo naming (#21485) 2021-09-14 15:51:50 +00:00
Rachael Sewell
94e3c092d3 English search sync (#21446) 2021-09-13 17:30:08 +00:00
Rachael Sewell
4afdd80f2d Update sync-search-indices.yml (#21375) 2021-09-08 19:59:19 -07:00
Rachael Sewell
038cba325f observer FREEZE variable in search sync workflow (#21372) 2021-09-08 14:58:34 -07:00
Mike Surowiec
3c0e4e03b8 fix: pin workflow node-version to 16.8.x (#21361) 2021-09-08 11:08:53 -04:00
Kevin Heis
5b55f5cac3 Update sync-search-indices.yml (#21125) 2021-09-01 08:05:15 -07:00
Kevin Heis
ba4c21851f Sync search: try pull before commit (#20807) 2021-08-11 19:27:53 +00:00
Rachael Sewell
b641556a82 Remove test lang and version (#20800)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-08-11 16:50:24 +00:00
Rachael Sewell
941fceb716 fix quote placement (#20797) 2021-08-11 10:01:13 -04:00
Rachael Sewell
0f847cd1d2 pull before pushing (#20780) 2021-08-10 14:12:26 -07:00
Rachael Sewell
8c71ca1a48 test with lang and version (#20772) 2021-08-10 18:49:48 +00:00
Rachael Sewell
e7558d24da update search sync workflow (#20768) 2021-08-10 18:42:06 +00:00
Rachael Sewell
3904ab7935 use lfs push all cmd (#20742) 2021-08-09 18:02:57 -04:00
Rachael Sewell
eecc1113cc remove lanuage and version (#20734) 2021-08-09 17:51:57 -04:00
Rachael Sewell
ff393c8a1f remove push to public repo (#20729) 2021-08-09 12:24:06 -04:00
Rachael Sewell
1eedcd4d4b replace checkout of public repo (#20727) 2021-08-09 11:12:33 -04:00
Octomerger Bot
5b1e02b99e Branch was updated using the 'autoupdate branch' Actions workflow. 2021-08-06 08:24:28 +10:00
Rachael Sewell
637b3c9547 remove sync options (#20686) 2021-08-05 22:24:04 +00:00
Octomerger Bot
74d44f657b Merge branch 'main' into repo-sync 2021-08-06 08:21:01 +10:00
Rachael Sewell
563c43144d need git config for os repo (#20713) 2021-08-05 22:11:54 +00:00
Rachael Sewell
76d192a479 checkout open-source repo (#20710) 2021-08-05 21:58:25 +00:00
Rachael Sewell
4d8dcbf6ba use git config pull.ff only (#20709) 2021-08-05 17:09:32 -04:00
Rachael Sewell
61f28bb80e use a force push (#20708) 2021-08-05 15:35:17 -04:00
Rachael Sewell
840647baae use --all switch for git lfs push (#20707) 2021-08-05 18:40:47 +00:00
Grace Park
2dbea3737a Removing algolia (#20633) 2021-08-05 13:10:51 -04:00
Kevin Heis
1ed18e1448 Clear out some non-fn references to Algolia (#20592)
* Clear out some non-fn references to Algolia

* Update .github/workflows/dry-run-sync-search-indices.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update contributing/search.md

Co-authored-by: James M. Greene <JamesMGreene@github.com>

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-07-29 20:20:55 +00:00