Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions docs/gitlab-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: Install gitStream to your GitLab organization.
GitLab Installation Overview

1. Designate a gitStream user account.
1. Create a CM configuration file.
1. Create a `cm` repo and `.cm` configuration file.
1. Create a GitLab pipeline.
1. Install the gitStream service.

Expand All @@ -26,15 +26,13 @@ We recommend creating a [dedicated service account](https://docs.gitlab.com/ee/u
!!! tip "Use this account when you integrate gitStream"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase 'Group rules are ideal when you want to enforce consistent rules across every repo in your GitLab group' is repeated in the paragraph. Consider rephrasing to avoid redundancy.
Group rules are ideal for enforcing consistent rules across every repo in your GitLab group. You can define them by creating a special repository named cm in the parent group for the git repositories on which you want to run gitStream. Here, you can add automation files that apply to all repositories within that group that are connected to gitStream.

Make sure to use this account when authorizing GitLab in LinearB.

## Create a `cm` repo and a CM Configuration File
## Create a `cm` repo and `.cm` configuration file.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sentence 'You can name the CM file anything you want as long as it ends in .cm' is repeated. Consider removing the redundancy.
This file will contain a YAML configuration that determines the workflows that run on your organization's repos. You can name the CM file anything you want as long as it ends in .cm.

Group rules are ideal when you want to enforce consistent rules across every repo in your GitLab group. You can define them by creating a special repository named `cm` in the parent group for the git repositories on which you want to run gitStream. Here, you can add automation files that apply to **all** repositories within that group that are connected to gitStream.
Create a `cm` project (repository) in your GitLab group. This repository must be created in the same group or parent group as the target repositories. In the root directory of the default branch (usually `master` or `main`), create a `gitstream.cm` rules file to define the workflow automations. The file name can vary but must end in `.cm`.

Create a `cm` project (repository) in your GitLab group, and create a `gitstream.cm` rules file in the root directory of your `cm` repository's default branch (usually `master` or `main`). This file will contain a YAML configuration that determines the workflows that run on your organization's repos. You can name the CM file anything you want as long as it ends in `.cm`

!!! info "Configuration files go in the repo's root directory."
Group-level rules require your `.cm` files to be placed in the repository's root directory.
You can also define specific repo-level rules under the `.cm` folder in each of the connected repositories
!!! info "Configuration files locations"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The info box title 'Configuration files locations' is not grammatically correct. Consider changing it to 'Configuration File Locations' for better readability.
!!! info "Configuration File Locations"

Group-level rules require your `.cm` files to be placed in the `cm` repository's root directory.
You can also define specific repo-level rules under the `.cm` folder in each of the connected repositories.

!!! example "Example Configuration"
--8<-- "docs/downloads/gitstream.cm"
Expand Down