forked from hugegraph/hugegraph-sync
chore: intro `install-dist` module in root (#2552)
* init dist in root * adapt path & regenerate deps * add comment * add comment * fix pd dir * fix server dir * improve hugegraph-pd/.gitignore * improve * rename dist -> install-dist * fix path * regenerate known dependencies
This commit is contained in:
parent
506850caea
commit
1e9752109e
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
USE_STAGE: 'true' # Whether to include the stage repository.
|
||||
SCRIPT_DEPENDENCY: hugegraph-server/hugegraph-dist/scripts/dependency
|
||||
SCRIPT_DEPENDENCY: install-dist/scripts/dependency
|
||||
steps:
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
|
|
@ -1,2 +1,5 @@
|
|||
# Exclude the generated PB files
|
||||
hg-pd-grpc/src/main/java/
|
||||
|
||||
# Exclude data files
|
||||
**/pd_data/
|
||||
|
|
|
|||
|
|
@ -30,12 +30,12 @@
|
|||
<artifactId>hg-pd-dist</artifactId>
|
||||
|
||||
<properties>
|
||||
<dist.dir>${project.parent.basedir}/dist</dist.dir>
|
||||
<dist.dir>${project.parent.basedir}</dist.dir>
|
||||
<shell-executable>bash</shell-executable>
|
||||
<assembly.dir>${project.basedir}/src/assembly</assembly.dir>
|
||||
<assembly.descriptor.dir>${assembly.dir}/descriptor</assembly.descriptor.dir>
|
||||
<assembly.static.dir>${assembly.dir}/static</assembly.static.dir>
|
||||
<final.name>hugegraph-pd-${project.parent.version}</final.name>
|
||||
<final.name>apache-hugegraph-incubating-pd-${project.parent.version}</final.name>
|
||||
<executable.jar.name>hg-pd-service</executable.jar.name>
|
||||
</properties>
|
||||
|
||||
|
|
|
|||
|
|
@ -52,13 +52,13 @@ pd:
|
|||
# If the minimum number of nodes is less than this number, the cluster will stop being stored
|
||||
initial-store-count: 1
|
||||
# The initial store list is automatically activated in the store
|
||||
initial-store-list: 127.0.0.1:8502
|
||||
initial-store-list: 127.0.0.1:8500
|
||||
|
||||
raft:
|
||||
# The address of the local raft service
|
||||
address: 127.0.0.1:8610
|
||||
# The service address of the PD cluster
|
||||
peers-list: 127.0.0.1:8610,127.0.0.1:8611,127.0.0.1:8612
|
||||
peers-list: 127.0.0.1:8610
|
||||
# The read and write timeout period of the raft rpc, in milliseconds
|
||||
rpc-timeout: 10000
|
||||
# The interval between snapshot generation, in seconds
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ REPORT_FILE=$REPORT_DIR/jacoco-api-test.xml
|
|||
|
||||
TRAVIS_DIR=$(dirname $0)
|
||||
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
|
||||
SERVER_DIR=hugegraph-server/apache-hugegraph-incubating-$VERSION
|
||||
SERVER_DIR=hugegraph-server/apache-hugegraph-incubating-server-$VERSION
|
||||
RAFT1_DIR=hugegraph-raft1
|
||||
RAFT2_DIR=hugegraph-raft2
|
||||
RAFT3_DIR=hugegraph-raft3
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ REPORT_FILE=$REPORT_DIR/jacoco-api-test-for-raft.xml
|
|||
|
||||
TRAVIS_DIR=$(dirname $0)
|
||||
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
|
||||
SERVER_DIR=hugegraph-server/apache-hugegraph-incubating-$VERSION/
|
||||
SERVER_DIR=hugegraph-server/apache-hugegraph-incubating-server-$VERSION/
|
||||
CONF=$SERVER_DIR/conf/graphs/hugegraph.properties
|
||||
REST_SERVER_CONF=$SERVER_DIR/conf/rest-server.properties
|
||||
GREMLIN_SERVER_CONF=$SERVER_DIR/conf/gremlin-server.yaml
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
set -ev
|
||||
|
||||
HOME_DIR=$(pwd)
|
||||
PD_DIR=$HOME_DIR/hugegraph-pd/dist/hugegraph-pd-1.3.0
|
||||
PD_DIR=$HOME_DIR/hugegraph-pd/apache-hugegraph-incubating-pd-1.3.0
|
||||
|
||||
pushd $PD_DIR
|
||||
. bin/start-hugegraph-pd.sh
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<top.level.dir>${project.basedir}/..</top.level.dir>
|
||||
<release.name>hugegraph</release.name>
|
||||
<final.name>apache-${release.name}-incubating-${project.version}</final.name>
|
||||
<final.name>apache-${release.name}-incubating-server-${project.version}</final.name>
|
||||
<final.destfile>${top.level.dir}/${final.name}.tar.gz</final.destfile>
|
||||
<compiler.source>1.8</compiler.source>
|
||||
<compiler.target>1.8</compiler.target>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.apache.hugegraph</groupId>
|
||||
<artifactId>hugegraph</artifactId>
|
||||
<version>${revision}</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<!-- TODO: rename to hugegraph-dist later -->
|
||||
<artifactId>install-dist</artifactId>
|
||||
</project>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue