Repository: couchdb-ci Updated Branches: refs/heads/master b918cfb69 -> a9b33efe0
Add convenience pull-all script Project: http://git-wip-us.apache.org/repos/asf/couchdb-ci/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ci/commit/a9b33efe Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ci/tree/a9b33efe Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ci/diff/a9b33efe Branch: refs/heads/master Commit: a9b33efe019549d6510be6ef9f58ebf69275876e Parents: b918cfb Author: Joan Touzet <woh...@apache.org> Authored: Mon Jul 24 00:05:00 2017 -0700 Committer: Joan Touzet <woh...@apache.org> Committed: Mon Jul 24 00:05:00 2017 -0700 ---------------------------------------------------------------------- bin/pull-all.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/a9b33efe/bin/pull-all.sh ---------------------------------------------------------------------- diff --git a/bin/pull-all.sh b/bin/pull-all.sh new file mode 100755 index 0000000..46d90ff --- /dev/null +++ b/bin/pull-all.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env 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. + +SCRIPT=$(readlink -f "$0") +SCRIPTPATH=$(dirname "$SCRIPT") + +( find $SCRIPTPATH/*-base -type d -printf "couchdbdev/%f\n" | xargs -n 1 docker pull) +( find $SCRIPTPATH/*erlang* -type d -printf "couchdbdev/%f\n" | xargs -n 1 docker pull) +