-
Notifications
You must be signed in to change notification settings - Fork 176
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
Adapt main README.md to Quarkus #836
Conversation
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 overall 👍 not approving because the PR is in the draft state :)
README.md
Outdated
Then, you can run the regression tests using the following command: | ||
|
||
```shell | ||
POLARIS_HOST=localhost ./regtests/run.sh |
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.
nit: env POLARIS_HOST=localhost ./regtests/run.sh
is more portable, I believe
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 overall with minor comments. Feel free to merge it after resolving them.
README.md
Outdated
|
||
For local development, you can run the following commands: | ||
|
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.
Is this necessary, considering the following commands and their accompanying comments are already clear and self-explanatory?
README.md
Outdated
#### Running in Docker | ||
|
||
Please note: there are no official Docker images for Apache Polaris yet. For now, you can build the | ||
Docker images locally. | ||
|
||
To build the Polaris server Docker image locally: | ||
|
||
```shell | ||
./gradlew clean :polaris-quarkus-server:assemble -Dquarkus.container-image.build=true | ||
``` | ||
|
||
To run the Polaris server Docker image: | ||
|
||
```shell | ||
docker run -p 8181:8181 -p 8182:8182 apache/polaris: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.
Can we simplify it a bit like this?
#### Running in Docker | |
Please note: there are no official Docker images for Apache Polaris yet. For now, you can build the | |
Docker images locally. | |
To build the Polaris server Docker image locally: | |
```shell | |
./gradlew clean :polaris-quarkus-server:assemble -Dquarkus.container-image.build=true | |
``` | |
To run the Polaris server Docker image: | |
```shell | |
docker run -p 8181:8181 -p 8182:8182 apache/polaris:latest | |
``` | |
#### Running in Docker | |
- `./gradlew clean :polaris-quarkus-server:assemble -Dquarkus.container-image.build=true` - To build the image locally. | |
- `docker run -p 8181:8181 -p 8182:8182 apache/polaris:latest` - To run the image. |
README.md
Outdated
connections between a local machine and a pod within the cluster for both service and metrics | ||
endpoints. | ||
- Currently supported metrics and health endpoints: |
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 we simplify a bit like this?
connections between a local machine and a pod within the cluster for both service and metrics | |
endpoints. | |
- Currently supported metrics and health endpoints: | |
connections between a local machine and a pod within the cluster for both service and health/metrics | |
endpoints: |
README.md
Outdated
The above command will by default run Polaris with the Docker image `apache/polaris:latest`; if you | ||
want to use a different image, you can modify the `docker-compose.yaml` file prior to running it; | ||
alternatively, you can use the following commands to override the image: | ||
|
||
```shell | ||
cat <<EOF > /tmp/polaris-image.yml | ||
services: { polaris: { image: localhost:5001/apache/polaris:latest } } | ||
EOF | ||
docker compose -f regtests/docker-compose.yml -f /tmp/polaris-image.yml up --build --exit-code-from regtest | ||
``` |
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.
I'd prefer to not mention it in the main readme, either leaving for users/developers to figure out by themselves or moving this to the readme file under the directory regtests
.
Needs #610 because the instructions for regtests will change.