diff options
author | Alexander Kurtakov | 2020-04-24 09:09:13 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-04-24 09:09:13 +0000 |
commit | c2bb8918467800578e0811c96c5522ea788a8fad (patch) | |
tree | 56da41741e5fca7b5d990ba2eb3c6e7174a269f8 /production/miscToolsAndNotes/checkComposites/checkComposites.sh | |
parent | 33f1573bf8bc5b170483288e29c7aa7f4cae4a66 (diff) | |
download | eclipse.platform.releng.aggregator-c2bb8918467800578e0811c96c5522ea788a8fad.tar.gz eclipse.platform.releng.aggregator-c2bb8918467800578e0811c96c5522ea788a8fad.tar.xz eclipse.platform.releng.aggregator-c2bb8918467800578e0811c96c5522ea788a8fad.zip |
Bug 562424 - Performance tests not published
Delete the old scripts. Finding out that more than a day is lost looking
at old files is really demotivating.
Change-Id: I1f9327cb024419df83f86452f86987af12b08e4f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'production/miscToolsAndNotes/checkComposites/checkComposites.sh')
-rwxr-xr-x | production/miscToolsAndNotes/checkComposites/checkComposites.sh | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/production/miscToolsAndNotes/checkComposites/checkComposites.sh b/production/miscToolsAndNotes/checkComposites/checkComposites.sh deleted file mode 100755 index 67453037f..000000000 --- a/production/miscToolsAndNotes/checkComposites/checkComposites.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/usr/bin/env bash -#******************************************************************************* -# Copyright (c) 2019 IBM Corporation and others. -# -# This program and the accompanying materials -# are made available under the terms of the Eclipse Public License 2.0 -# which accompanies this distribution, and is available at -# https://www.eclipse.org/legal/epl-2.0/ -# -# SPDX-License-Identifier: EPL-2.0 -# -# Contributors: -# David Williams - initial API and implementation -#******************************************************************************* - -# Utility to run on Hudson, to periodically confirm that our -# atomic composite repositories are valid. - -# can be retrieved, on Hudson, with -# wget --no-verbose --no-cache -O checkComposites.sh https://${GIT_HOST}/c/platform/eclipse.platform.releng.aggregator.git/plain/production/miscToolsAndNotes/checkComposites/checkComposites.sh; -# and typically set chmod +x checkComposites.sh -# and then executed in "bash script" build step. - -baseEclipseAccessDir=/home/data/httpd/download.eclipse.org -baseEclipseDirSegment=eclipse/downloads/drops4/R-4.15-202003050155 -baseEclipse=eclipse-platform-4.15-linux-gtk-x86_64.tar.gz -repoFileAccess=file:///home/data/httpd/download.eclipse.org/ -repoHttpAccess=https://download.eclipse.org -repoAccess=${repoFileAccess} -# TODO: reduce this list soon -repoList="\ -/eclipse/updates/4.14/ \ -/eclipse/updates/4.15/ \ -/eclipse/updates/4.15-Y-builds/ \ -/eclipse/updates/4.15-P-builds/ \ -/eclipse/updates/4.16/ \ -/eclipse/updates/4.16-I-builds/ \ -/eclipse/updates/4.16milestones/ \ -/eclipse/updates/4.16-Y-builds/ \ -/eclipse/updates/4.16-P-builds/ \ -" - - -# WORKSPACE will be defined in Hudson. For convenience of local, remote, testing we will make several -# assumptions if it is not defined. -if [[ -z "${WORKSPACE}" ]] -then - echo -e "\n\tWORKSPACE not defined. Assuming local, remote test." - WORKSPACE=${PWD} - # access can remain undefined if we have direct access, such as on Hudson. - # The value used here will depend on .ssh/config - access=build: - repoAccess=${repoHttpAccess} -fi - -# Confirm that Eclipse Platform has already been installed, if not, install it -if [[ ! -d ${WORKSPACE}/eclipse ]] -then - # We assume we have file access to 'downloads'. If not direct, at least via rsync. - echo -e "\n\trsynching eclipse platform archive to ${WORKSPACE}" - echo -e "\n\trsync command: rsync ${access}${baseEclipseDirSegment}/${baseEclipse} ${WORKSPACE}" - rsync ${access}${baseEclipseAccessDir}/${baseEclipseDirSegment}/${baseEclipse} ${WORKSPACE} - tar -xf ${baseEclipse} -C ${WORKSPACE} -fi - -for repo in ${repoList} -do - echo -e "\n\n\tChecking repo:\n\t\t ${repoAccess}${repo}\n\n" - nice -n 10 ${WORKSPACE}/eclipse/eclipse -nosplash -consolelog --launcher.suppressErrors -application org.eclipse.equinox.p2.director -repository ${repoAccess}${repo} -list -vm /shared/common/jdk1.8.0_x64-latest/bin/java - RC=$? - if [[ $RC != 0 ]] - then - echo -e "\n\t[ERROR]: p2.director list returned a non-zero return code: $RC" - exit $RC - fi -done - |