-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[improve][build] Improve package & cli & build image #200
Conversation
Codecov Report
@@ Coverage Diff @@
## master #200 +/- ##
============================================
+ Coverage 85.73% 85.81% +0.08%
- Complexity 3236 3240 +4
============================================
Files 344 344
Lines 12106 12111 +5
Branches 1097 1099 +2
============================================
+ Hits 10379 10393 +14
+ Misses 1195 1188 -7
+ Partials 532 530 -2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
b034998
to
d5b18b0
Compare
@@ -69,7 +70,7 @@ public static void main(String[] args) throws IOException, | |||
setUncaughtExceptionHandler(); | |||
loadClass(); | |||
registerOptions(); | |||
ComputerContext context = parseContext(args[0]); | |||
ComputerContext context = parseContext(args[0], role); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can separate the add-role commit separated PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't fix it, the master
and worker
will not be able to use the same configuration file, It's best to stay in this PR
* address comment * improve pom and options
cc9a39c
to
394b1b9
Compare
eb2b22d
to
67b7f9f
Compare
b0b6524
to
7fe8bdd
Compare
7fe8bdd
to
cb5aaf2
Compare
f959792
to
39714ea
Compare
ci failed:@imbajin
|
@@ -19,13 +19,11 @@ jobs: | |||
map: | | |||
{ | |||
"push": { | |||
"FRAMEWORK_IMAGE_URL": "hugegraph/hugegraph-computer-framework:latest", | |||
"ALGORITHM_IMAGE_URL": "hugegraph/hugegraph-builtin-algorithms:latest", | |||
"COMPUTER_IMAGE_URL": "hugegraph/hugegraph-computer:latest", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you merge builtin-algorithm image into hugegraph-computer image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes,I think the two images are a little redundant. The builtin-algorithm.jar only 800kb.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
We can quick run the
PageRank
algorithm by this PR on the local.Start the
hugegraph-sever
andetcd
first and then execute the following commands.The effect is as follows:
View the results
Open
OLAP
index query for server:Query
page_rank
propertie value: