Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: replaced configuration docs with setup guides. #580

Merged
merged 41 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0689e2a
Added new page for GitHub setup instructions
justo-mend Aug 25, 2024
b03ce70
Updates to the Config Options page
justo-mend Aug 25, 2024
749e80c
Updates to the GitHub setup page
justo-mend Aug 25, 2024
28897ce
Updates to the GitHub setup page
justo-mend Aug 25, 2024
86a58df
Added setup doc for GitLab
justo-mend Aug 26, 2024
396f1bd
Update to GitLab setup doc
justo-mend Aug 26, 2024
ff539f2
Added setup doc for Bitbucket
justo-mend Aug 26, 2024
873b1df
Updates to Bitbucket setup doc
justo-mend Aug 26, 2024
7d59a24
Update product name to "Mend Renovate Self-hosted"
justo-mend Aug 26, 2024
2acc60e
Add link to Enterprise Edition Docker images on ghcr.io
justo-mend Aug 26, 2024
aa874f1
Merge branch 'mend:main' into docs/refactor-config-docs
justo-mend Sep 11, 2024
2b1a23e
Merge branch 'mend:main' into docs/refactor-config-docs
justo-mend Sep 27, 2024
30cc0c0
Updated configuration docs with Setup Guides.
justo-mend Sep 27, 2024
8aba01f
Updated configuration docs with Setup Guides.
justo-mend Sep 27, 2024
2792b0b
Removed 10-repo licence key information
justo-mend Sep 30, 2024
5ce2ac6
Apply suggestions from code review
justo-mend Sep 30, 2024
d50cd82
Updated all product references to "Mend Renovate Self-hosted App".
justo-mend Sep 30, 2024
eae1148
Restored info about the 10-repo license key for Renovate CE
justo-mend Sep 30, 2024
0f1180a
Added "App" to text for link to configuration options page
justo-mend Sep 30, 2024
a273de8
Use headings instead of bolding
justo-mend Sep 30, 2024
87405e9
Added the 10-repo licence key for Community Edition (#582)
justo-mend Sep 30, 2024
519f738
Added new page for GitHub setup instructions
justo-mend Aug 25, 2024
d0009c2
Updates to the Config Options page
justo-mend Aug 25, 2024
fd21f6a
Updates to the GitHub setup page
justo-mend Aug 25, 2024
776d83c
Updates to the GitHub setup page
justo-mend Aug 25, 2024
4b26742
Added setup doc for GitLab
justo-mend Aug 26, 2024
0aba618
Update to GitLab setup doc
justo-mend Aug 26, 2024
9683d69
Added setup doc for Bitbucket
justo-mend Aug 26, 2024
48183e1
Updates to Bitbucket setup doc
justo-mend Aug 26, 2024
48d04ec
Update product name to "Mend Renovate Self-hosted"
justo-mend Aug 26, 2024
3ba8d5d
Add link to Enterprise Edition Docker images on ghcr.io
justo-mend Aug 26, 2024
0b0ceb1
Updated configuration docs with Setup Guides.
justo-mend Sep 27, 2024
034cbcd
Updated configuration docs with Setup Guides.
justo-mend Sep 27, 2024
bb75e05
Removed 10-repo licence key information
justo-mend Sep 30, 2024
fe45d0f
Apply suggestions from code review
justo-mend Sep 30, 2024
3276648
Updated all product references to "Mend Renovate Self-hosted App".
justo-mend Sep 30, 2024
4dca106
Restored info about the 10-repo license key for Renovate CE
justo-mend Sep 30, 2024
6690b12
Added "App" to text for link to configuration options page
justo-mend Sep 30, 2024
e4c0b37
Use headings instead of bolding
justo-mend Sep 30, 2024
fa3aba8
Removed old configure-renovate files
justo-mend Sep 30, 2024
c6261e6
Merge remote-tracking branch 'origin/docs/refactor-config-docs' into …
justo-mend Sep 30, 2024
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
18 changes: 11 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
# Mend Renovate Community Edition and Enterprise Edition Documentation
# Mend Renovate Self-hosted App Documentation

This repository provides documentation specific to Mend Renovate Community Edition (Renovate CE) and Enterprise Edition (Renovate EE), and does not duplicate anything that is relevant and can be found in the [Renovate OSS repository](https://github.com/renovatebot/renovate).
This repository provides documentation specific to the Mend Renovate Self-hosted Apps - Community Edition (Renovate CE) and Enterprise Edition (Renovate EE), and does not duplicate anything that is relevant and can be found in the [Renovate OSS repository](https://github.com/renovatebot/renovate).

Mend Renovate CE was formerly known as "Mend Renovate On-Premises".
Mend Renovate Community Edition was formerly known as "Mend Renovate On-Premises".

## Supported platforms

The following platforms are supported by Mend Renovate Community Edition and Enterprise Edition:
- GitHub.com
- GitHub Enterprise Server
- GitLab Enterprise Edition
- Bitbucket Server/Datacenter (in beta)
- Bitbucket Data Center (in beta)

## Documentation contents

1. [Overview](./overview.md)
1. Installation ([Helm](./installation-helm.md))
1. Getting Started
- [Setup guide for GitHub](setup-for-github.md)
- [Setup guide for GitLab](setup-for-gitlab.md)
- [Setup guide for Bitbucket Data Center](setup-for-bitbucket-data-center.md)
1. Configuration
- Renovate Community Edition - ([GitHub](./configure-renovate-ce-github.md), [GitLab](./configure-renovate-ce-gitlab.md))
- Renovate Enterprise Edition - ([GitHub](./configure-renovate-ee-github.md), [GitLab](./configure-renovate-ee-gitlab.md))
- Configuration - [Environment variables](configuration-options.md)
- [Self-hosted App configuration options](configuration-options.md)
- [Configure PostgreSQL DB](configure-postgres-db.md)
- [Configure High Server Availability](high-server-availability.md)
1. Migration ([Renovate On-Premises to Renovate Community](./migrating-to-renovate-ce.md))
1. API Documentation
- [Admin APIs](./api.md)
Expand Down
47 changes: 32 additions & 15 deletions docs/configuration-options.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mend Renovate Configuration Options
# Mend Renovate Self-hosted App Configuration Options

Mend Renovate Enterprise Edition runs with one or more **_Server_** containers and one or more **_Worker_** containers.
Mend Renovate Community Edition runs on a single Server container that also performs the Worker actions.
Expand All @@ -11,42 +11,62 @@ Separately, you can provide configuration for the Renovate Core. See the end of
The following environment variables apply to **Mend Renovate Community Edition** and the **Mend Renovate Enterprise Edition Server**.
Environment variables for the **Mend Renovate Enterprise Worker** are in the next section.

### Mend licensing config
### Mend Licensing Config

**`MEND_RNV_ACCEPT_TOS`**: Set this environment variable to `y` to consent to [Mend's Terms of Service](https://www.mend.io/terms-of-service/).

**`MEND_RNV_LICENSE_KEY`**: Contact Mend to request a license key at [mend.io/renovate-community](https://www.mend.io/renovate-community/)
**`MEND_RNV_LICENSE_KEY`**: Provide a valid license key for Renovate Community Edition or Enterprise Edition

> [!Note]
>
> To run Renovate Community Edition with **up to 10 repositories**, you can use this unregistered license key:
>
> `eyJsaW1pdCI6IjEwIn0=.30440220457941b71ea8eb345c729031718b692169f0ce2cf020095fd328812f4d7d5bc1022022648d1a29e71d486f89f27bdc8754dfd6df0ddda64a23155000a61a105da2a1`
>
> For a free license key for an **unrestricted number of repositories** on Renovate Community Edition, register with the form on the [Renovate Community Edition web page](https://www.mend.io/mend-renovate-community/).
>
> For an Enterprise license key, contact Mend at http://mend.io.

**`MEND_RNV_MC_TOKEN`**: [Enterprise only] The authentication token required when using Merge Confidence Workflows. Set this to 'auto' (default), or provide the value of a merge confidence API token.

### Source code management (SCM) connection details
### Connection to the Source Code Management (SCM)

This section contains configuration variables for connecting to your source code repository.
Use the appropriate settings to define connection details to your specific SCM.

**`MEND_RNV_PLATFORM`**: The type of SCM. Options: `github`, `gitlab`, `bitbucket-server`.

**`MEND_RNV_ENDPOINT`**: This is the API endpoint for your SCM. Required for self-hosted SCMs; not for GitHub.com. Include the trailing slash.
**`MEND_RNV_ENDPOINT`**: This is the API endpoint for your SCM. Not required for GitHub.com. Include the trailing slash.

#### GitHub connection variables

**`MEND_RNV_GITHUB_APP_ID`**: [GitHub only] The GitHub App ID of the provisioned Renovate app on GitHub.
**`MEND_RNV_GITHUB_APP_ID`**: The GitHub App ID of the provisioned Renovate app on GitHub.

**`MEND_RNV_GITHUB_APP_KEY`**: [GitHub only] A string representation of the private key of the provisioned Renovate app on GitHub. To insert the value directly into a Docker Compose environment variable, open the PEM file in a text editor and replace all new lines with "\n" so that the entire key is on one line. Alternatively, you can skip setting this key as an environment variable and instead mount it as a file to the path specified by `RNV_GITHUB_PEM_FILE_PATH`, as shown in the example Docker Compose file.
**`MEND_RNV_GITHUB_APP_KEY`**: A string representation of the private key of the provisioned Renovate app on GitHub. To insert the value directly into a Docker Compose environment variable, open the PEM file in a text editor and replace all new lines with "\n" so that the entire key is on one line. Alternatively, you can skip setting this key as an environment variable and instead mount it as a file to the path specified by `RNV_GITHUB_PEM_FILE_PATH`, as shown in the example Docker Compose file.

**`RNV_GITHUB_PEM_FILE_PATH`**: [GitHub only] The file path for GitHub app key. Defaults to `/usr/src/app/renovate.private-key.pem`.
**`RNV_GITHUB_PEM_FILE_PATH`**: The file path for GitHub app key. Defaults to `/usr/src/app/renovate.private-key.pem`.

**`MEND_RNV_GITHUB_BOT_USER_ID`**: [GitHub only] Optional: The bot user ID that will be used in `gitAuthor` (example author `myBotName[bot] <123456+myBotName[bot]@users.noreply.github.com` and the user id is `123456`). The value can be found by calling `https://api.github.com/users/{appName}[bot]` under the `id` key (replace the `{appName}` with the actual app name).
**`MEND_RNV_GITHUB_BOT_USER_ID`**: Optional: The bot user ID that will be used in `gitAuthor` (example author `myBotName[bot] <123456+myBotName[bot]@users.noreply.github.com` and the user id is `123456`). The value can be found by calling `https://api.github.com/users/{appName}[bot]` under the `id` key (replace the `{appName}` with the actual app name).
Note: By default Renovate server will attempt to call this endpoint once during startup (both CE and EE server) and it does not require authentication. If you wish to skip this call for any reason you will need to provide the value in `MEND_RNV_GITHUB_BOT_USER_ID=<id-number>`

**`MEND_RNV_GITLAB_PAT`**: [GitLab only] Personal Access Token for the GitLab bot account.
#### GitLab connection variables

**`MEND_RNV_WEBHOOK_SECRET`**: Optional: Defaults to `renovate`
**`MEND_RNV_GITLAB_PAT`**: Personal Access Token for the GitLab bot account.

#### Bitbucket connection variables

**`MEND_RNV_BITBUCKET_USER`**: Renovate Bot user account (“Bitbucket User” access only)

### Optional Mend Renovate configuration
**`MEND_RNV_BITBUCKET_PAT`**: BitBucket access token for the bot user `MEND_RNV_BITBUCKET_USER`

### Server Config Options

**`GITHUB_COM_TOKEN`**: A Personal Access Token for a user account on github.com (i.e. _not_ an account on your GitHub Enterprise instance).
This is used for retrieving changelogs and release notes from repositories hosted on github.com and it does not matter who it belongs to.
It needs only read-only access privileges. Not required if SCM is GitHub.com.

**`MEND_RNV_WEBHOOK_SECRET`**: Optional: Defaults to `renovate`

**`MEND_RNV_SERVER_API_SECRET`**: [Required if APIs enabled. Required on Renovate Enterprise Server] Set an API secret. Must match the Worker instances and Admin APIs for communicating with the Server.

**`MEND_RNV_ADMIN_API_ENABLED`**: Optional: Set to 'true' to enable Admin APIs. Defaults to 'false'.
Expand Down Expand Up @@ -224,7 +244,6 @@ Escalation is reset when no mismatching versions are found during the version ch

Note: You can inspect the `Renovate-EE-Version` in the response header of any Renovate API call to see the current version of the responding Server.


**`MEND_RENOVATE_FORKS_PROCESSING`**: controls the value of Renovate `forkProcessing` in the worker. valid values

- `disabled`: sets Renovate `forkProcessing=disabled` for all jobs
Expand All @@ -236,14 +255,12 @@ Note: You can inspect the `Renovate-EE-Version` in the response header of any Re
- `forkProcessing=disabled` if "All repositories"
- others platforms: `forkProcessing=disabled`


**`MEND_RNV_MERGE_CONFIDENCE_ENDPOINT`**: [Enterprise only] defines the endpoint used to retrieve Merge Confidence data by querying this API.
this config option only need to be defined in the server, and it will be passed to the worker automatically.
defaults to https://developer.mend.io/.

Notes: This option overrides the deprecated `RENOVATE_X_MERGE_CONFIDENCE_API_BASE_URL` flag.


### Postgres DB Configuration

To configure Mend Renovate to use a PostgreSQL database, the following environment variables should be supplied to the Server containers (not required for Worker environment config).
Expand Down
Loading
Loading