predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject incubator-predictionio git commit: Clean up unused files
Date Mon, 27 Feb 2017 00:48:39 GMT
Repository: incubator-predictionio
Updated Branches:
  refs/heads/develop f5592226f -> cc5bb9165


Clean up unused files


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/cc5bb916
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/cc5bb916
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/cc5bb916

Branch: refs/heads/develop
Commit: cc5bb91659e589b6860e50d41c2107a30b137d3e
Parents: f559222
Author: Donald Szeto <donald@apache.org>
Authored: Sun Feb 26 16:48:30 2017 -0800
Committer: Donald Szeto <donald@apache.org>
Committed: Sun Feb 26 16:48:30 2017 -0800

----------------------------------------------------------------------
 tests/Dockerfile                        |  1 -
 tests/docker-files/wait-for-postgres.sh | 25 -------------------------
 2 files changed, 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/cc5bb916/tests/Dockerfile
----------------------------------------------------------------------
diff --git a/tests/Dockerfile b/tests/Dockerfile
index dff4fa4..d1d048a 100644
--- a/tests/Dockerfile
+++ b/tests/Dockerfile
@@ -28,7 +28,6 @@ COPY docker-files/postgresql-9.4-1204.jdbc41.jar /drivers/postgresql-9.4-1204.jd
 COPY docker-files/init.sh init.sh
 COPY docker-files/env-conf/hbase-site.xml ${PIO_HOME}/conf/hbase-site.xml
 COPY docker-files/env-conf/pio-env.sh ${PIO_HOME}/conf/pio-env.sh
-COPY docker-files/wait-for-postgres.sh /wait-for-postgres.sh
 COPY docker-files/pgpass /root/.pgpass
 RUN chmod 600 /root/.pgpass
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/cc5bb916/tests/docker-files/wait-for-postgres.sh
----------------------------------------------------------------------
diff --git a/tests/docker-files/wait-for-postgres.sh b/tests/docker-files/wait-for-postgres.sh
deleted file mode 100755
index 967e5fc..0000000
--- a/tests/docker-files/wait-for-postgres.sh
+++ /dev/null
@@ -1,25 +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
-
-host="$1"
-
-until psql -h "$host" -U "pio" -c '\l'; do
-  >&2 echo "Postgres is unavailable - sleeping"
-  sleep 1
-done


Mime
View raw message