Add config for installing mainland services

This commit is contained in:
kaetemi 2014-02-14 02:38:21 +01:00
parent cd61ca58e5
commit a473eaa72e
3 changed files with 121 additions and 2 deletions

View file

@ -52,6 +52,7 @@ ProjectsToProcess += [ "common/cfg" ]
# Shard specific # Shard specific
ProjectsToProcess += [ "shard/data_shard" ] ProjectsToProcess += [ "shard/data_shard" ]
ProjectsToProcess += [ "shard/data_language" ] ProjectsToProcess += [ "shard/data_language" ]
ProjectsToProcess += [ "shard/data_game_share" ]
# Ecosystem projects # Ecosystem projects
ProjectsToProcess += [ "ecosystems/desert" ] ProjectsToProcess += [ "ecosystems/desert" ]
@ -69,12 +70,13 @@ ProjectsToProcess += [ "continents/indoors" ] # Note: must be after other contin
InstallShardDataDirectories = [ ] InstallShardDataDirectories = [ ]
InstallShardDataDirectories += [ "data_game_share" ]
InstallShardDataDirectories += [ "data_common" ] InstallShardDataDirectories += [ "data_common" ]
InstallShardDataDirectories += [ "data_language" ] InstallShardDataDirectories += [ "data_language" ]
# [ [ "<target_package>", [ "<source_dir>", "<source_dir>" ] ] ] target_dir under shard data, source_dir under install # [ [ "<target_package>", [ "<source_dir>", "<source_dir>" ] ] ] target_dir under shard data, source_dir under install
InstallShardDataMultiDirectories = [ ] InstallShardDataMultiDirectories = [ ]
InstallShardDataMultiDirectories += [ [ "cfg", [ "data_shard" ] ] ] InstallShardDataMultiDirectories += [ [ "cfg", [ ] ] ] # [ "data_shard" ] ] ]
InstallShardDataMultiDirectories += [ [ "data_newbieland", [ "newbieland_ai", "newbieland_ig", "newbieland_pacs" ] ] ] InstallShardDataMultiDirectories += [ [ "data_newbieland", [ "newbieland_ai", "newbieland_ig", "newbieland_pacs" ] ] ]
InstallShardDataMultiDirectories += [ [ "data_indoors", [ "indoors_ai", "indoors_ig", "indoors_pacs" ] ] ] InstallShardDataMultiDirectories += [ [ "data_indoors", [ "indoors_ai", "indoors_ig", "indoors_pacs" ] ] ]
InstallShardDataMultiDirectories += [ [ "data_pacs_prim", [ "desert_pacs_prim", "jungle_pacs_prim", "lacustre_pacs_prim", "primes_racines_pacs_prim" ] ] ] InstallShardDataMultiDirectories += [ [ "data_pacs_prim", [ "desert_pacs_prim", "jungle_pacs_prim", "lacustre_pacs_prim", "primes_racines_pacs_prim" ] ] ]
@ -86,11 +88,18 @@ InstallShardDataPrimitivesDirectories += [ [ "data_newbieland_primitives", [ "ne
# [ [ "<target_package>", [ "<target_executable>", "<source_executable>" ], [ "<default_config>", "<default_config>" ], [ "<data_file>", "<data_file>" ] ] ] # [ [ "<target_package>", [ "<target_executable>", "<source_executable>" ], [ "<default_config>", "<default_config>" ], [ "<data_file>", "<data_file>" ] ] ]
InstallShardDataExecutables = [ ] InstallShardDataExecutables = [ ]
# Unifier
InstallShardDataExecutables += [ [ "service_ryzom_admin_service", [ "ryzom_admin_service", "ryzom_admin_service" ], [ "ryzom_as.cfg" ], [ ] ] ] InstallShardDataExecutables += [ [ "service_ryzom_admin_service", [ "ryzom_admin_service", "ryzom_admin_service" ], [ "ryzom_as.cfg" ], [ ] ] ]
InstallShardDataExecutables += [ [ "service_shard_unifier_service", [ "shard_unifier_service", "ryzom_shard_unifier_service" ], [ "shard_unifier_service.cfg" ], [ ] ] ] InstallShardDataExecutables += [ [ "service_shard_unifier_service", [ "shard_unifier_service", "ryzom_shard_unifier_service" ], [ "shard_unifier_service.cfg" ], [ "data_shard/reserved_names.xml", "data_shard/dev_gm_names.xml" ] ] ]
InstallShardDataExecutables += [ [ "service_mail_forum_service", [ "mail_forum_service", "ryzom_mail_forum_service" ], [ "mail_forum_service.cfg" ], [ ] ] ] InstallShardDataExecutables += [ [ "service_mail_forum_service", [ "mail_forum_service", "ryzom_mail_forum_service" ], [ "mail_forum_service.cfg" ], [ ] ] ]
InstallShardDataExecutables += [ [ "service_logger_service", [ "logger_service", "ryzom_logger_service" ], [ "logger_service.cfg" ], [ ] ] ] InstallShardDataExecutables += [ [ "service_logger_service", [ "logger_service", "ryzom_logger_service" ], [ "logger_service.cfg" ], [ ] ] ]
InstallShardDataExecutables += [ [ "service_backup_service", [ "backup_service", "ryzom_backup_service" ], [ "backup_service.cfg" ], [ ] ] ] InstallShardDataExecutables += [ [ "service_backup_service", [ "backup_service", "ryzom_backup_service" ], [ "backup_service.cfg" ], [ ] ] ]
# Mainland
InstallShardDataExecutables += [ [ "service_ryzom_naming_service", [ "ryzom_naming_service", "ryzom_naming_service" ], [ "naming_service.cfg" ], [ ] ] ]
InstallShardDataExecutables += [ [ "service_ryzom_welcome_service", [ "ryzom_welcome_service", "ryzom_welcome_service" ], [ "welcome_service.cfg" ], [ ] ] ]
InstallShardDataExecutables += [ [ "service_tick_service", [ "tick_service", "ryzom_tick_service" ], [ "welcome_service.cfg" ], [ ] ] ]
InstallShardDataExecutables += [ [ "service_mirror_service", [ "mirror_service", "ryzom_mirror_service" ], [ "mirror_service.cfg" ], [ ] ] ]
InstallShardDataExecutables += [ [ "service_input_output_service", [ "input_output_service", "ryzom_ios_service" ], [ "input_output_service.cfg" ], [ ] ] ]
InstallClientData = [ ] InstallClientData = [ ]

View file

@ -0,0 +1,66 @@
#!/usr/bin/python
#
# \file directories.py
# \brief Directories configuration
# \date 2014-02-13 20:32GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Directories configuration.
#
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
# Copyright (C) 2014 by authors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from buildsite import *
import os
# *** COMMON NAMES AND PATHS ***
CommonName = "data_game_share"
CommonPath = "shard/" + CommonName
# *** DIRECT SOURCE DIRECTORIES ***
# Copy dir directories
CopyDirectSourceDirectories = [ ]
CopyDirectSourceFiles = [ ]
fileList = os.listdir(DataShardDirectory + "/mirror_sheets")
for fileName in fileList:
if fileName != ".svn" and fileName != ".." and fileName != "." and fileName != "*.*":
if fileName.endswith(".dataset"):
CopyDirectSourceFiles += [ DataShardDirectory + "/mirror_sheets/" + fileName ]
# *** SOURCE DIRECTORIES IN LEVELDESIGN ***
CopyLeveldesignSourceDirectories = [ ]
CopyLeveldesignSourceFiles = [ ]
CopyLeveldesignWorldSourceDirectories = [ ]
CopyLeveldesignWorldSourceFiles = [ ]
CopyLeveldesignDfnSourceDirectories = [ ]
CopyLeveldesignDfnSourceFiles = [ ]
# *** SOURCE DIRECTORIES IN THE DATABASE ***
# Copy dir directories
CopyDatabaseSourceDirectories = [ ]
CopyDatabaseSourceFiles = [ ]
# *** INSTALL DIRECTORIES IN THE CLIENT DATA ***
# Common data install directory
CopyInstallDirectory = CommonName

View file

@ -0,0 +1,44 @@
#!/usr/bin/python
#
# \file config.py
# \brief Process configuration
# \date 2014-02-13 20:32GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Process configuration.
#
# NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
# Copyright (C) 2014 by authors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# *** PROCESS CONFIGURATION ***
# *** PROCESS CONFIG ***
ProcessToComplete = [ ]
ProcessToComplete += [ "copy" ]
# *** COMMON NAMES AND PATHS ***
CommonName = "data_game_share"
CommonPath = "shard/" + CommonName
# *** PACS PRIM LIST OPTIONS ***
# *** COPY DIR OPTIONS ***