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.yamlindex 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.9command: "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-SNAPSHOTcommand: "/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:- etcdballista-executor:- image: ballistacompute/ballista-rust:0.5.0-SNAPSHOT+ image: ballista:0.5.0-SNAPSHOTcommand: "/executor --bind-host 0.0.0.0 --port 50051 --scheduler-host ballista-scheduler"scale: 2environment:@@ -39,7 +39,7 @@ services:depends_on:- ballista-schedulerballista-client:- image: ballistacompute/ballista-rust:0.5.0-SNAPSHOT+ image: ballista:0.5.0-SNAPSHOTcommand: "/bin/sh" # do nothingworking_dir: /ballista/benchmarks/tpchenvironment:diff --git a/benchmarks/tpch-gen.sh b/benchmarks/tpch-gen.shindex 676c0e7df5..a46f651110 100755--- a/benchmarks/tpch-gen.sh+++ b/benchmarks/tpch-gen.sh@@ -21,7 +21,7 @@pushd ... ./dev/build-set-env.shpopd-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 existFILE=./data/supplier.tbl@@ -29,6 +29,6 @@ if test -f "$FILE"; thenecho "$FILE exists."elsemkdir 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_VERSIONls -l datafi\ No newline at end of filediff --git a/dev/build-rust.sh b/dev/build-ballista-docker.shsimilarity index 83%rename from dev/build-rust.shrename to dev/build-ballista-docker.shindex 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.shdeleted file mode 100755index 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.shindex 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/schedulerdiff --git a/dev/docker/rust-base.dockerfile b/dev/docker/ballista-base.dockerfilesimilarity index 100%rename from dev/docker/rust-base.dockerfilerename to dev/docker/ballista-base.dockerfilediff --git a/dev/docker/ui.scheduler.dockerfile b/dev/docker/ballista-scheduler-ui.dockerfilesimilarity index 100%rename from dev/docker/ui.scheduler.dockerfilerename to dev/docker/ballista-scheduler-ui.dockerfilediff --git a/dev/docker/rust.dockerfile b/dev/docker/ballista.dockerfilesimilarity index 97%rename from dev/docker/rust.dockerfilerename to dev/docker/ballista.dockerfileindex 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 baseWORKDIR /tmp/ballistaRUN apt-get -y install cmakeRUN 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-SNAPSHOTCOPY --from=builder /executor /diff --git a/dev/integration-tests.sh b/dev/integration-tests.shindex 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.shpushd benchmarks./tpch-gen.sh