Skip to content

Commit

Permalink
deploy: add ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jarviszeng-zjc committed Oct 30, 2019
1 parent 2a3d6eb commit 4f5d23c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cluster-deploy/scripts/deploy/eggroll/egg/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,21 @@ packaging() {
tar xzf eggroll-storage-service-cxx-${version}.tar.gz
rm -rf eggroll-storage-service-cxx-${version}.tar.gz
get_module_package ${source_code_dir} ${module_name} third_party_eggrollv1.tar.gz
get_module_package ${source_code_dir} ${module_name} third_party_eggrollv1_ubuntu.tar.gz
tar xzf third_party_eggrollv1.tar.gz
rm -rf third_party_eggrollv1.tar.gz
tar xzf third_party_eggrollv1_ubuntu.tar.gz
rm -rf third_party_eggrollv1_ubuntu.tar.gz
elif [[ "${deploy_mode}" == "build" ]]; then
get_module_package ${source_code_dir} ${module_name} eggroll-storage-service-cxx-${version}.tar.gz
tar xzf eggroll-storage-service-cxx-${version}.tar.gz
rm -rf eggroll-storage-service-cxx-${version}.tar.gz
get_module_package ${source_code_dir} ${module_name} third_party_eggrollv1.tar.gz
get_module_package ${source_code_dir} ${module_name} third_party_eggrollv1_ubuntu.tar.gz
tar xzf third_party_eggrollv1.tar.gz
rm -rf third_party_eggrollv1.tar.gz
tar xzf third_party_eggrollv1_ubuntu.tar.gz
rm -rf third_party_eggrollv1_ubuntu.tar.gz
else
echo "[INFO] Unsupported deployment method, exit"
exit 101
Expand Down
1 change: 1 addition & 0 deletions cluster-deploy/scripts/packaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ get_module_package ${source_code_dir} "jdk" jdk-${jdk_version}-linux-x64.tar.gz
get_module_package ${source_code_dir} "mysql" mysql-${mysql_version}-linux-glibc2.12-x86_64.tar.xz
get_module_package ${source_code_dir} "redis" redis-${redis_version}.tar.gz
get_module_package ${source_code_dir} "storage-service-cxx third-party" third_party_eggrollv1.tar.gz
get_module_package ${source_code_dir} "storage-service-cxx third-party" third_party_eggrollv1_ubuntu.tar.gz
echo "[INFO] Package base module done"
echo "[INFO] Package fate done"
echo "[INFO] A total of `ls ${packages_dir} | wc -l | awk '{print $1}'` packages:"
Expand Down

0 comments on commit 4f5d23c

Please sign in to comment.