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

Add Unity catalog docker image #207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
# TODO add test https://github.com/trinodb/trino/issues/14543
- image: phoenix5
platforms: linux/amd64,linux/arm64
- image: unity-catalog
test: unity-catalog
steps:
- uses: actions/checkout@v3
with:
Expand Down
3 changes: 3 additions & 0 deletions bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ for ARCH in "${platforms[@]}"; do
elif [[ ${ENVIRONMENT} == *"polaris"* ]]; then
# TODO Add test for Polaris
test true
elif [[ ${ENVIRONMENT} == *"unity"* ]]; then
# TODO Add test for Unity
test true
elif [[ ${ENVIRONMENT} == "kerberos" ]]; then
run_kerberos_tests
elif [[ ${ENVIRONMENT} == *"hive"* ]]; then
Expand Down
4 changes: 4 additions & 0 deletions etc/compose/unity-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/unity-catalog:latest
28 changes: 28 additions & 0 deletions testing/unity-catalog/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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.

ARG ARCH
FROM testing/almalinux9-oj17:unlabelled$ARCH

RUN yum update -y && \
yum install -y git && \
yum clean all -y

RUN git clone https://github.com/unitycatalog/unitycatalog.git unity

WORKDIR unity

RUN build/sbt package

EXPOSE 8080

CMD ["bin/start-uc-server"]
Loading