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
32d52eb6
Commit
32d52eb6
authored
Jan 22, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
66ce6a78
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
322 additions
and
19 deletions
+322
-19
doc/development/elasticsearch.md
doc/development/elasticsearch.md
+5
-17
doc/development/img/reference_architecture.png
doc/development/img/reference_architecture.png
+0
-0
doc/development/img/sidekiq_longest_running_jobs.png
doc/development/img/sidekiq_longest_running_jobs.png
+0
-0
doc/development/img/sidekiq_most_time_consuming_jobs.png
doc/development/img/sidekiq_most_time_consuming_jobs.png
+0
-0
doc/development/scalability.md
doc/development/scalability.md
+295
-0
doc/development/what_requires_downtime.md
doc/development/what_requires_downtime.md
+5
-0
doc/user/instance_statistics/convdev.md
doc/user/instance_statistics/convdev.md
+5
-0
doc/user/instance_statistics/dev_ops_score.md
doc/user/instance_statistics/dev_ops_score.md
+1
-0
qa/qa/page/base.rb
qa/qa/page/base.rb
+1
-1
qa/qa/page/merge_request/show.rb
qa/qa/page/merge_request/show.rb
+2
-0
qa/qa/resource/api_fabricator.rb
qa/qa/resource/api_fabricator.rb
+6
-0
qa/qa/resource/group.rb
qa/qa/resource/group.rb
+1
-0
scripts/flaky_examples/prune-old-flaky-examples
scripts/flaky_examples/prune-old-flaky-examples
+1
-1
No files found.
doc/development/elasticsearch.md
View file @
32d52eb6
...
...
@@ -15,27 +15,15 @@ In June 2019, Mario de la Ossa hosted a [Deep Dive] on GitLab's [Elasticsearch i
[
Google Slides
]:
https://docs.google.com/presentation/d/1H-pCzI_LNrgrL5pJAIQgvLX8Ji0-jIKOg1QeJQzChug/edit
[
PDF
]:
https://gitlab.com/gitlab-org/create-stage/uploads/c5aa32b6b07476fa8b597004899ec538/Elasticsearch_Deep_Dive.pdf
##
Initial installation on OS X
##
Supported Versions
It is recommended to use the Docker image. After installing docker you can immediately spin up an instance with
See
[
Version Requirements
](
../integration/elasticsearch.md#version-requirements
)
.
```
docker run --name elastic56 -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:5.6.12
```
and use
`docker stop elastic56`
and
`docker start elastic56`
to stop/start it.
### Installing on the host
Developers making significant changes to Elasticsearch queries should test their features against all our supported versions.
We currently only support Elasticsearch
[
5.6 to 6.x
](
../integration/elasticsearch.md#version-requirements
)
Version 5.6 is available on homebrew and is the recommended version to use in order to test compatibility.
```
brew install elasticsearch@5.6
```
## Setting up development environment
There is no need to install any plugins
See the
[
Elasticsearch GDK setup instructions
](
https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/doc/howto/elasticsearch.md
)
## Helpful rake tasks
...
...
doc/development/img/reference_architecture.png
0 → 100644
View file @
32d52eb6
110 KB
doc/development/img/sidekiq_longest_running_jobs.png
0 → 100644
View file @
32d52eb6
33.4 KB
doc/development/img/sidekiq_most_time_consuming_jobs.png
0 → 100644
View file @
32d52eb6
33.4 KB
doc/development/scalability.md
0 → 100644
View file @
32d52eb6
This diff is collapsed.
Click to expand it.
doc/development/what_requires_downtime.md
View file @
32d52eb6
...
...
@@ -377,6 +377,11 @@ This operation is safe as there's no code using the table just yet.
Dropping tables can be done safely using a post-deployment migration, but only
if the application no longer uses the table.
## Renaming Tables
Renaming tables requires downtime as an application may continue
using the old table name during/after a database migration.
## Adding Foreign Keys
Adding foreign keys usually works in 3 steps:
...
...
doc/user/instance_statistics/convdev.md
0 → 100644
View file @
32d52eb6
---
redirect_to
:
'
../instance_statistics/dev_ops_score.md'
---
This document was moved to
[
another location
](
../instance_statistics/dev_ops_score.md
)
.
doc/user/instance_statistics/dev_ops_score.md
View file @
32d52eb6
# DevOps Score
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/issues/30469) in GitLab 9.3.
> [Renamed from Conversational Development Index](https://gitlab.com/gitlab-org/gitlab/issues/20976) in GitLab 12.6.
NOTE:
**Note:**
...
...
qa/qa/page/base.rb
View file @
32d52eb6
...
...
@@ -177,7 +177,7 @@ module QA
# The number of selectors should be able to be reduced after
# migration to the new spinner is complete.
# https://gitlab.com/groups/gitlab-org/-/epics/956
has_no_css?
(
'.gl-spinner, .fa-spinner, .spinner'
,
wait:
Capybara
.
default_max_wait_time
)
has_no_css?
(
'.gl-spinner, .fa-spinner, .spinner'
,
wait:
QA
::
Support
::
Repeater
::
DEFAULT_MAX_WAIT_TIME
)
end
def
finished_loading_block?
...
...
qa/qa/page/merge_request/show.rb
View file @
32d52eb6
...
...
@@ -155,6 +155,8 @@ module QA
def
merge!
click_element
:merge_button
if
ready_to_merge?
finished_loading?
raise
"Merge did not appear to be successful"
unless
merged?
end
...
...
qa/qa/resource/api_fabricator.rb
View file @
32d52eb6
...
...
@@ -31,6 +31,12 @@ module QA
resource_web_url
(
api_post
)
end
def
reload!
api_get
self
end
def
remove_via_api!
api_delete
end
...
...
qa/qa/resource/group.rb
View file @
32d52eb6
...
...
@@ -16,6 +16,7 @@ module QA
attribute
:id
attribute
:name
attribute
:runners_token
def
initialize
@path
=
Runtime
::
Namespace
.
name
...
...
scripts/flaky_examples/prune-old-flaky-examples
View file @
32d52eb6
...
...
@@ -7,7 +7,7 @@ require 'rubygems'
# In newer Ruby, alias_method is not private then we don't need __send__
singleton_class
.
__send__
(
:alias_method
,
:require_dependency
,
:require
)
# rubocop:disable GitlabSecurity/PublicSend
$:
.
unshift
(
File
.
expand_path
(
'../lib'
,
__dir__
))
$:
.
unshift
(
File
.
expand_path
(
'../
../
lib'
,
__dir__
))
require
'rspec_flaky/report'
...
...
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