Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
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
Guillaume Hervier
slapos-caddy
Commits
e3f57dbf
Commit
e3f57dbf
authored
May 25, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
palo: make a component
parent
0a0f5127
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
30 deletions
+49
-30
component/palo_olap/buildout.cfg
component/palo_olap/buildout.cfg
+43
-0
component/palo_olap/erp5_login_worker.py
component/palo_olap/erp5_login_worker.py
+0
-0
software/palo/instance.cfg.in
software/palo/instance.cfg.in
+1
-1
software/palo/software.cfg
software/palo/software.cfg
+5
-29
No files found.
component/palo_olap/buildout.cfg
0 → 100644
View file @
e3f57dbf
[buildout]
extends =
../cmake/buildout.cfg
../git/buildout.cfg
../openssl/buildout.cfg
../icu/buildout.cfg
../boost-lib/buildout.cfg
../gperftools/buildout.cfg
../zlib/buildout.cfg
[boost-lib]
<= boost-lib-1.53
[erp5_login_worker]
#TODO: a profile for this ?
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/erp5_login_worker.py
output = ${buildout:bin-directory}/erp5_login_worker.py
#md5sum =
mode = 0755
[palo_olap-repository.git]
recipe = slapos.recipe.build:gitclone
repository = https://gitlab.com/perrinjerome/palo_olap.git
branch = 5.1
git-executable = ${git:location}/bin/git
[palo_olap]
recipe = slapos.recipe.cmmi
path = ${palo_olap-repository.git:location}
configure-command = ${cmake:location}/bin/cmake
configure-options =
-DCMAKE_BINARY_DIR=${buildout:parts-directory}/${:_buildout_section_name_}
-DLIB_ICU_ROOT_DIR=${icu:location}
-DLIB_OPENSSL_ROOT_DIR=${openssl:location}
-DLIB_BOOST_ROOT_DIR=${boost-lib:location}
-DLIB_PERFTOOLS_ROOT_DIR=${gperftools:location}
environment =
CMAKE_PROGRAM_PATH=${cmake:location}/bin
CMAKE_INCLUDE_PATH=${openssl:location}/include:${boost-lib:location}/include:${gperftools:location}/include:${icu:location}/include:${zlib:location}/include
CMAKE_LIBRARY_PATH=${openssl:location}/lib:${boost-lib:location}/lib:${gperftools:location}/lib:${icu:location}/lib:${zlib:location}/lib
LDFLAGS=-L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${gperftools:location}/lib -Wl,-rpath=${gperftools:location}/lib -L${icu:location}/lib -Wl,-rpath=${icu:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
software/palo
/erp5_login_worker.py
→
component/palo_olap
/erp5_login_worker.py
View file @
e3f57dbf
File moved
software/palo/instance.cfg.in
View file @
e3f57dbf
...
...
@@ -72,7 +72,7 @@ context = import json_module json
[palo_olap]
recipe = slapos.cookbook:wrapper
command-line = ${palo:location}/bin/palo --init-file $${palo_ini:rendered} --chdir
command-line = ${palo
_olap
:location}/bin/palo --init-file $${palo_ini:rendered} --chdir
wrapper-path = $${directory:service}/palo_olap
[palo_etl]
...
...
software/palo/software.cfg
View file @
e3f57dbf
...
...
@@ -2,19 +2,14 @@
extends =
../../stack/tomcat.cfg
../../stack/slapos.cfg
../../component/git/buildout.cfg
../../component/openssl/buildout.cfg
../../component/gperf/buildout.cfg
../../component/boost-lib/buildout.cfg
../../component/palo_olap/buildout.cfg
parts =
palo
palo_etl
_download
palo
_olap
palo_etl
slapos-cookbook
instance-profile
[boost-lib]
<= boost-lib-1.53
[instance-profile]
recipe = slapos.recipe.template
...
...
@@ -23,27 +18,6 @@ output = ${buildout:directory}/instance.cfg
#md5sum =
mode = 0644
[erp5_login_worker]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/erp5_login_worker.py
output = ${buildout:bin-directory}/erp5_login_worker.py
#md5sum =
mode = 0755
[palo_olap-repository.git]
recipe = slapos.recipe.build:gitclone
repository = https://gitlab.com/perrinjerome/palo_olap.git
branch = master
git-executable = ${git:location}/bin/git
[palo]
recipe = hexagonit.recipe.cmmi
path = ${palo_olap-repository.git:location}
environment =
CPPFLAGS=-I${gperf:location}/include -I${openssl:location}/include -I${boost-lib:location}/include
LDFLAGS=-L${gperf:location}/lib -Wl,-rpath=${gperf:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -Wl,-copy-dt-needed-entries -lboost_system
PATH=${gperf:location}/bin:%(PATH)s
[palo_etl_download]
recipe = hexagonit.recipe.download
url = http://switch.dl.sourceforge.net/project/palo-etl-server/etlserver/Palo%20ETL%20Server%203.2/etlserver.war
...
...
@@ -51,6 +25,8 @@ download-only = true
;destination = ${buildout:directory}/var/tomcat/webapps/
[palo_etl]
recipe = plone.recipe.command
command = echo "TODO"
needs = ${palo_etl_download:url}
[versions]
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