diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-21 12:08:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-21 12:08:20 +0300 |
commit | 508747708f9e419c22a1cd3bc0efc838540059bd (patch) | |
tree | 64449268647b997a58224f3cfff7804110a11cd6 /doc | |
parent | 8ac5fc8deebee73d7492f0fb8d825ccef3b01870 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/invalidate_markdown_cache.md | 25 | ||||
-rw-r--r-- | doc/ci/runners/index.md | 2 | ||||
-rw-r--r-- | doc/user/infrastructure/iac/troubleshooting.md | 9 |
3 files changed, 26 insertions, 10 deletions
diff --git a/doc/administration/invalidate_markdown_cache.md b/doc/administration/invalidate_markdown_cache.md index 855910fec6a..20a77691bbc 100644 --- a/doc/administration/invalidate_markdown_cache.md +++ b/doc/administration/invalidate_markdown_cache.md @@ -5,18 +5,25 @@ info: "To determine the technical writer assigned to the Stage/Group associated type: reference --- -# Invalidate Markdown Cache **(FREE)** +# Markdown cache **(FREE)** -For performance reasons, GitLab caches the HTML version of Markdown text -in fields like comments, issue descriptions, and merge request descriptions. These -cached versions can become outdated, such as -when the `external_url` configuration option is changed. Links +For performance reasons, GitLab caches the HTML version of Markdown text in fields such as: + +- Comments. +- Issue descriptions. +- Merge request descriptions. + +These cached versions can become outdated, such as when the `external_url` configuration option is changed. Links in the cached text would still refer to the old URL. -To avoid this problem, the administrator can invalidate the existing cache by -increasing the `local_markdown_version` setting in application settings. This can -be done by changing the application settings -[through the API](../api/settings.md#change-application-settings): +## Invalidate the cache + +Pre-requisite: + +- You must be an administrator. + +To avoid problems caused by cached HTML versions, invalidate the existing cache by increasing the `local_markdown_version` +setting in application settings [using the API](../api/settings.md#change-application-settings): ```shell curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/application/settings?local_markdown_version=<increased_number>" diff --git a/doc/ci/runners/index.md b/doc/ci/runners/index.md index 729de4d99d3..038bda4ab09 100644 --- a/doc/ci/runners/index.md +++ b/doc/ci/runners/index.md @@ -12,7 +12,7 @@ No configuration is required. Your jobs can run on: - [Linux runners](saas/linux_saas_runner.md). - [Windows runners](saas/windows_saas_runner.md) ([Beta](../../policy/alpha-beta-support.md#beta-features)). -- [macOS runners](saas/macos_saas_runner.md) ([Limited Availability](../../policy/alpha-beta-support.md#limited-availability-la)). +- [macOS runners](saas/macos_saas_runner.md) ([Beta](../../policy/alpha-beta-support.md#beta-features)). The number of minutes you can use on these runners depends on the [maximum number of CI/CD minutes](../pipelines/cicd_minutes.md) diff --git a/doc/user/infrastructure/iac/troubleshooting.md b/doc/user/infrastructure/iac/troubleshooting.md index 881bcb32aed..64948a5a559 100644 --- a/doc/user/infrastructure/iac/troubleshooting.md +++ b/doc/user/infrastructure/iac/troubleshooting.md @@ -112,3 +112,12 @@ job that returned the error: 1. Configure the [CI/CD environment scope](../../../ci/variables/#add-a-cicd-variable-to-a-project) for the job. 1. Set the job's [environment](../../../ci/yaml/#environment), matching the environment scope from the previous step. + +### Error refreshing state: HTTP remote state endpoint requires auth + +To resolve this, ensure that: + +- The access token you use has `api` scope. +- If you have set the `TF_HTTP_PASSWORD` CI/CD variable, make sure that you either: + - Set the same value as `TF_PASSWORD` + - Remove `TF_HTTP_PASSWORD` variable if your CI/CD job does not explicitly use it. |