1
0
mirror of synced 2025-12-20 10:28:40 -05:00

Add steps to sync search indices to release templates (#51837)

This commit is contained in:
Hector Alfaro
2024-07-31 10:38:37 -04:00
committed by GitHub
parent d88f4a9761
commit cf570f6e4d
2 changed files with 21 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ This issue tracks Docs work for the GA release of GHES {{ release-number }}.
- [ ] {{ release-steps-4-url }} - [ ] {{ release-steps-4-url }}
- [ ] {{ release-steps-5-url }} - [ ] {{ release-steps-5-url }}
- [ ] **Friday before the release**, notify the Docs Content first responders to not merge OpenAPI PRs until further notice. - [ ] **Friday before the release**, notify the Docs Content first responders to not merge OpenAPI PRs until further notice.
- [ ] **On the RC date**, optionally sync the search indices again (details in [previous step]({{ release-steps-1-url }}).
- [ ] **On the RC date**, merge PR for RC when instructed by the GHES Releases team. - [ ] **On the RC date**, merge PR for RC when instructed by the GHES Releases team.
- [ ] After merging PR for RC, notify the API team in [#ecosystem-api](https://github.slack.com/archives/C1042T6MS) on Slack that they can now merge "Update OpenAPI 3.x Descriptions" PRs in [`github/rest-api-description`](https://github.com/github/rest-api-description/pulls), which you blocked as part of the issue for preparing OpenAPI assets. - [ ] After merging PR for RC, notify the API team in [#ecosystem-api](https://github.slack.com/archives/C1042T6MS) on Slack that they can now merge "Update OpenAPI 3.x Descriptions" PRs in [`github/rest-api-description`](https://github.com/github/rest-api-description/pulls), which you blocked as part of the issue for preparing OpenAPI assets.
- [ ] Notify the Docs Content first responder (`@TBD`) that they can now merge OpenAPI PRs. - [ ] Notify the Docs Content first responder (`@TBD`) that they can now merge OpenAPI PRs.

View File

@@ -17,6 +17,7 @@ labels:
- [Prerequisites](#prerequisites) - [Prerequisites](#prerequisites)
- [Create publication branch for a new version of GHES](#creation) - [Create publication branch for a new version of GHES](#creation)
- [Resolve check failures](#check-failures) - [Resolve check failures](#check-failures)
- [Sync the search indices](#sync-search-indices)
- [Maintain the publication branch](#maintenance) - [Maintain the publication branch](#maintenance)
- [Complete preparation for the RC and publish the docset](#publication) - [Complete preparation for the RC and publish the docset](#publication)
@@ -108,6 +109,20 @@ For content from the OpenAPI schema, note the affected content with broken links
<a name="rest-pull-request"> <a name="rest-pull-request">
<br/> <br/>
<a name="sync-search-indices">
### [🔎](#sync-search-indices) Sync the search indices
1. Go to the [`sync-search-elasticsearch` workflow](https://github.com/github/docs-internal/actions/workflows/sync-search-elasticsearch.yml) ([permalink](https://github.com/github/docs-internal/blob/f8ca45703c48c7d1976a278337bc3391fb14fe9e/.github/workflows/sync-search-elasticsearch.yml) in case it moves)
1. Click on the **Run workflow** drop down and set the following parameters:
- `Branch:` set to the name of the publication branch
- `Version` set to the version you're publishing (e.g., `ghes-3.12` if you're publishing GHES 3.12)
- `Languages` left as default (blank, all languages. If time is a concern, can also set to just `en` and wait for the workflow to automatically include the other languages in later runs)
1. Click **Run workflow** and wait for the workflow to finish running, which can take up to 30 minutes.
_Note_: After performing these steps, search indices will be automatically updated when the workflow runs on `main`, once every 4 hours. However, it will not do so until you first complete the steps above which will manually create a search index for the new release.
<a name="maintenance"> <a name="maintenance">
### [🔁](#maintenance) Maintain the publication branch ### [🔁](#maintenance) Maintain the publication branch