Skip to content

Commit

Permalink
fix regression test build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimas-b committed Sep 6, 2024
1 parent 1d23d60 commit 6e2d0ac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/regtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
run: docker compose up --build --exit-code-from regtest
run: |
./gradlew dockerBuild --info
docker compose up --build --exit-code-from regtest
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ select * from db1.table1;
Running in Docker
- `./gradlew dockerBuild` - To build the image.
- Run `./gradlew dockerBuild --info` - To see docker build output
- `docker run -p 8181:8181 polaris:1.0.0` - To run the image in standalone mode.
- `docker run -p 8181:8181 polaris:latest` - To run the image in standalone mode.

Running in Kubernetes
- `./run.sh` - To run Polaris as a mini-deployment locally. This will create one pod that bind itself to ports `8181` and `8182`.
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

services:
polaris:
build:
context: .
image: polaris:latest
ports:
- "8181:8181"
- "8182"
Expand Down
1 change: 1 addition & 0 deletions docker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ docker {
images {
polarisDocker {
imageName = "polaris"
imageVersion = "latest"
files {
from("src/docker")
from(dockerImage)
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sh ./kind-registry.sh
# build and deploy the server image
echo "Building polaris image..."
./gradlew dockerBuild --info
docker tag polaris:1.0.0 localhost:5001/polaris:latest
docker tag polaris:latest localhost:5001/polaris:latest
echo "Pushing polaris image..."
docker push localhost:5001/polaris
echo "Loading polaris image to kind..."
Expand Down

0 comments on commit 6e2d0ac

Please sign in to comment.