You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by iv...@apache.org on 2018/02/16 08:47:09 UTC

[bookkeeper] branch master updated: Add script missing from custom yahoo docker image

This is an automated email from the ASF dual-hosted git repository.

ivank pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 4528248  Add script missing from custom yahoo docker image
4528248 is described below

commit 4528248da8fd5b3b462afac8527098b6dd1032d0
Author: Ivan Kelly <iv...@apache.org>
AuthorDate: Fri Feb 16 09:46:59 2018 +0100

    Add script missing from custom yahoo docker image
    
    427eb81 references a script which I never added to the commit,
    which means the image doesn't build.
    
    This commit adds the script.
    
    Author: Ivan Kelly <iv...@apache.org>
    
    Reviewers: Enrico Olivelli <eo...@gmail.com>
    
    This closes #1151 from ivankelly/missing-script
---
 .../scripts/install-pulsar-tarball.sh              | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/tests/docker-images/all-released-versions-image/scripts/install-pulsar-tarball.sh b/tests/docker-images/all-released-versions-image/scripts/install-pulsar-tarball.sh
new file mode 100644
index 0000000..2679072
--- /dev/null
+++ b/tests/docker-images/all-released-versions-image/scripts/install-pulsar-tarball.sh
@@ -0,0 +1,39 @@
+#!/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.
+# */
+
+set -e
+
+TARBALL=$(ls apache-pulsar-*-incubating-bin.tar.gz | tail -1)
+gpg --verify $TARBALL.asc
+
+tar -zxf $TARBALL
+rm $TARBALL
+VERSION=4.3-yahoo
+
+mv apache-pulsar-*-incubating /opt/bookkeeper/$VERSION
+
+cat > /etc/supervisord/conf.d/bookkeeper-$VERSION.conf <<EOF
+[program:bookkeeper-$VERSION]
+autostart=false
+redirect_stderr=true
+stdout_logfile=/var/log/bookkeeper/stdout-$VERSION.log
+directory=/opt/bookkeeper/$VERSION
+command=/opt/bookkeeper/$VERSION/bin/bookkeeper bookie
+EOF

-- 
To stop receiving notification emails like this one, please contact
ivank@apache.org.