Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
1621a655
Commit
1621a655
authored
May 27, 2015
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gems build ok
parent
1f9956e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
41 deletions
+24
-41
buildout.cfg
buildout.cfg
+24
-41
No files found.
buildout.cfg
View file @
1621a655
...
...
@@ -67,13 +67,15 @@ gems = bundler
# bin installed here
bundle = ${buildout:bin-directory}/bundle
# # install together with all dependencies of gitlab
# # ( reason: rubygemsrecipe hardcodes PATH inside generated bin/* and it is
# # impossible to adjust it later )
#environment =
# PATH = ${postgresql:location}/bin:${cmake:location}/bin:${pkgconfig:location}/bin:%(PATH)s
# CPPFLAGS= -I${postgresql:location}/include -I${icu:location}/include
# LDFLAGS = -L${postgresql:location}/lib -Wl,-rpath=${postgresql:location}/lib -L${icu:location}/lib -Wl,-rpath=${icu:location}/lib
# install together with dependencies of gitlab, which we cannot specify using
# --with-... gem option
# ( reason: rubygemsrecipe hardcodes PATH inside generated bin/* and it is
# impossible to adjust it later )
#
# Rugged needs: cmake, pkgconfig
environment =
PATH = ${cmake:location}/bin:${pkgconfig:location}/bin:%(PATH)s
...
...
@@ -82,7 +84,7 @@ bundle = ${buildout:bin-directory}/bundle
[gitlab-repository]
recipe = slapos.recipe.build:gitclone
repository = https://gitlab.com/gitlab-org/gitlab-ce.git
revision
= v7.11.2-0-gdac18e7728013a77410e926a1e64225703754a2d
revision = v7.11.2-0-gdac18e7728013a77410e926a1e64225703754a2d
location = ${buildout:parts-directory}/gitlab
git-executable = ${git:location}/bin/git
...
...
@@ -96,59 +98,40 @@ git-executable = ${git:location}/bin/git
# ? gmp
# ssl
# icu (charlock_holmes)
# ffi (ffi)
# libpq (pg)
# libssh2 (rugged)
# libgpg-error (rugged) ?
# # krb5 (ominauth-kerberos -> timfel-krb5-auth)
# [gitlab-build-env]
# PATH = ${postgresql:location}/bin:%(PATH)s
# CPPFLAGS= -I${postgresql:location}/include
# LDFLAGS = -L${postgresql:location}/lib -Wl,-rpath=${postgresql:location}/lib
# ??? still true ? -> FIXME installed(gitlab) is registered as parts/gitlab-shell (not parts/gitlab-shell/vendor/bundle)
# build needed-by-gitlab gems via bundler
[gitlab/vendor/bundle]
recipe = slapos.recipe.cmmi
path = ${gitlab-repository:location}
#bundle = cd ${:path} && ${bundler-4gitlab:bundle}
bundle = ${bundler-4gitlab:bundle}
configure-command = true
configure-command = cd ${:path} &&
${:bundle} config --local build.charlock_holmes --with-icu-dir=${icu:location} &&
${:bundle} config --local build.pg --with-pg-config=${postgresql:location}/bin/pg_config
make-binary =
make-targets= cd ${:path} &&
${:bundle} config --local build.charlock_holmes --with-icu-dir=${icu:location} &&
${:bundle} install --deployment --without mysql kerberos development test
${:bundle} install --deployment --without development test mysql kerberos
# # propagate location
# location = ${gitlab-repository:location}
# environment-section = gitlab-build-env
# build needed-by-gitlab-shell gems via bundler
# ( there is not vendor/ dir in gitlab-shell, so to avoid having buildout error
# on mkdir vendor/bundle, this part name is just /vendor )
[gitlab-shell/vendor]
#recipe = plone.recipe.command
#command = cd ${:path} && ${bundler-4gitlab:bundle} install --deployment
recipe = slapos.recipe.cmmi
# TODO --without ...
path = ${gitlab-shell-repository:location}
bundle =
cd ${:path} &&
${bundler-4gitlab:bundle}
bundle = ${bundler-4gitlab:bundle}
#configure-command = ${:bundle} config --local build.pg -- --with-pg-config=${postgresql:location}/bin_pg_config
configure-command = true
make-binary =
make-targets= echo PATH: $PATH && ${:bundle} install --deployment
#--without mysql development test
make-targets= cd ${:path} &&
${:bundle} install --deployment --without development test
# propagate location
# XXX ok?
#location = ${gitlab-shell-repository:location}/vendor/bundle
# environment-section = gitlab-build-env
# # propagate location
# location = ${gitlab-shell-repository:location}/vendor/bundle
...
...
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