You are viewing a plain text version of this content. The canonical link for it is here.
Posted to submarine-dev@hadoop.apache.org by zt...@apache.org on 2019/09/25 03:10:28 UTC

[hadoop-submarine] branch master updated: SUBMARINE-197. Add license to cicd build script.

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

ztang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-submarine.git


The following commit(s) were added to refs/heads/master by this push:
     new 80c6562  SUBMARINE-197. Add license to cicd build script.
80c6562 is described below

commit 80c65625c67aba9c11e86e8112320edb944e81d5
Author: Zhankun Tang <zt...@apache.org>
AuthorDate: Wed Sep 25 11:00:27 2019 +0800

    SUBMARINE-197. Add license to cicd build script.
    
    ### What is this PR for?
    Add the license to the cicd build script
    
    ### What type of PR is it?
    Improvement
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/SUBMARINE-197
    
    ### How should this be tested?
    Travis license check should success
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    
    Author: Zhankun Tang <zt...@apache.org>
    
    Closes #10 from tangzhankun/SUBMARINE-197 and squashes the following commits:
    
    75242c4 [Zhankun Tang] SUBMARINE-197. Add license to cicd build script.
---
 dev-support/cicd/build_and_start_cicd_image.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/dev-support/cicd/build_and_start_cicd_image.sh b/dev-support/cicd/build_and_start_cicd_image.sh
index 91cdd34..ff3b0ed 100755
--- a/dev-support/cicd/build_and_start_cicd_image.sh
+++ b/dev-support/cicd/build_and_start_cicd_image.sh
@@ -1,4 +1,20 @@
 #!/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
+
 printf "Building Submarine CI/CD Image.\n"
 docker build -t submarine-cicd .
 printf "Start Submarine CI/CD.\n"