Skip to content

Apache DataFusion SQL Query Engine

Remove references to pre-built Docker images in ballistacompute repo (#326)

Andy Grove69e64c4b5ae2
diff --git a/benchmarks/docker-compose.yaml b/benchmarks/docker-compose.yaml
index bbb31078cf..c13e9eb48c 100644
--- a/benchmarks/docker-compose.yaml
+++ b/benchmarks/docker-compose.yaml
@@ -20,7 +20,7 @@ services:
image: quay.io/coreos/etcd:v3.4.9
command: "etcd -advertise-client-urls http://etcd:2379 -listen-client-urls http://0.0.0.0:2379"
ballista-scheduler:
- image: ballistacompute/ballista-rust:0.5.0-SNAPSHOT
+ image: ballista:0.5.0-SNAPSHOT
command: "/scheduler --config-backend etcd --etcd-urls etcd:2379 --bind-host 0.0.0.0 --port 50050"
environment:
- RUST_LOG=ballista=debug
@@ -29,7 +29,7 @@ services:
depends_on:
- etcd
ballista-executor:
- image: ballistacompute/ballista-rust:0.5.0-SNAPSHOT
+ image: ballista:0.5.0-SNAPSHOT
command: "/executor --bind-host 0.0.0.0 --port 50051 --scheduler-host ballista-scheduler"
scale: 2
environment:
@@ -39,7 +39,7 @@ services:
depends_on:
- ballista-scheduler
ballista-client:
- image: ballistacompute/ballista-rust:0.5.0-SNAPSHOT
+ image: ballista:0.5.0-SNAPSHOT
command: "/bin/sh" # do nothing
working_dir: /ballista/benchmarks/tpch
environment:
diff --git a/benchmarks/tpch-gen.sh b/benchmarks/tpch-gen.sh
index 676c0e7df5..a46f651110 100755
--- a/benchmarks/tpch-gen.sh
+++ b/benchmarks/tpch-gen.sh
@@ -21,7 +21,7 @@
pushd ..
. ./dev/build-set-env.sh
popd
-docker build -t ballistacompute/ballista-tpchgen:$BALLISTA_VERSION -f tpchgen.dockerfile .
+docker build -t ballista-tpchgen:$BALLISTA_VERSION -f tpchgen.dockerfile .
# Generate data into the ./data directory if it does not already exist
FILE=./data/supplier.tbl
@@ -29,6 +29,6 @@ if test -f "$FILE"; then
echo "$FILE exists."
else
mkdir data 2>/dev/null
- docker run -v `pwd`/data:/data -it --rm ballistacompute/ballista-tpchgen:$BALLISTA_VERSION
+ docker run -v `pwd`/data:/data -it --rm ballista-tpchgen:$BALLISTA_VERSION
ls -l data
fi
\ No newline at end of file
diff --git a/dev/build-rust.sh b/dev/build-ballista-docker.sh
similarity index 83%
rename from dev/build-rust.sh
rename to dev/build-ballista-docker.sh
index 479cb2a135..bc028da9e7 100755
--- a/dev/build-rust.sh
+++ b/dev/build-ballista-docker.sh
@@ -20,4 +20,5 @@
set -e
. ./dev/build-set-env.sh
-docker build -t ballistacompute/ballista-rust:$BALLISTA_VERSION -f dev/docker/rust.dockerfile .
+docker build -t ballista-base:$BALLISTA_VERSION -f dev/docker/ballista-base.dockerfile .
+docker build -t ballista:$BALLISTA_VERSION -f dev/docker/ballista.dockerfile .
diff --git a/dev/build-rust-base.sh b/dev/build-rust-base.sh
deleted file mode 100755
index f2a4cc3238..0000000000
--- a/dev/build-rust-base.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-set -e
-
-. ./dev/build-set-env.sh
-docker build -t ballistacompute/rust-base:$BALLISTA_VERSION -f dev/docker/rust-base.dockerfile .
diff --git a/dev/build-ui.sh b/dev/build-ui.sh
index bb5bff3d18..0708397025 100755
--- a/dev/build-ui.sh
+++ b/dev/build-ui.sh
@@ -20,4 +20,4 @@
set -e
. ./dev/build-set-env.sh
-docker build -t ballistacompute/ballista-scheduler-ui:$BALLISTA_VERSION -f dev/docker/ui.scheduler.dockerfile ballista/ui/scheduler
+docker build -t ballista-scheduler-ui:$BALLISTA_VERSION -f dev/docker/ballista-scheduler-ui.dockerfile ballista/ui/scheduler
diff --git a/dev/docker/rust-base.dockerfile b/dev/docker/ballista-base.dockerfile
similarity index 100%
rename from dev/docker/rust-base.dockerfile
rename to dev/docker/ballista-base.dockerfile
diff --git a/dev/docker/ui.scheduler.dockerfile b/dev/docker/ballista-scheduler-ui.dockerfile
similarity index 100%
rename from dev/docker/ui.scheduler.dockerfile
rename to dev/docker/ballista-scheduler-ui.dockerfile
diff --git a/dev/docker/rust.dockerfile b/dev/docker/ballista.dockerfile
similarity index 97%
rename from dev/docker/rust.dockerfile
rename to dev/docker/ballista.dockerfile
index 0453001263..59f21b76d4 100644
--- a/dev/docker/rust.dockerfile
+++ b/dev/docker/ballista.dockerfile
@@ -22,7 +22,7 @@
# as a mounted directory.
ARG RELEASE_FLAG=--release
-FROM ballistacompute/rust-base:0.5.0-SNAPSHOT AS base
+FROM ballista-base:0.5.0-SNAPSHOT AS base
WORKDIR /tmp/ballista
RUN apt-get -y install cmake
RUN cargo install cargo-chef
@@ -76,7 +76,7 @@ ENV RELEASE_FLAG=${RELEASE_FLAG}
RUN if [ -z "$RELEASE_FLAG" ]; then mv /tmp/ballista/target/debug/tpch /tpch; else mv /tmp/ballista/target/release/tpch /tpch; fi
# Copy the binary into a new container for a smaller docker image
-FROM ballistacompute/rust-base:0.5.0-SNAPSHOT
+FROM ballista-base:0.5.0-SNAPSHOT
COPY --from=builder /executor /
diff --git a/dev/integration-tests.sh b/dev/integration-tests.sh
index 06ab108c29..3c1306319c 100755
--- a/dev/integration-tests.sh
+++ b/dev/integration-tests.sh
@@ -17,8 +17,7 @@
# specific language governing permissions and limitations
# under the License.
set -e
-./dev/build-rust-base.sh
-./dev/build-rust.sh
+./dev/build-ballista-docker.sh
pushd benchmarks
./tpch-gen.sh