diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-03 21:07:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-03 21:07:56 +0300 |
commit | c470e916040edf235ea4ae9322e6969159f44606 (patch) | |
tree | f25461d1386c9be926e4d2ba46843922bb6ab69c /doc | |
parent | 2f08c2b7d2cd32d0791986958d3242673ff037a9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/terraform_state.md | 26 | ||||
-rw-r--r-- | doc/api/graphql/reference/index.md | 3 | ||||
-rw-r--r-- | doc/user/group/saml_sso/index.md | 1 |
3 files changed, 30 insertions, 0 deletions
diff --git a/doc/administration/terraform_state.md b/doc/administration/terraform_state.md index 90b030e6e13..bf0774478ee 100644 --- a/doc/administration/terraform_state.md +++ b/doc/administration/terraform_state.md @@ -234,3 +234,29 @@ See [the available connection settings for different providers](object_storage.m 1. [Migrate any existing local states to the object storage](#migrate-to-object-storage) ::EndTabs + +### Find a Terraform state file path + +Terraform state files are stored in the hashed directory path of the relevant project. + +The format of the path is `/var/opt/gitlab/gitlab-rails/shared/terraform_state/<path>/<to>/<projectHashDirectory>/<UUID>/0.tfstate`, where [UUID](https://gitlab.com/gitlab-org/gitlab/-/blob/dcc47a95c7e1664cb15bef9a70f2a4eefa9bd99a/app/models/terraform/state.rb#L33) is randomly defined. + +To find a state file path: + +1. Add `get-terraform-path` to your shell: + + ```shell + get-terraform-path() { + PROJECT_HASH=$(echo -n $1 | openssl dgst -sha256 | sed 's/^.* //') + echo "${PROJECT_HASH:0:2}/${PROJECT_HASH:2:2}/${PROJECT_HASH}" + } + ``` + +1. Run `get-terraform-path <project_id>`. + + ```shell + $ get-terraform-path 650 + 20/99/2099a9b5f777e242d1f9e19d27e232cc71e2fa7964fc988a319fce5671ca7f73 + ``` + +The relative path is displayed. diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index 6dd8fbdad50..b4f57847408 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -14126,6 +14126,7 @@ Represents the total number of issues and their weights for a particular day. | <a id="cicatalogresourceforkscount"></a>`forksCount` **{warning-solid}** | [`Int!`](#int) | **Introduced** in 16.1. This feature is an Experiment. It can be changed or removed at any time. Number of times the catalog resource has been forked. | | <a id="cicatalogresourceicon"></a>`icon` **{warning-solid}** | [`String`](#string) | **Introduced** in 15.11. This feature is an Experiment. It can be changed or removed at any time. Icon for the catalog resource. | | <a id="cicatalogresourceid"></a>`id` **{warning-solid}** | [`ID!`](#id) | **Introduced** in 15.11. This feature is an Experiment. It can be changed or removed at any time. ID of the catalog resource. | +| <a id="cicatalogresourcelatestreleasedat"></a>`latestReleasedAt` **{warning-solid}** | [`Time`](#time) | **Introduced** in 16.5. This feature is an Experiment. It can be changed or removed at any time. Release date of the catalog resource's latest version. | | <a id="cicatalogresourcelatestversion"></a>`latestVersion` **{warning-solid}** | [`Release`](#release) | **Introduced** in 16.1. This feature is an Experiment. It can be changed or removed at any time. Latest version of the catalog resource. | | <a id="cicatalogresourcename"></a>`name` **{warning-solid}** | [`String`](#string) | **Introduced** in 15.11. This feature is an Experiment. It can be changed or removed at any time. Name of the catalog resource. | | <a id="cicatalogresourceopenissuescount"></a>`openIssuesCount` **{warning-solid}** | [`Int!`](#int) | **Introduced** in 16.3. This feature is an Experiment. It can be changed or removed at any time. Count of open issues that belong to the the catalog resource. | @@ -26964,6 +26965,8 @@ Values for sorting catalog resources. | ----- | ----------- | | <a id="cicatalogresourcesortcreated_asc"></a>`CREATED_ASC` | Created at ascending order. | | <a id="cicatalogresourcesortcreated_desc"></a>`CREATED_DESC` | Created at descending order. | +| <a id="cicatalogresourcesortlatest_released_at_asc"></a>`LATEST_RELEASED_AT_ASC` | Latest release date by ascending order. | +| <a id="cicatalogresourcesortlatest_released_at_desc"></a>`LATEST_RELEASED_AT_DESC` | Latest release date by descending order. | | <a id="cicatalogresourcesortname_asc"></a>`NAME_ASC` | Name by ascending order. | | <a id="cicatalogresourcesortname_desc"></a>`NAME_DESC` | Name by descending order. | | <a id="cicatalogresourcesortupdated_asc"></a>`UPDATED_ASC` | Updated at ascending order. | diff --git a/doc/user/group/saml_sso/index.md b/doc/user/group/saml_sso/index.md index 734679cf331..0449848671b 100644 --- a/doc/user/group/saml_sso/index.md +++ b/doc/user/group/saml_sso/index.md @@ -532,6 +532,7 @@ immediately. If the user: - [SAML SSO for self-managed GitLab instances](../../../integration/saml.md) - [Glossary](../../../integration/saml.md#glossary) +- [Blog post: The ultimate guide to enabling SAML and SSO on GitLab.com](https://about.gitlab.com/blog/2023/09/14/the-ultimate-guide-to-enabling-saml/) - [Authentication comparison between SaaS and self-managed](../../../administration/auth/index.md#saas-vs-self-managed-comparison) - [Passwords for users created through integrated authentication](../../../security/passwords_for_integrated_authentication_methods.md) - [SAML Group Sync](group_sync.md) |