Commit 8bb8c6ef authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 0ce5e435 8a2c53d6
...@@ -178,7 +178,7 @@ The steps below should be followed in the order they appear. **Make sure the Git ...@@ -178,7 +178,7 @@ The steps below should be followed in the order they appear. **Make sure the Git
If you installed GitLab using the Omnibus packages (highly recommended): If you installed GitLab using the Omnibus packages (highly recommended):
1. [Install GitLab Enterprise Edition](https://about.gitlab.com/installation/) on the server that will serve as the **secondary** node. Do not create an account or log in to the new **secondary** node. 1. [Install GitLab Enterprise Edition](https://about.gitlab.com/install/) on the server that will serve as the **secondary** node. Do not create an account or log in to the new **secondary** node.
1. [Upload the GitLab License](../../../user/admin_area/license.md) on the **primary** node to unlock Geo. The license must be for [GitLab Premium](https://about.gitlab.com/pricing/) or higher. 1. [Upload the GitLab License](../../../user/admin_area/license.md) on the **primary** node to unlock Geo. The license must be for [GitLab Premium](https://about.gitlab.com/pricing/) or higher.
1. [Set up the database replication](database.md) (`primary (read-write) <-> secondary (read-only)` topology). 1. [Set up the database replication](database.md) (`primary (read-write) <-> secondary (read-only)` topology).
1. [Configure fast lookup of authorized SSH keys in the database](../../operations/fast_ssh_key_lookup.md). This step is required and needs to be done on **both** the **primary** and **secondary** nodes. 1. [Configure fast lookup of authorized SSH keys in the database](../../operations/fast_ssh_key_lookup.md). This step is required and needs to be done on **both** the **primary** and **secondary** nodes.
......
...@@ -115,7 +115,7 @@ questions from [owasp.org](https://www.owasp.org). ...@@ -115,7 +115,7 @@ questions from [owasp.org](https://www.owasp.org).
### What operating systems support the application? ### What operating systems support the application?
- Geo imposes no additional restrictions on operating system (see the - Geo imposes no additional restrictions on operating system (see the
[GitLab installation](https://about.gitlab.com/installation/) page for more [GitLab installation](https://about.gitlab.com/install/) page for more
details), however we recommend using the operating systems listed in the [Geo documentation](index.md#requirements-for-running-geo). details), however we recommend using the operating systems listed in the [Geo documentation](index.md#requirements-for-running-geo).
### What details regarding required OS components and lock‐down needs have been defined? ### What details regarding required OS components and lock‐down needs have been defined?
......
...@@ -91,7 +91,7 @@ your GitLab installation has two repository storages, `default` and ...@@ -91,7 +91,7 @@ your GitLab installation has two repository storages, `default` and
First install Gitaly using either Omnibus or from source. First install Gitaly using either Omnibus or from source.
Omnibus: [Download/install](https://about.gitlab.com/installation) the Omnibus GitLab Omnibus: [Download/install](https://about.gitlab.com/install/) the Omnibus GitLab
package you want using **steps 1 and 2** from the GitLab downloads page but package you want using **steps 1 and 2** from the GitLab downloads page but
**_do not_** provide the `EXTERNAL_URL=` value. **_do not_** provide the `EXTERNAL_URL=` value.
...@@ -220,7 +220,7 @@ network, firewall, or name resolution problem preventing your GitLab ...@@ -220,7 +220,7 @@ network, firewall, or name resolution problem preventing your GitLab
server from reaching the Gitaly server then all Gitaly requests will server from reaching the Gitaly server then all Gitaly requests will
fail. fail.
Additionally, you need to Additionally, you need to
[disable Rugged if previously manually enabled](../high_availability/nfs.md#improving-nfs-performance-with-gitlab). [disable Rugged if previously manually enabled](../high_availability/nfs.md#improving-nfs-performance-with-gitlab).
We assume that your Gitaly server can be reached at We assume that your Gitaly server can be reached at
...@@ -436,8 +436,8 @@ particular machine. ...@@ -436,8 +436,8 @@ particular machine.
## Eliminating NFS altogether ## Eliminating NFS altogether
If you are planning to use Gitaly without NFS for your storage needs If you are planning to use Gitaly without NFS for your storage needs
and want to eliminate NFS from your environment altogether, there are and want to eliminate NFS from your environment altogether, there are
a few things that you need to do: a few things that you need to do:
1. Make sure the [`git` user home directory](https://docs.gitlab.com/omnibus/settings/configuration.html#moving-the-home-directory-for-a-user) is on local disk. 1. Make sure the [`git` user home directory](https://docs.gitlab.com/omnibus/settings/configuration.html#moving-the-home-directory-for-a-user) is on local disk.
......
...@@ -31,7 +31,7 @@ deploy the bundled PostgreSQL. ...@@ -31,7 +31,7 @@ deploy the bundled PostgreSQL.
### Standalone PostgreSQL using GitLab Omnibus **(CORE ONLY)** ### Standalone PostgreSQL using GitLab Omnibus **(CORE ONLY)**
1. SSH into the PostgreSQL server. 1. SSH into the PostgreSQL server.
1. [Download/install](https://about.gitlab.com/installation) the Omnibus GitLab 1. [Download/install](https://about.gitlab.com/install/) the Omnibus GitLab
package you want using **steps 1 and 2** from the GitLab downloads page. package you want using **steps 1 and 2** from the GitLab downloads page.
- Do not complete any other steps on the download page. - Do not complete any other steps on the download page.
1. Generate a password hash for PostgreSQL. This assumes you will use the default 1. Generate a password hash for PostgreSQL. This assumes you will use the default
...@@ -281,7 +281,7 @@ Few notes on the service itself: ...@@ -281,7 +281,7 @@ Few notes on the service itself:
#### Installing Omnibus GitLab #### Installing Omnibus GitLab
First, make sure to [download/install](https://about.gitlab.com/installation) First, make sure to [download/install](https://about.gitlab.com/install/)
GitLab Omnibus **on each node**. GitLab Omnibus **on each node**.
Make sure you install the necessary dependencies from step 1, Make sure you install the necessary dependencies from step 1,
......
...@@ -41,7 +41,7 @@ The steps below are the minimum necessary to configure a Redis server with ...@@ -41,7 +41,7 @@ The steps below are the minimum necessary to configure a Redis server with
Omnibus: Omnibus:
1. SSH into the Redis server. 1. SSH into the Redis server.
1. [Download/install](https://about.gitlab.com/installation) the Omnibus GitLab 1. [Download/install](https://about.gitlab.com/install/) the Omnibus GitLab
package you want using **steps 1 and 2** from the GitLab downloads page. package you want using **steps 1 and 2** from the GitLab downloads page.
- Do not complete any other steps on the download page. - Do not complete any other steps on the download page.
...@@ -357,7 +357,7 @@ The prerequisites for a HA Redis setup are the following: ...@@ -357,7 +357,7 @@ The prerequisites for a HA Redis setup are the following:
### Step 1. Configuring the master Redis instance ### Step 1. Configuring the master Redis instance
1. SSH into the **master** Redis server. 1. SSH into the **master** Redis server.
1. [Download/install](https://about.gitlab.com/installation) the Omnibus GitLab 1. [Download/install](https://about.gitlab.com/install/) the Omnibus GitLab
package you want using **steps 1 and 2** from the GitLab downloads page. package you want using **steps 1 and 2** from the GitLab downloads page.
- Make sure you select the correct Omnibus package, with the same version - Make sure you select the correct Omnibus package, with the same version
and type (Community, Enterprise editions) of your current install. and type (Community, Enterprise editions) of your current install.
...@@ -400,7 +400,7 @@ The prerequisites for a HA Redis setup are the following: ...@@ -400,7 +400,7 @@ The prerequisites for a HA Redis setup are the following:
### Step 2. Configuring the slave Redis instances ### Step 2. Configuring the slave Redis instances
1. SSH into the **slave** Redis server. 1. SSH into the **slave** Redis server.
1. [Download/install](https://about.gitlab.com/installation) the Omnibus GitLab 1. [Download/install](https://about.gitlab.com/install/) the Omnibus GitLab
package you want using **steps 1 and 2** from the GitLab downloads page. package you want using **steps 1 and 2** from the GitLab downloads page.
- Make sure you select the correct Omnibus package, with the same version - Make sure you select the correct Omnibus package, with the same version
and type (Community, Enterprise editions) of your current install. and type (Community, Enterprise editions) of your current install.
......
...@@ -11,7 +11,7 @@ GitLab has two product distributions available through [different subscriptions] ...@@ -11,7 +11,7 @@ GitLab has two product distributions available through [different subscriptions]
- The open source [GitLab Community Edition (CE)](https://gitlab.com/gitlab-org/gitlab-ce). - The open source [GitLab Community Edition (CE)](https://gitlab.com/gitlab-org/gitlab-ce).
- The open core [GitLab Enterprise Edition (EE)](https://gitlab.com/gitlab-org/gitlab-ee). - The open core [GitLab Enterprise Edition (EE)](https://gitlab.com/gitlab-org/gitlab-ee).
You can [install either GitLab CE or GitLab EE](https://about.gitlab.com/installation/ce-or-ee/). You can [install either GitLab CE or GitLab EE](https://about.gitlab.com/install/ce-or-ee/).
However, the features you'll have access to depend on the subscription you choose However, the features you'll have access to depend on the subscription you choose
(Core, Starter, Premium, or Ultimate). (Core, Starter, Premium, or Ultimate).
......
...@@ -13,10 +13,10 @@ tasks such as: ...@@ -13,10 +13,10 @@ tasks such as:
To request access to Chatops on GitLab.com: To request access to Chatops on GitLab.com:
1. Log into <https://ops.gitlab.net/users/sign_in> using the same username as for GitLab.com. 1. Log into <https://ops.gitlab.net/users/sign_in> using the same username as for GitLab.com.
1. Ask [anyone in the `chatops` project](https://gitlab.com/gitlab-com/chatops/project_members) to add you by running `/chatops run member add <username> gitlab-com/chatops --ops`. 1. Ask [anyone in the `chatops` project](https://gitlab.com/gitlab-com/chatops/-/project_members) to add you by running `/chatops run member add <username> gitlab-com/chatops --ops`.
## See also ## See also
- [Chatops Usage](../ci/chatops/README.md) - [Chatops Usage](../ci/chatops/README.md)
- [Understanding EXPLAIN plans](understanding_explain_plans.md) - [Understanding EXPLAIN plans](understanding_explain_plans.md)
- [Feature Groups](feature_flags/development.md#feature-groups) - [Feature Groups](feature_flags/development.md#feature-groups)
...@@ -319,7 +319,7 @@ reviewee. ...@@ -319,7 +319,7 @@ reviewee.
### GitLab-specific concerns ### GitLab-specific concerns
GitLab is used in a lot of places. Many users use GitLab is used in a lot of places. Many users use
our [Omnibus packages](https://about.gitlab.com/installation/), but some use our [Omnibus packages](https://about.gitlab.com/install/), but some use
the [Docker images](https://docs.gitlab.com/omnibus/docker/), some are the [Docker images](https://docs.gitlab.com/omnibus/docker/), some are
[installed from source](../install/installation.md), [installed from source](../install/installation.md),
and there are other installation methods available. GitLab.com itself is a large and there are other installation methods available. GitLab.com itself is a large
......
...@@ -4,8 +4,8 @@ GitLab community members and their privileges/responsibilities. ...@@ -4,8 +4,8 @@ GitLab community members and their privileges/responsibilities.
| Roles | Responsibilities | Requirements | | Roles | Responsibilities | Requirements |
|-------|------------------|--------------| |-------|------------------|--------------|
| Maintainer | Accepts merge requests on several GitLab projects | Added to the [team page](https://about.gitlab.com/team/). An expert on code reviews and knows the product/code base | | Maintainer | Accepts merge requests on several GitLab projects | Added to the [team page](https://about.gitlab.com/company/team/). An expert on code reviews and knows the product/code base |
| Reviewer | Performs code reviews on MRs | Added to the [team page](https://about.gitlab.com/team/) | | Reviewer | Performs code reviews on MRs | Added to the [team page](https://about.gitlab.com/company/team/) |
| Developer |Has access to GitLab internal infrastructure & issues (e.g. HR-related) | GitLab employee or a Core Team member (with an NDA) | | Developer |Has access to GitLab internal infrastructure & issues (e.g. HR-related) | GitLab employee or a Core Team member (with an NDA) |
| Contributor | Can make contributions to all GitLab public projects | Have a GitLab.com account | | Contributor | Can make contributions to all GitLab public projects | Have a GitLab.com account |
......
...@@ -4,7 +4,7 @@ Thank you for your interest in contributing to GitLab. This guide details how ...@@ -4,7 +4,7 @@ Thank you for your interest in contributing to GitLab. This guide details how
to contribute to GitLab in a way that is easy for everyone. to contribute to GitLab in a way that is easy for everyone.
For a first-time step-by-step guide to the contribution process, please see For a first-time step-by-step guide to the contribution process, please see
["Contributing to GitLab"](https://about.gitlab.com/contributing/). ["Contributing to GitLab"](https://about.gitlab.com/community/contribute/).
Looking for something to work on? Look for issues with the label [`Accepting merge requests`](#i-want-to-contribute). Looking for something to work on? Look for issues with the label [`Accepting merge requests`](#i-want-to-contribute).
......
# Workflow labels # Workflow labels
To allow for asynchronous issue handling, we use [milestones][milestones-page] To allow for asynchronous issue handling, we use [milestones][milestones-page]
and [labels][labels-page]. Leads and product managers handle most of the and [labels](https://gitlab.com/gitlab-org/gitlab-ce/-/labels). Leads and product managers handle most of the
scheduling into milestones. Labelling is a task for everyone. scheduling into milestones. Labelling is a task for everyone.
Most issues will have labels for at least one of the following: Most issues will have labels for at least one of the following:
...@@ -18,7 +18,7 @@ Most issues will have labels for at least one of the following: ...@@ -18,7 +18,7 @@ Most issues will have labels for at least one of the following:
- Severity: ~S1, ~S2, ~S3, ~S4 - Severity: ~S1, ~S2, ~S3, ~S4
All labels, their meaning and priority are defined on the All labels, their meaning and priority are defined on the
[labels page][labels-page]. [labels page](https://gitlab.com/gitlab-org/gitlab-ce/-/labels).
If you come across an issue that has none of these, and you're allowed to set If you come across an issue that has none of these, and you're allowed to set
labels, you can _always_ add the team and type, and often also the subject. labels, you can _always_ add the team and type, and often also the subject.
...@@ -38,7 +38,7 @@ makes them float to the top, depending on their importance. ...@@ -38,7 +38,7 @@ makes them float to the top, depending on their importance.
Type labels are always lowercase, and can have any color, besides blue (which is Type labels are always lowercase, and can have any color, besides blue (which is
already reserved for subject labels). already reserved for subject labels).
The descriptions on the [labels page][labels-page] explain what falls under each type label. The descriptions on the [labels page](https://gitlab.com/gitlab-org/gitlab-ce/-/labels) explain what falls under each type label.
## Subject labels ## Subject labels
...@@ -89,7 +89,7 @@ The following team labels are **true** teams per our [organization structure](ht ...@@ -89,7 +89,7 @@ The following team labels are **true** teams per our [organization structure](ht
- ~Delivery - ~Delivery
- ~Documentation - ~Documentation
The descriptions on the [labels page][labels-page] explain what falls under the The descriptions on the [labels page](https://gitlab.com/gitlab-org/gitlab-ce/-/labels) explain what falls under the
responsibility of each team. responsibility of each team.
Within those team labels, we also have the ~backend and ~frontend labels to Within those team labels, we also have the ~backend and ~frontend labels to
...@@ -500,7 +500,6 @@ A recent example of this was the issue for ...@@ -500,7 +500,6 @@ A recent example of this was the issue for
[Return to Contributing documentation](index.md) [Return to Contributing documentation](index.md)
[labels-page]: https://gitlab.com/gitlab-org/gitlab-ce/labels
[ce-tracker]: https://gitlab.com/gitlab-org/gitlab-ce/issues [ce-tracker]: https://gitlab.com/gitlab-org/gitlab-ce/issues
[ee-tracker]: https://gitlab.com/gitlab-org/gitlab-ee/issues [ee-tracker]: https://gitlab.com/gitlab-org/gitlab-ee/issues
[inferred-labels]: https://gitlab.com/gitlab-org/quality/triage-ops/merge_requests/155 [inferred-labels]: https://gitlab.com/gitlab-org/quality/triage-ops/merge_requests/155
# Style guides # Style guides
1. [Ruby](https://github.com/bbatsov/ruby-style-guide). 1. [Ruby](https://github.com/rubocop-hq/ruby-style-guide).
Important sections include [Source Code Layout][rss-source] and Important sections include [Source Code Layout][rss-source] and
[Naming][rss-naming]. Use: [Naming][rss-naming]. Use:
- multi-line method chaining style **Option A**: dot `.` on the second line - multi-line method chaining style **Option A**: dot `.` on the second line
- string literal quoting style **Option A**: single quoted by default - string literal quoting style **Option A**: single quoted by default
1. [Rails](https://github.com/bbatsov/rails-style-guide) 1. [Rails](https://github.com/rubocop-hq/rails-style-guide)
1. [Newlines styleguide][newlines-styleguide] 1. [Newlines styleguide][newlines-styleguide]
1. [Testing][testing] 1. [Testing][testing]
1. [JavaScript styleguide][js-styleguide] 1. [JavaScript styleguide][js-styleguide]
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
1. [Shell commands (Ruby)](../shell_commands.md) created by GitLab 1. [Shell commands (Ruby)](../shell_commands.md) created by GitLab
contributors to enhance security contributors to enhance security
1. [Database Migrations](../migration_style_guide.md) 1. [Database Migrations](../migration_style_guide.md)
1. [Markdown](http://www.cirosantilli.com/markdown-styleguide) 1. [Markdown](https://cirosantilli.com/markdown-style-guide/)
1. [Documentation styleguide](../documentation/styleguide.md) 1. [Documentation styleguide](../documentation/styleguide.md)
1. Interface text should be written subjectively instead of objectively. It 1. Interface text should be written subjectively instead of objectively. It
should be the GitLab core team addressing a person. It should be written in should be the GitLab core team addressing a person. It should be written in
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
1. [Python](../python_guide/index.md) 1. [Python](../python_guide/index.md)
This is also the style used by linting tools such as This is also the style used by linting tools such as
[RuboCop](https://github.com/bbatsov/rubocop) and [Hound CI](https://houndci.com). [RuboCop](https://github.com/rubocop-hq/rubocop) and [Hound CI](https://houndci.com).
--- ---
......
...@@ -11,7 +11,7 @@ Architectural decisions should be accessible to everyone, so please document ...@@ -11,7 +11,7 @@ Architectural decisions should be accessible to everyone, so please document
them in the relevant Merge Request discussion or by updating our documentation them in the relevant Merge Request discussion or by updating our documentation
when appropriate. when appropriate.
You can find the Frontend Architecture experts on the [team page](https://about.gitlab.com/team). You can find the Frontend Architecture experts on the [team page](https://about.gitlab.com/company/team).
## Examples ## Examples
......
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
GitLab supports native unicode emojis and fallsback to image-based emojis selectively GitLab supports native unicode emojis and fallsback to image-based emojis selectively
when your platform does not support it. when your platform does not support it.
# How to update Emojis ## How to update Emojis
1. Update the `gemojione` gem 1. Update the `gemojione` gem
1. Update `fixtures/emojis/index.json` from [Gemojione](https://github.com/jonathanwiesel/gemojione/blob/master/config/index.json). 1. Update `fixtures/emojis/index.json` from [Gemojione](https://github.com/bonusly/gemojione/blob/master/config/index.json).
In the future, we could grab the file directly from the gem. In the future, we could grab the file directly from the gem.
We should probably make a PR on the Gemojione project to get access to We should probably make a PR on the Gemojione project to get access to
all emojis after being parsed or just a raw path to the `json` file itself. all emojis after being parsed or just a raw path to the `json` file itself.
......
...@@ -55,7 +55,6 @@ It is possible to manage an application state with Apollo by passing ...@@ -55,7 +55,6 @@ It is possible to manage an application state with Apollo by passing
in a resolvers object when creating the default client. The default state can be set by writing in a resolvers object when creating the default client. The default state can be set by writing
to the cache after setting up the default client. to the cache after setting up the default client.
```javascript ```javascript
import Vue from 'vue'; import Vue from 'vue';
import VueApollo from 'vue-apollo'; import VueApollo from 'vue-apollo';
...@@ -115,13 +114,12 @@ defaultClient.query(query) ...@@ -115,13 +114,12 @@ defaultClient.query(query)
.then(result => console.log(result)); .then(result => console.log(result));
``` ```
Read more about the [Apollo] client in the [Apollo documentation][apollo-client-docs]. Read more about the [Apollo] client in the [Apollo documentation](https://www.apollographql.com/docs/tutorial/client/).
[Apollo]: https://www.apollographql.com/ [Apollo]: https://www.apollographql.com/
[vue-apollo]: https://github.com/Akryum/vue-apollo/ [vue-apollo]: https://github.com/Akryum/vue-apollo/
[vue-apollo-docs]: https://akryum.github.io/vue-apollo/ [vue-apollo-docs]: https://akryum.github.io/vue-apollo/
[feature-flags]: ../feature_flags.md [feature-flags]: ../feature_flags.md
[default-client]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/lib/graphql.js [default-client]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/lib/graphql.js
[apollo-client-docs]: https://www.apollographql.com/docs/tutorial/client.html
[vue-test-utils]: https://vue-test-utils.vuejs.org/ [vue-test-utils]: https://vue-test-utils.vuejs.org/
[apollo-link-state]: https://www.apollographql.com/docs/link/links/state.html [apollo-link-state]: https://www.apollographql.com/docs/link/links/state.html
...@@ -4,7 +4,7 @@ The following are required to install and test the app: ...@@ -4,7 +4,7 @@ The following are required to install and test the app:
1. A Jira Cloud instance 1. A Jira Cloud instance
Atlassian provides free instances for development and testing. [Click here to sign up](http://go.atlassian.com/cloud-dev). Atlassian provides free instances for development and testing. [Click here to sign up](https://developer.atlassian.com/platform/marketplace/getting-started/#free-developer-instances-to-build-and-test-your-app).
1. A GitLab instance available over the internet 1. A GitLab instance available over the internet
...@@ -15,7 +15,7 @@ The following are required to install and test the app: ...@@ -15,7 +15,7 @@ The following are required to install and test the app:
> This feature is currently behind the `:jira_connect_app` feature flag > This feature is currently behind the `:jira_connect_app` feature flag
# Installing the app in Jira ## Installing the app in Jira
1. Enable Jira development mode to install apps that are not from the Atlassian Marketplace 1. Enable Jira development mode to install apps that are not from the Atlassian Marketplace
......
...@@ -21,7 +21,7 @@ When downtime is necessary the migration has to be approved by: ...@@ -21,7 +21,7 @@ When downtime is necessary the migration has to be approved by:
1. A Database Specialist 1. A Database Specialist
An up-to-date list of people holding these titles can be found at An up-to-date list of people holding these titles can be found at
<https://about.gitlab.com/team/>. <https://about.gitlab.com/company/team/>.
When writing your migrations, also consider that databases might have stale data When writing your migrations, also consider that databases might have stale data
or inconsistencies and guard for that. Try to make as few assumptions as or inconsistencies and guard for that. Try to make as few assumptions as
......
...@@ -13,7 +13,7 @@ D3 is very popular across many projects outside of GitLab: ...@@ -13,7 +13,7 @@ D3 is very popular across many projects outside of GitLab:
- [The New York Times](https://archive.nytimes.com/www.nytimes.com/interactive/2012/02/13/us/politics/2013-budget-proposal-graphic.html) - [The New York Times](https://archive.nytimes.com/www.nytimes.com/interactive/2012/02/13/us/politics/2013-budget-proposal-graphic.html)
- [plot.ly](https://plot.ly/) - [plot.ly](https://plot.ly/)
- [Droptask](https://www.droptask.com/) - [Droptask](https://www.ayoa.com/previously-droptask/)
Within GitLab, D3 has been used for the following notable features Within GitLab, D3 has been used for the following notable features
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
## Monitoring ## Monitoring
We have a performance dashboard available in one of our [grafana instances](https://dashboards.gitlab.net/d/1EBTz3Dmz/sitespeed-page-summary?orgId=1). This dashboard automatically aggregates metric data from [sitespeed.io](https://sitespeed.io) every 6 hours. These changes are displayed after a set number of pages are aggregated. We have a performance dashboard available in one of our [grafana instances](https://dashboards.gitlab.net/d/1EBTz3Dmz/sitespeed-page-summary?orgId=1). This dashboard automatically aggregates metric data from [sitespeed.io](https://www.sitespeed.io/) every 6 hours. These changes are displayed after a set number of pages are aggregated.
These pages can be found inside a text file in the gitlab-build-images [repository](https://gitlab.com/gitlab-org/gitlab-build-images) called [gitlab.txt](https://gitlab.com/gitlab-org/gitlab-build-images/blob/master/scripts/gitlab.txt) These pages can be found inside a text file in the gitlab-build-images [repository](https://gitlab.com/gitlab-org/gitlab-build-images) called [gitlab.txt](https://gitlab.com/gitlab-org/gitlab-build-images/blob/master/scripts/gitlab.txt)
Any frontend engineer can contribute to this dashboard. They can contribute by adding or removing urls of pages from this text file. Please have a [frontend monitoring expert](https://about.gitlab.com/team) review your changes before assigning to a maintainer of the `gitlab-build-images` project. The changes will go live on the next scheduled run after the changes are merged into `master`. Any frontend engineer can contribute to this dashboard. They can contribute by adding or removing urls of pages from this text file. Please have a [frontend monitoring expert](https://about.gitlab.com/company/team) review your changes before assigning to a maintainer of the `gitlab-build-images` project. The changes will go live on the next scheduled run after the changes are merged into `master`.
There are 3 recommended high impact metrics to review on each page: There are 3 recommended high impact metrics to review on each page:
......
...@@ -261,7 +261,7 @@ scenario 'successfully', :js do ...@@ -261,7 +261,7 @@ scenario 'successfully', :js do
end end
``` ```
The steps of each test are written using capybara methods ([documentation](http://www.rubydoc.info/gems/capybara/2.15.1)). The steps of each test are written using capybara methods ([documentation](https://www.rubydoc.info/gems/capybara/2.15.1)).
Bear in mind <abbr title="XMLHttpRequest">XHR</abbr> calls might require you to use `wait_for_requests` in between steps, like so: Bear in mind <abbr title="XMLHttpRequest">XHR</abbr> calls might require you to use `wait_for_requests` in between steps, like so:
...@@ -277,7 +277,7 @@ expect(page).not_to have_selector('.card') ...@@ -277,7 +277,7 @@ expect(page).not_to have_selector('.card')
### Vuex Helper: `testAction` ### Vuex Helper: `testAction`
We have a helper available to make testing actions easier, as per [official documentation](https://vuex.vuejs.org/en/testing.html): We have a helper available to make testing actions easier, as per [official documentation](https://vuex.vuejs.org/guide/testing.html):
``` ```
testAction( testAction(
......
...@@ -16,7 +16,7 @@ Button tags requires a `type` attribute according to the [W3C HTML specification ...@@ -16,7 +16,7 @@ Button tags requires a `type` attribute according to the [W3C HTML specification
### Button role ### Button role
If an HTML element has an `onClick` handler but is not a button, it should have `role="button"`. This is [more accessible](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_button_role). If an HTML element has an `onClick` handler but is not a button, it should have `role="button"`. This is [more accessible](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role).
```html ```html
// bad // bad
......
...@@ -36,7 +36,7 @@ You can read more about it in: <https://github.com/pyenv/pyenv-installer#prerequ ...@@ -36,7 +36,7 @@ You can read more about it in: <https://github.com/pyenv/pyenv-installer#prerequ
Pyenv installation will add required changes to Bash. If you use a different shell, Pyenv installation will add required changes to Bash. If you use a different shell,
check for any additional steps required for it. check for any additional steps required for it.
For Fish, you can install a plugin for [Fisherman](https://github.com/fisherman/fisherman): For Fish, you can install a plugin for [Fisher](https://github.com/jorgebucaran/fisher):
```bash ```bash
fisher add fisherman/pyenv fisher add fisherman/pyenv
...@@ -76,4 +76,3 @@ pipenv shell ...@@ -76,4 +76,3 @@ pipenv shell
After running that command, you can run GitLab on the same shell and it will be using the Python and dependencies After running that command, you can run GitLab on the same shell and it will be using the Python and dependencies
installed from the `pipenv install` command. installed from the `pipenv install` command.
# QueryRecorder # QueryRecorder
QueryRecorder is a tool for detecting the [N+1 queries problem](http://guides.rubyonrails.org/active_record_querying.html#eager-loading-associations) from tests. QueryRecorder is a tool for detecting the [N+1 queries problem](https://guides.rubyonrails.org/active_record_querying.html#eager-loading-associations) from tests.
> Implemented in [spec/support/query_recorder.rb](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/spec/support/helpers/query_recorder.rb) via [9c623e3e](https://gitlab.com/gitlab-org/gitlab-ce/commit/9c623e3e5d7434f2e30f7c389d13e5af4ede770a) > Implemented in [spec/support/query_recorder.rb](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/spec/support/helpers/query_recorder.rb) via [9c623e3e](https://gitlab.com/gitlab-org/gitlab-ce/commit/9c623e3e5d7434f2e30f7c389d13e5af4ede770a)
...@@ -86,4 +86,4 @@ QueryRecorder SQL: SELECT COUNT(*) FROM "issues" WHERE "issues"."deleted_at" IS ...@@ -86,4 +86,4 @@ QueryRecorder SQL: SELECT COUNT(*) FROM "issues" WHERE "issues"."deleted_at" IS
- [Bullet](profiling.md#Bullet) For finding `N+1` query problems - [Bullet](profiling.md#Bullet) For finding `N+1` query problems
- [Performance guidelines](performance.md) - [Performance guidelines](performance.md)
- [Merge request performance guidelines](merge_request_performance_guidelines.md#query-counts) - [Merge request performance guidelines](merge_request_performance_guidelines.md#query-counts)
\ No newline at end of file
...@@ -11,7 +11,7 @@ importance. ...@@ -11,7 +11,7 @@ importance.
## Overview ## Overview
GitLab is built on top of [Ruby on Rails][rails], and we're using [RSpec] for all GitLab is built on top of [Ruby on Rails](https://rubyonrails.org/), and we're using [RSpec] for all
the backend tests, with [Capybara] for end-to-end integration testing. the backend tests, with [Capybara] for end-to-end integration testing.
On the frontend side, we're using [Karma] and [Jasmine] for JavaScript unit and On the frontend side, we're using [Karma] and [Jasmine] for JavaScript unit and
integration testing. integration testing.
...@@ -80,7 +80,6 @@ Everything you should know about how to run end-to-end tests using ...@@ -80,7 +80,6 @@ Everything you should know about how to run end-to-end tests using
[Return to Development documentation](../README.md) [Return to Development documentation](../README.md)
[rails]: http://rubyonrails.org/
[RSpec]: https://github.com/rspec/rspec-rails#feature-specs [RSpec]: https://github.com/rspec/rspec-rails#feature-specs
[Capybara]: https://github.com/teamcapybara/capybara [Capybara]: https://github.com/teamcapybara/capybara
[Karma]: http://karma-runner.github.io/ [Karma]: http://karma-runner.github.io/
......
--- ---
redirect_to: 'https://design.gitlab.com/resources/design-resources' redirect_to: 'https://design.gitlab.com/resources/design-resources/'
--- ---
The content of this document was moved into the [GitLab Design System](https://design.gitlab.com/). The content of this document was moved into the [GitLab Design System](https://design.gitlab.com/resources/design-resources/).
...@@ -81,7 +81,7 @@ To downgrade an Omnibus installation, it is sufficient to install the Community ...@@ -81,7 +81,7 @@ To downgrade an Omnibus installation, it is sufficient to install the Community
Edition package on top of the currently installed one. You can do this manually, Edition package on top of the currently installed one. You can do this manually,
by directly [downloading the package](https://packages.gitlab.com/gitlab/gitlab-ce) by directly [downloading the package](https://packages.gitlab.com/gitlab/gitlab-ce)
you need, or by adding our CE package repository and following the you need, or by adding our CE package repository and following the
[CE installation instructions](https://about.gitlab.com/installation/?version=ce). [CE installation instructions](https://about.gitlab.com/install/?version=ce).
**Source Installation** **Source Installation**
......
...@@ -55,7 +55,7 @@ After a few seconds, the instance will be created and available to log in. The n ...@@ -55,7 +55,7 @@ After a few seconds, the instance will be created and available to log in. The n
![GitLab first sign in](img/ssh_terminal.png) ![GitLab first sign in](img/ssh_terminal.png)
1. Next, follow the instructions for installing GitLab for the operating system you choose, at <https://about.gitlab.com/installation/>. You can use the IP address from the step above, as the hostname. 1. Next, follow the instructions for installing GitLab for the operating system you choose, at <https://about.gitlab.com/install/>. You can use the IP address from the step above, as the hostname.
1. Congratulations! GitLab is now installed and you can access it via your browser. To finish installation, open the URL in your browser and provide the initial administrator password. The username for this account is `root`. 1. Congratulations! GitLab is now installed and you can access it via your browser. To finish installation, open the URL in your browser and provide the initial administrator password. The username for this account is `root`.
......
...@@ -13,8 +13,8 @@ for details. ...@@ -13,8 +13,8 @@ for details.
## Introduction ## Introduction
[OpenShift Origin][openshift] is an open source container application [OpenShift Origin](https://www.okd.io/) (**Note:** renamed to OKD in Aug 2018) is an open source container application
platform created by [RedHat], based on [kubernetes] and [Docker]. That means platform created by [RedHat], based on [kubernetes](https://kubernetes.io/) and [Docker]. That means
you can host your own PaaS for free and almost with no hassle. you can host your own PaaS for free and almost with no hassle.
In this tutorial, we will see how to deploy GitLab in OpenShift using GitLab's In this tutorial, we will see how to deploy GitLab in OpenShift using GitLab's
...@@ -27,8 +27,11 @@ For a video demonstration on installing GitLab on OpenShift, check the article [ ...@@ -27,8 +27,11 @@ For a video demonstration on installing GitLab on OpenShift, check the article [
## Prerequisites ## Prerequisites
OpenShift 3 is not yet deployed on RedHat's offered Online platform ([openshift.com]), CAUTION: **Caution:** This information is no longer up to date, as the current versions
so in order to test it, we will use an [all-in-one Virtualbox image][vm] that is have changed and products have been renamed.
OpenShift 3 is not yet deployed on RedHat's offered Online platform, [openshift.com](https://www.openshift.com/),
so in order to test it, we will use an [all-in-one Virtualbox image](https://www.okd.io/minishift/) that is
offered by the OpenShift developers and managed by Vagrant. If you haven't done offered by the OpenShift developers and managed by Vagrant. If you haven't done
already, go ahead and install the following components as they are essential to already, go ahead and install the following components as they are essential to
test OpenShift easily: test OpenShift easily:
...@@ -458,7 +461,7 @@ OpenShift's website about [autoscaling]. ...@@ -458,7 +461,7 @@ OpenShift's website about [autoscaling].
## Current limitations ## Current limitations
As stated in the [all-in-one VM][vm] page: As stated in the [all-in-one VM](https://www.okd.io/minishift/) page:
> By default, OpenShift will not allow a container to run as root or even a > By default, OpenShift will not allow a container to run as root or even a
non-random container assigned userid. Most Docker images in the Dockerhub do not non-random container assigned userid. Most Docker images in the Dockerhub do not
...@@ -506,12 +509,8 @@ is capable of. As always, you can refer to the detailed ...@@ -506,12 +509,8 @@ is capable of. As always, you can refer to the detailed
PaaS and managing your applications with the ease of containers. PaaS and managing your applications with the ease of containers.
[RedHat]: https://www.redhat.com/en "RedHat website" [RedHat]: https://www.redhat.com/en "RedHat website"
[openshift]: https://www.openshift.org "OpenShift Origin website"
[vm]: https://www.openshift.org/vm/ "OpenShift All-in-one VM"
[vm-new]: https://app.vagrantup.com/openshift/boxes/origin-all-in-one "Official OpenShift Vagrant box on Vagrant Cloud" [vm-new]: https://app.vagrantup.com/openshift/boxes/origin-all-in-one "Official OpenShift Vagrant box on Vagrant Cloud"
[template]: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/docker/openshift-template.json "OpenShift template for GitLab" [template]: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/docker/openshift-template.json "OpenShift template for GitLab"
[openshift.com]: https://openshift.com "OpenShift Online"
[kubernetes]: http://kubernetes.io/ "Kubernetes website"
[Docker]: https://www.docker.com "Docker website" [Docker]: https://www.docker.com "Docker website"
[oc]: https://docs.openshift.org/latest/cli_reference/get_started_cli.html "Documentation - oc CLI documentation" [oc]: https://docs.openshift.org/latest/cli_reference/get_started_cli.html "Documentation - oc CLI documentation"
[VirtualBox]: https://www.virtualbox.org/wiki/Downloads "VirtualBox downloads" [VirtualBox]: https://www.virtualbox.org/wiki/Downloads "VirtualBox downloads"
......
...@@ -30,7 +30,7 @@ For the installations options, see [the main installation page](README.md). ...@@ -30,7 +30,7 @@ For the installations options, see [the main installation page](README.md).
- macOS - macOS
Installation of GitLab on these operating systems is possible, but not supported. Installation of GitLab on these operating systems is possible, but not supported.
Please see the [installation from source guide](installation.md) and the [installation guides](https://about.gitlab.com/installation/) for more information. Please see the [installation from source guide](installation.md) and the [installation guides](https://about.gitlab.com/install/) for more information.
### Microsoft Windows ### Microsoft Windows
......
...@@ -41,6 +41,6 @@ Use the built-in continuous integration in GitLab. ...@@ -41,6 +41,6 @@ Use the built-in continuous integration in GitLab.
Install and update your GitLab installation. Install and update your GitLab installation.
- [Install GitLab](https://about.gitlab.com/installation/) - [Install GitLab](https://about.gitlab.com/install/)
- [Update GitLab](https://about.gitlab.com/update/) - [Update GitLab](https://about.gitlab.com/update/)
- [Explore Omnibus GitLab configuration options](https://docs.gitlab.com/omnibus/settings/configuration.html) - [Explore Omnibus GitLab configuration options](https://docs.gitlab.com/omnibus/settings/configuration.html)
...@@ -9,7 +9,7 @@ patch and security releases. New releases are usually announced on the [GitLab b ...@@ -9,7 +9,7 @@ patch and security releases. New releases are usually announced on the [GitLab b
## Versioning ## Versioning
GitLab uses [Semantic Versioning](http://semver.org/) for its releases: GitLab uses [Semantic Versioning](https://semver.org/) for its releases:
`(Major).(Minor).(Patch)` in a [pragmatic way](https://gist.github.com/jashkenas/cbd2b088e20279ae2c8e). `(Major).(Minor).(Patch)` in a [pragmatic way](https://gist.github.com/jashkenas/cbd2b088e20279ae2c8e).
For example, for GitLab version 10.5.7: For example, for GitLab version 10.5.7:
......
...@@ -9,7 +9,7 @@ comments: false ...@@ -9,7 +9,7 @@ comments: false
- [Cleanup](cleanup.md) - [Cleanup](cleanup.md)
- [Features](features.md) - [Features](features.md)
- [LDAP Maintenance](../administration/raketasks/ldap.md) - [LDAP Maintenance](../administration/raketasks/ldap.md)
- [General Maintenance](maintenance.md) and self-checks - [General Maintenance](../administration/raketasks/maintenance.md) and self-checks
- [User management](user_management.md) - [User management](user_management.md)
- [Webhooks](web_hooks.md) - [Webhooks](web_hooks.md)
- [Import](import.md) of git repositories in bulk - [Import](import.md) of git repositories in bulk
......
...@@ -45,7 +45,7 @@ It's important to understand how to install GitLab in the same way that our user ...@@ -45,7 +45,7 @@ It's important to understand how to install GitLab in the same way that our user
Sometimes we need to upgrade customers from old versions of GitLab to latest, so it's good to get some experience of doing that now. Sometimes we need to upgrade customers from old versions of GitLab to latest, so it's good to get some experience of doing that now.
- [Installation Methods](https://about.gitlab.com/installation/): - [Installation Methods](https://about.gitlab.com/install/):
- [Omnibus](https://gitlab.com/gitlab-org/omnibus-gitlab/) - [Omnibus](https://gitlab.com/gitlab-org/omnibus-gitlab/)
- [Docker](https://gitlab.com/gitlab-org/gitlab-ce/tree/master/docker) - [Docker](https://gitlab.com/gitlab-org/gitlab-ce/tree/master/docker)
- [Source](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md) - [Source](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md)
......
...@@ -6,7 +6,7 @@ type: index ...@@ -6,7 +6,7 @@ type: index
# GitLab Training Material # GitLab Training Material
All GitLab training material is stored in markdown format. Slides are All GitLab training material is stored in markdown format. Slides are
generated using [Deskset](http://www.decksetapp.com/). generated using [Deskset](https://www.deckset.com/).
All training material is open to public contribution. All training material is open to public contribution.
...@@ -35,8 +35,8 @@ This section contains the following topics: ...@@ -35,8 +35,8 @@ This section contains the following topics:
## Additional Resources ## Additional Resources
1. [GitLab Documentation](https://docs.gitlab.com) 1. [GitLab Documentation](https://docs.gitlab.com)
1. [GUI Clients](http://git-scm.com/downloads/guis) 1. [GUI Clients](https://git-scm.com/downloads/guis)
1. [Pro Git book](http://git-scm.com/book) 1. [Pro Git book](https://git-scm.com/book/en/v2)
1. [Platzi Course](https://courses.platzi.com/courses/git-gitlab/) 1. [Platzi Course](https://courses.platzi.com/courses/git-gitlab/)
1. [Code School tutorial](http://try.github.io/) 1. [Code School tutorial](http://try.github.io/)
1. Contact us at `subscribers@gitlab.com` 1. Contact us at `subscribers@gitlab.com`
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment