Merge pull request #14962 from jtattermusch/remove_gen_report_index

Remove gen_report_index.sh
pull/14983/head
Jan Tattermusch 7 years ago committed by GitHub
commit 71df26bfb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 35
      tools/internal_ci/helper_scripts/gen_report_index.sh
  2. 2
      tools/internal_ci/helper_scripts/prepare_build_linux_rc
  3. 2
      tools/internal_ci/helper_scripts/prepare_build_macos_rc
  4. 2
      tools/internal_ci/helper_scripts/prepare_build_windows.bat

@ -1,35 +0,0 @@
#!/usr/bin/env bash
# Copyright 2017 gRPC authors.
#
# 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.
#
# Generates index.html that will contain links to various test results on kokoro.
set -e
# change to grpc repo root
cd $(dirname $0)/../../..
# Kororo URLs are in the form "grpc/job/macos/job/master/job/grpc_build_artifacts"
KOKORO_JOB_PATH=$(echo "${KOKORO_JOB_NAME}" | sed "s|/|/job/|g")
mkdir -p reports
echo '<html><head></head><body>' > reports/kokoro_index.html
echo '<h1>'${KOKORO_JOB_NAME}', build '#${KOKORO_BUILD_NUMBER}'</h1>' >> reports/kokoro_index.html
echo '<h2><a href="https://kokoro2.corp.google.com/job/'${KOKORO_JOB_PATH}'/'${KOKORO_BUILD_NUMBER}'/">Kokoro build dashboard (internal only)</a></h2>' >> reports/kokoro_index.html
echo '<h2><a href="https://sponge.corp.google.com/invocation?id='${KOKORO_BUILD_ID}'&searchFor=">Test result dashboard (internal only)</a></h2>' >> reports/kokoro_index.html
echo '<h2><a href="test_report.html">HTML test report (Not available yet)</a></h2>' >> reports/kokoro_index.html
echo '<h2><a href="test_log.txt">Test log (Not available yet)</a></h2>' >> reports/kokoro_index.html
echo '</body></html>' >> reports/kokoro_index.html
echo 'Created reports/kokoro_index.html report index'

@ -15,8 +15,6 @@
# Source this rc script to prepare the environment for linux builds
tools/internal_ci/helper_scripts/gen_report_index.sh
# Need to increase open files limit for c tests
ulimit -n 32768

@ -15,8 +15,6 @@
# Source this rc script to prepare the environment for macos builds
tools/internal_ci/helper_scripts/gen_report_index.sh
sudo launchctl limit maxfiles unlimited unlimited
# show current maxfiles

@ -16,8 +16,6 @@
@rem set path to python 2.7
set PATH=C:\tools\msys64\usr\bin;C:\Python27;%PATH%
bash tools/internal_ci/helper_scripts/gen_report_index.sh
@rem If this is a PR using RUN_TESTS_FLAGS var, then add flags to filter tests
if defined KOKORO_GITHUB_PULL_REQUEST_NUMBER if defined RUN_TESTS_FLAGS (
chocolatey install -y jq

Loading…
Cancel
Save