Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
70af7c65
Commit
70af7c65
authored
Sep 04, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
1f3b8e27
98c79081
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
doc/development/background_migrations.md
doc/development/background_migrations.md
+9
-6
doc/user/application_security/dast/index.md
doc/user/application_security/dast/index.md
+1
-1
No files found.
doc/development/background_migrations.md
View file @
70af7c65
...
@@ -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
...
...
doc/user/application_security/dast/index.md
View file @
70af7c65
...
@@ -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#setting
s
)
.
These variables are documented in
[
available variables
](
#available-variable
s
)
.
For example:
For example:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment