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

pdallig pushed a commit to branch branch-0.12
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/branch-0.12 by this push:
     new a57205e765 [ZEPPELIN-6271] Remove TravisCI-related scripts no longer 
in use
a57205e765 is described below

commit a57205e7659980d435e971de3237bf52c1cfdb0d
Author: Gyeongtae Park <[email protected]>
AuthorDate: Tue Sep 16 20:15:54 2025 +0900

    [ZEPPELIN-6271] Remove TravisCI-related scripts no longer in use
    
    ### What is this PR for?
    TravisCI is no longer used in this project, so the following obsolete files 
have been removed:
    - dev/travis/save-logs.py
    - dev/travis/travis-install.sh
    This cleanup eliminates unused CI scripts and reduces maintenance overhead.
    
    ### What type of PR is it?
    Refactoring
    
    ### Todos
    * [x] - Remove dev/travis/save-logs.py
    * [x] - Remove dev/travis/travis-install.sh
    
    ### What is the Jira issue?
    * Jira: https://issues.apache.org/jira/browse/ZEPPELIN-6271
    
    ### How should this be tested?
    N/A
    
    ### Screenshots (if appropriate)
    N/A
    
    ### Questions:
    * Does the license files need to update? No.
    * Is there breaking changes for older versions? No.
    * Does this needs documentation? No.
    
    Closes #5019 from ParkGyeongTae/ZEPPELIN-6271.
    
    Signed-off-by: Philipp Dallig <[email protected]>
    (cherry picked from commit 3c10d379c50a682fb6aa109e7c72586309243405)
    Signed-off-by: Philipp Dallig <[email protected]>
---
 dev/travis/save-logs.py      | 53 --------------------------------------------
 dev/travis/travis-install.sh | 31 --------------------------
 2 files changed, 84 deletions(-)

diff --git a/dev/travis/save-logs.py b/dev/travis/save-logs.py
deleted file mode 100755
index d0480e8f45..0000000000
--- a/dev/travis/save-logs.py
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-#  Licensed 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.
-
-import sys
-import subprocess
-from datetime import datetime, timedelta
-
-def main(file, cmd):
-    print cmd, "writing to", file
-    out = open(file, "w")
-    count = 0
-    process = subprocess.Popen(cmd,
-                           stderr=subprocess.STDOUT,
-                           stdout=subprocess.PIPE)
-
-    start = datetime.now()
-    nextPrint = datetime.now() + timedelta(seconds=1)
-    # wait for the process to terminate
-    pout = process.stdout
-    line = pout.readline()
-    while line:
-        count = count + 1
-        if datetime.now() > nextPrint:
-            diff = datetime.now() - start
-            sys.stdout.write("\r%d seconds %d log lines"%(diff.seconds, count))
-            sys.stdout.flush()
-            nextPrint = datetime.now() + timedelta(seconds=10)
-        out.write(line)
-        line = pout.readline()
-    out.close()
-    errcode = process.wait()
-    diff = datetime.now() - start
-    sys.stdout.write("\r%d seconds %d log lines"%(diff.seconds, count))
-    sys.stdout.write("\n" + str(cmd) + " done " + str(errcode) + "\n")
-    return errcode
-
-if __name__ == "__main__":
-    if sys.argv < 1:
-        print "Usage: %s [file info]" % sys.argv[0]
-        sys.exit(1)
-
-    sys.exit(main(sys.argv[1], sys.argv[2:]))
diff --git a/dev/travis/travis-install.sh b/dev/travis/travis-install.sh
deleted file mode 100755
index 56a68b4b86..0000000000
--- a/dev/travis/travis-install.sh
+++ /dev/null
@@ -1,31 +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.
-#
-ZEPPELIN_SRC_ROOT_DIR=$1
-shift
-TRAVIS_SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
-cd ${ZEPPELIN_SRC_ROOT_DIR}
-
-python ${TRAVIS_SCRIPT_DIR}/save-logs.py "install.txt" "$@"
-BUILD_RET_VAL=$?
-
-if [[ "$BUILD_RET_VAL" != "0" ]];
-then
-  cat "install.txt"
-fi
-
-exit ${BUILD_RET_VAL}

Reply via email to