-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add Dockerfile and build image flow #567
Conversation
715b833
to
0869e2f
Compare
0c77b7c
to
10f96bf
Compare
If we install the dependencies in the CI, may cause platform issue
5cb20db
to
4bbbda0
Compare
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.
Some minor comments, Others LGTM.
ibis-server/README.md
Outdated
make run | ||
``` | ||
|
||
## Contributing |
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.
## Contributing | |
## Developer Guide |
It's a kind of guide to show how start a development environment for developers.
I think Developer Guide
would be better.
docker-build: | ||
docker image build . -t wren-engine-ibis | ||
|
||
docker-run: |
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.
docker-run: | |
dev-docker-run: |
How about add a dev
prefix? I guess someone maybe confuse on which version would be started by this command. The image on repo? or The local build.
I guess this one will start the local one, right?
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.
LGTM 👍
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: ghcr.io/canner/wren-engine-ibis | ||
tags: | | ||
type=sha | ||
type=raw,value=nightly |
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.
First time to know this action to put the image tags. it's really concise!
Thanks @grieve54706 @paopa |
* Add Dockerfile * Make ibis version same as java engine * Add CI Install python dependencies in the CI * Make python dependencies install in the Docker If we install the dependencies in the CI, may cause platform issue * Use docker/build-push-action * Fix tag name * Add docker/metadata-action * Fix Dockerfile path * Fix context * Fix tag * Update README * Remove invalid default working-directory * Fix pyproject.toml path * Use step.working-directory * Use poetry version * Add empty line in the end of file * Edit title
Description
Add Dockefile and GitHub workflow to build images.
Additional information
This PR uses
pull_request
labeled
event to test. Please ignore the manytest
label messages.We may use the event
on.push.branches
to test the GitHub workflow in the future.