Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos
Commits
e8c32032
Commit
e8c32032
authored
Mar 01, 2023
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab: version up and improve socket connecting
Shorten the socket path Add a promise to check socket
parent
d2e4dc61
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
9 deletions
+16
-9
software/gitlab/buildout.hash.cfg
software/gitlab/buildout.hash.cfg
+1
-1
software/gitlab/instance-gitlab.cfg.in
software/gitlab/instance-gitlab.cfg.in
+13
-6
software/gitlab/software.cfg
software/gitlab/software.cfg
+2
-2
No files found.
software/gitlab/buildout.hash.cfg
View file @
e8c32032
...
...
@@ -54,7 +54,7 @@ md5sum = 0f1ec4077dab586cc003ae13f689eda2
[instance-gitlab.cfg.in]
_update_hash_filename_ = instance-gitlab.cfg.in
md5sum = 0
b023c7efd027f65b14e752484be2ec7
md5sum = 0
445e54ee7ce1f65ec79801e128c80d4
[instance-gitlab-export.cfg.in]
_update_hash_filename_ = instance-gitlab-export.cfg.in
...
...
software/gitlab/instance-gitlab.cfg.in
View file @
e8c32032
...
...
@@ -37,6 +37,7 @@ parts =
logrotate-entry-cron
on-reinstantiate
gitaly-socket-listening-promise
# std stuff for slapos instance
eggs-directory = {{ eggs_directory }}
...
...
@@ -174,12 +175,18 @@ internal = ${:sockets}/internal
log = ${directory:log}/gitaly
[gitaly]
socket = ${
gitaly-dir:sockets
}/gitaly.socket
socket = ${
directory:var
}/gitaly.socket
log = ${gitaly-dir:log}
location = {{ gitaly_location }}
pid = ${directory:run}/gitaly.pid
internal_socket = ${gitaly-dir:internal}
[gitaly-socket-listening-promise]
<= monitor-promise-base
promise = check_socket_listening
name = gitaly_socket_listening_promise.py
config-pathname = ${gitaly:socket}
# 2. configuration files
[etc-template]
recipe = slapos.recipe.template:jinja2
...
...
@@ -535,9 +542,9 @@ srv = ${directory:srv}/gitlab-workhorse
log = ${directory:log}/workhorse
[gitlab-workhorse]
srv = ${
gitlab-workhorse-dir
:srv}
socket = ${
gitlab-workhorse
:srv}/gitlab-workhorse.socket
log = ${
gitlab-workhorse-dir
:log}/gitlab-workhorse.log
srv = ${
directory
:srv}
socket = ${
directory
:srv}/gitlab-workhorse.socket
log = ${
directory
:log}/gitlab-workhorse.log
secret = ${secrets:secrets}/gitlab_workhorse_secret
[service-gitlab-workhorse]
...
...
@@ -588,7 +595,7 @@ log = ${directory:log}/unicorn
[unicorn]
srv = ${unicorn-dir:srv}
log = ${unicorn-dir:log}
socket = ${:srv}/unicorn.socket
socket = ${
directory
:srv}/unicorn.socket
[service-unicorn]
recipe = slapos.cookbook:wrapper
...
...
software/gitlab/software.cfg
View file @
e8c32032
...
...
@@ -135,7 +135,7 @@ git-executable = ${git:location}/bin/git
<= git-repository
repository = https://lab.nexedi.com/nexedi/gitlab-ce.git
# 9.5.10 + NXD patches:
revision = v
9.5.10-9-g69b0ffae00bf
revision = v
8.16.0.pre-16286-g9d66cd7b834
location = ${buildout:parts-directory}/gitlab
[gitlab-shell-repository]
...
...
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