Commit 70af7c65 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 1f3b8e27 98c79081
...@@ -61,8 +61,8 @@ migration classes must be defined in the namespace ...@@ -61,8 +61,8 @@ migration classes must be defined in the namespace
## Scheduling ## Scheduling
Scheduling a migration can be done in either a regular migration or a Scheduling a background migration should be done in a post-deployment migration.
post-deployment migration. To do so, simply use the following code while To do so, simply use the following code while
replacing the class name and arguments with whatever values are necessary for replacing the class name and arguments with whatever values are necessary for
your migration: your migration:
...@@ -283,10 +283,13 @@ the `services.properties` column. ...@@ -283,10 +283,13 @@ the `services.properties` column.
## Testing ## Testing
It is required to write tests for background migrations' scheduling migration It is required to write tests for:
(either a regular migration or a post deployment migration), background
migration itself and a cleanup migration. You can use the `:migration` RSpec - The background migrations' scheduling migration.
tag when testing a regular / post deployment migration. - The background migration itself.
- A cleanup migration.
You can use the `:migration` RSpec tag when testing the migrations.
See [README][migrations-readme]. See [README][migrations-readme].
When you do that, keep in mind that `before` and `after` RSpec hooks are going When you do that, keep in mind that `before` and `after` RSpec hooks are going
......
...@@ -134,7 +134,7 @@ variables: ...@@ -134,7 +134,7 @@ variables:
The DAST settings can be changed through environment variables by using the The DAST settings can be changed through environment variables by using the
[`variables`](../../../ci/yaml/README.md#variables) parameter in `.gitlab-ci.yml`. [`variables`](../../../ci/yaml/README.md#variables) parameter in `.gitlab-ci.yml`.
These variables are documented in the [DAST README](https://gitlab.com/gitlab-org/security-products/dast#settings). These variables are documented in [available variables](#available-variables).
For example: For example:
......
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