Skip to content

Commit

Permalink
Add Polaris catalog docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Jul 31, 2024
1 parent 54c78b4 commit a3d6079
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- image: almalinux9-oj17-openldap-active-directory
platforms: linux/amd64,linux/arm64
test: openldap-active-directory
- image: polaris-catalog
test: polaris-catalog
- image: spark3-iceberg
platforms: linux/amd64,linux/arm64
test: spark3-iceberg
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
testing/hdp3.1-hive-kerberized
testing/hdp3.1-hive-kerberized-2
testing/hdp3.1-hive-kerberized-kms
testing/polaris-catalog
)
multi_arch=(
testing/almalinux9-oj11
Expand Down
2 changes: 2 additions & 0 deletions bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ for ARCH in "${platforms[@]}"; do

if [[ ${ENVIRONMENT} == *"accumulo"* ]]; then
retry check_health
elif [[ ${ENVIRONMENT} == *"polaris"* ]]; then
# noop
elif [[ ${ENVIRONMENT} == "kerberos" ]]; then
run_kerberos_tests
elif [[ ${ENVIRONMENT} == *"hive"* ]]; then
Expand Down
4 changes: 4 additions & 0 deletions etc/compose/polaris-catalog/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: '2.0'
services:
polaris:
image: testing/polaris-catalog:latest
23 changes: 23 additions & 0 deletions testing/polaris-catalog/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

FROM gradle:8.6-jdk21

RUN git clone https://github.com/polaris-catalog/polaris.git polaris

WORKDIR polaris

RUN gradle --no-daemon --info shadowJar

EXPOSE 8181

CMD ["java", "-jar", "polaris-service/build/libs/polaris-service-1.0.0-all.jar", "server", "polaris-server.yml"]

0 comments on commit a3d6079

Please sign in to comment.