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
2c50b309
Commit
2c50b309
authored
Aug 21, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
7706d86f
45b3f554
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
16 deletions
+24
-16
GITALY_SERVER_VERSION
GITALY_SERVER_VERSION
+1
-1
changelogs/unreleased/uncomment_commit_signatures_feature_flag.yml
...s/unreleased/uncomment_commit_signatures_feature_flag.yml
+5
-0
doc/topics/autodevops/index.md
doc/topics/autodevops/index.md
+17
-14
lib/feature/gitaly.rb
lib/feature/gitaly.rb
+1
-1
No files found.
GITALY_SERVER_VERSION
View file @
2c50b309
1.
59
.0
1.
60
.0
changelogs/unreleased/uncomment_commit_signatures_feature_flag.yml
0 → 100644
View file @
2c50b309
---
title
:
Upgrade to Gitaly 1.60.0
merge_request
:
31981
author
:
type
:
changed
doc/topics/autodevops/index.md
View file @
2c50b309
...
...
@@ -587,29 +587,32 @@ procfile exec` to replicate the environment where your application will run.
#### Workers
Some web applications need to run extra deployments for "worker processes". For
example it is common in a Rails application to have a separate worker process
example
,
it is common in a Rails application to have a separate worker process
to run background tasks like sending emails.
The
[
default Helm chart
](
https://gitlab.com/gitlab-org/charts/auto-deploy-app
)
used in Auto Deploy
[
has support for running worker
processes
](
https://gitlab.com/gitlab-org/charts/auto-deploy-app/merge_requests/9
)
.
In order to run a worker you'll need to ensure that it is able to respond to
the standard health checks which expect a successful HTTP response on port
`5000`
. For
sidekiq you could make use of the
[
sidekiq_alive gem
](
https://rubygems.org/gems/sidekiq_alive
)
to do this.
In order to run a worker
,
you'll need to ensure that it is able to respond to
the standard health checks
,
which expect a successful HTTP response on port
`5000`
. For
[
Sidekiq
](
https://github.com/mperham/sidekiq
)
, you could make use of
the
[
`sidekiq_alive` gem
](
https://rubygems.org/gems/sidekiq_alive
)
to do this.
In order to work with sidekiq you'll also need to ensure your deployments have
access to a redis instance. Auto DevOps won't deploy this for you so you'll
need to manage this separately and then set a CI variable
`K8S_SECRET_REDIS_URL`
which the URL of this instance to ensure it's passed
into your deployments.
In order to work with Sidekiq, you'll also need to ensure your deployments have
access to a Redis instance. Auto DevOps won't deploy this for you so you'll
need to:
Once you have configured your worker to respond to health checks you you will
-
Maintain your own Redis instance.
-
Set a CI variable
`K8S_SECRET_REDIS_URL`
, which the URL of this instance to
ensure it's passed into your deployments.
Once you have configured your worker to respond to health checks, you will
need to configure a CI variable
`HELM_UPGRADE_EXTRA_ARGS`
with the value
`--values helm-values.yaml`
. Then you can, for example, run a
[
sidekiq
](
https://github.com/mperham/sidekiq
)
worker for your rails application
by adding a file named
`helm-values.yaml`
to your repo with the following
`--values helm-values.yaml`
.
Then you can, for example, run a Sidekiq worker for your Rails application
by adding a file named
`helm-values.yaml`
to your repository with the following
content:
```
yml
...
...
lib/feature/gitaly.rb
View file @
2c50b309
...
...
@@ -7,7 +7,7 @@ class Feature
# Server feature flags should use '_' to separate words.
SERVER_FEATURE_FLAGS
=
[
#
'get_commit_signatures'.freeze
'get_commit_signatures'
.
freeze
].
freeze
DEFAULT_ON_FLAGS
=
Set
.
new
([]).
freeze
...
...
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