Skip to content
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

feat: adapt Dockerfile for new project structure #2344

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

aroundabout
Copy link
Contributor

Purpose of the PR

Main Changes

  • change the position and context of dockerfile
  • demo image is here

Verifying these changes

  • Trivial rework / code cleanup without any test coverage. (No Need)
  • Already covered by existing tests, such as (please modify tests here).
  • Need tests and can be verified as follows:
    • xxx

Does this PR potentially affect the following parts?

It affects the action file, which has been changed.
https://github.com/hugegraph/actions/blob/master/.github/workflows/publish_latest_server_image.yml

  • Nope
  • Dependencies (add/update license info)
  • Modify configurations
  • The public API
  • Other affects (typed here)

Documentation Status

  • Doc - TODO
  • Doc - Done
  • Doc - No Need

RUN chmod 755 ./docker-entrypoint.sh

EXPOSE 8080
VOLUME /hugegraph
VOLUME /hugegraph-server

ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["./docker-entrypoint.sh"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also test docker stop & docker start here for server

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://hugegraph.feishu.cn/wiki/ThvlwPUHNiCpwPkjurkcw4mBnpf
tested.
Stop and start the server the data did not change.
But if i change the server image to the new version, it stuck when loading:
image

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Merging #2344 (253978b) into master (a6e1f23) will decrease coverage by 5.12%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2344      +/-   ##
============================================
- Coverage     66.22%   61.11%   -5.12%     
+ Complexity      983      981       -2     
============================================
  Files           507      507              
  Lines         42073    42073              
  Branches       5831     5831              
============================================
- Hits          27862    25712    -2150     
- Misses        11504    13789    +2285     
+ Partials       2707     2572     -135     

see 94 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@simon824 simon824 merged commit 25301f6 into apache:master Nov 13, 2023
14 of 21 checks passed
VGalaxies pushed a commit to VGalaxies/incubator-hugegraph that referenced this pull request Jan 12, 2024
* feat: dockerfile adapt the project structure

* change the version

---------

Co-authored-by: imbajin <jin@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants