Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
Mynij
slapos-mynij-dev
Commits
bca158f4
Commit
bca158f4
authored
Oct 25, 2019
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/gitlab: Use buildout.hash.cfg
_update_hash_filename_ key is used to avoid clash with recipe.
parent
72d171d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
109 additions
and
42 deletions
+109
-42
software/gitlab/buildout.hash.cfg
software/gitlab/buildout.hash.cfg
+93
-0
software/gitlab/software.cfg
software/gitlab/software.cfg
+16
-42
No files found.
software/gitlab/buildout.hash.cfg
0 → 100644
View file @
bca158f4
# THIS IS NOT A BUILDOUT FILE, despite purposedly using a compatible syntax.
# The only allowed lines here are (regexes):
# - "^#" comments, copied verbatim
# - "^[" section beginings, copied verbatim
# - lines containing an "=" sign which must fit in the following categorie.
# - "^\s*filename\s*=\s*path\s*$" where "path" is relative to this file
# Copied verbatim.
# - "^\s*hashtype\s*=.*" where "hashtype" is one of the values supported
# by the re-generation script.
# Re-generated.
# - other lines are copied verbatim
# Substitution (${...:...}), extension ([buildout] extends = ...) and
# section inheritance (< = ...) are NOT supported (but you should really
# not need these here).
[instance.cfg]
filename = instance.cfg.in
md5sum = ddadc1eda2b474d6f2349409c05476eb
[watcher]
_update_hash_filename_ = watcher.in
md5sum = 90690e1351637f20ff2df57a6c3e85b4
[gitlab-export]
_update_hash_filename_ = gitlab-export.in
md5sum = a7b32680e80f34276f0a32a5e22dad50
[database.yml.in]
_update_hash_filename_ = template/database.yml.in
md5sum = 61d1d04b9347b3168a1ad7676e4681ef
[gitconfig.in]
_update_hash_filename_ = template/gitconfig.in
md5sum = 7782f5c5d75663c2586e28d029c51e49
[gitlab-parameters.cfg]
_update_hash_filename_ = gitlab-parameters.cfg
md5sum = 8f4537cb8a0c9a8e0058c30cb687681c
[gitlab-shell-config.yml.in]
_update_hash_filename_ = template/gitlab-shell-config.yml.in
md5sum = 58c09b1e609f903e483a76fe9e57366c
[gitlab-unicorn-startup.in]
_update_hash_filename_ = gitlab-unicorn-startup.in
md5sum = a9cb347f60aad3465932fd36cd4fe25d
[gitlab.yml.in]
_update_hash_filename_ = template/gitlab.yml.in
md5sum = 0ddf4093dcf4427e5a160707e6017950
[instance-gitlab.cfg.in]
_update_hash_filename_ = instance-gitlab.cfg.in
md5sum = bd8bccad43e7cf294af2fc9b60fb3b46
[instance-gitlab-export.cfg.in]
_update_hash_filename_ = instance-gitlab-export.cfg.in
md5sum = 319d7dbe3ad9b260c1e292cfc0d13b11
[instance-gitlab-test.cfg.in]
_update_hash_filename_ = instance-gitlab-test.cfg.in
md5sum = a4ad76856db98e508af7e773d9ff78f9
[macrolib.cfg.in]
_update_hash_filename_ = macrolib.cfg.in
md5sum = a56a44e96f65f5ed20211bb6a54279f4
[nginx-gitlab-http.conf.in]
_update_hash_filename_ = template/nginx-gitlab-http.conf.in
md5sum = abcc5eda03e10b26c74619f299a7f6a8
[nginx.conf.in]
_update_hash_filename_ = template/nginx.conf.in
md5sum = 1374f38ab6f295b850d45ea0019ec05d
[rack_attack.rb.in]
_update_hash_filename_ = template/rack_attack.rb.in
md5sum = 7d0e6dc6b826f6df6b20d8574a29e2f8
[resque.yml.in]
_update_hash_filename_ = template/resque.yml.in
md5sum = 7c89a730889e3224548d9abe51a2d719
[smtp_settings.rb.in]
_update_hash_filename_ = template/smtp_settings.rb.in
md5sum = 4e1ced687a86e4cfff2dde91237e3942
[template-gitlab-resiliency-restore.sh.in]
_update_hash_filename_ = template/template-gitlab-resiliency-restore.sh.in
md5sum = 590fcadf26085fdd17487175bc0a469d
[unicorn.rb.in]
_update_hash_filename_ = template/unicorn.rb.in
md5sum = 83921db1835d9e81cbbe808631cc40a9
software/gitlab/software.cfg
View file @
bca158f4
# GitLab software-release
# GitLab software-release
[buildout]
[buildout]
extends =
extends =
buildout.hash.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
../../component/ruby/buildout.cfg
../../component/ruby/buildout.cfg
../../component/golang/buildout.cfg
../../component/golang/buildout.cfg
...
@@ -244,14 +245,13 @@ eggs =
...
@@ -244,14 +245,13 @@ eggs =
[instance.cfg]
[instance.cfg]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/
instance.cfg.in
url = ${:_profile_base_location_}/
${:filename}
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance.cfg
md5sum = ddadc1eda2b474d6f2349409c05476eb
# macro: download a shell script and put it rendered into <software>/bin/
# macro: download a shell script and put it rendered into <software>/bin/
[binsh]
[binsh]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template= ${:_profile_base_location_}/${:_
buildout_section_name_}.in
template= ${:_profile_base_location_}/${:_
update_hash_filename_}
rendered= ${buildout:bin-directory}/${:_buildout_section_name_}
rendered= ${buildout:bin-directory}/${:_buildout_section_name_}
mode = 0755
mode = 0755
context =
context =
...
@@ -259,97 +259,71 @@ context =
...
@@ -259,97 +259,71 @@ context =
[watcher]
[watcher]
<= binsh
<= binsh
md5sum = 90690e1351637f20ff2df57a6c3e85b4
[gitlab-export]
[gitlab-export]
<= binsh
<= binsh
md5sum = a7b32680e80f34276f0a32a5e22dad50
# macro: download a file named
as section name
# macro: download a file named
in buildout.hash.cfg via _update_hash_filename_
#
#
# [filename]
# [filename]
# <= download-file
# <= download-file
# md5sum = ...
[download-file]
[download-file]
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_
buildout_section_
name_}
url = ${:_profile_base_location_}/${:_
update_hash_file
name_}
destination = ${buildout:directory}/${:_buildout_section_name_}
destination = ${buildout:directory}/${:_buildout_section_name_}
# like download-file, but download from template/<filename>
[download-template]
<= download-file
url = ${:_profile_base_location_}/template/${:_buildout_section_name_}
[database.yml.in]
[database.yml.in]
<= download-template
<= download-file
md5sum = 61d1d04b9347b3168a1ad7676e4681ef
[gitconfig.in]
[gitconfig.in]
<= download-template
<= download-file
md5sum = 7782f5c5d75663c2586e28d029c51e49
[gitlab-parameters.cfg]
[gitlab-parameters.cfg]
<= download-file
<= download-file
md5sum = 8f4537cb8a0c9a8e0058c30cb687681c
[gitlab-shell-config.yml.in]
[gitlab-shell-config.yml.in]
<= download-template
<= download-file
md5sum = 58c09b1e609f903e483a76fe9e57366c
[gitlab-unicorn-startup.in]
[gitlab-unicorn-startup.in]
<= download-file
<= download-file
md5sum = a9cb347f60aad3465932fd36cd4fe25d
[gitlab.yml.in]
[gitlab.yml.in]
<= download-template
<= download-file
md5sum = 0ddf4093dcf4427e5a160707e6017950
[instance-gitlab.cfg.in]
[instance-gitlab.cfg.in]
<= download-file
<= download-file
md5sum = bd8bccad43e7cf294af2fc9b60fb3b46
[instance-gitlab-export.cfg.in]
[instance-gitlab-export.cfg.in]
<= download-file
<= download-file
md5sum = 319d7dbe3ad9b260c1e292cfc0d13b11
[instance-gitlab-test.cfg.in]
[instance-gitlab-test.cfg.in]
<= download-file
<= download-file
md5sum = a4ad76856db98e508af7e773d9ff78f9
[macrolib.cfg.in]
[macrolib.cfg.in]
<= download-file
<= download-file
md5sum = a56a44e96f65f5ed20211bb6a54279f4
[nginx-gitlab-http.conf.in]
[nginx-gitlab-http.conf.in]
<= download-template
<= download-file
md5sum = abcc5eda03e10b26c74619f299a7f6a8
[nginx.conf.in]
[nginx.conf.in]
<= download-template
<= download-file
md5sum = 1374f38ab6f295b850d45ea0019ec05d
[rack_attack.rb.in]
[rack_attack.rb.in]
<= download-template
<= download-file
md5sum = 7d0e6dc6b826f6df6b20d8574a29e2f8
[resque.yml.in]
[resque.yml.in]
<= download-template
<= download-file
md5sum = 7c89a730889e3224548d9abe51a2d719
[smtp_settings.rb.in]
[smtp_settings.rb.in]
<= download-template
<= download-file
md5sum = 4e1ced687a86e4cfff2dde91237e3942
[template-gitlab-resiliency-restore.sh.in]
[template-gitlab-resiliency-restore.sh.in]
<= download-template
<= download-file
md5sum = 590fcadf26085fdd17487175bc0a469d
[unicorn.rb.in]
[unicorn.rb.in]
<= download-template
<= download-file
md5sum = 83921db1835d9e81cbbe808631cc40a9
[gitlab-demo-backup.git]
[gitlab-demo-backup.git]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
...
...
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