From 0da0e554bf12921df75c0975376b064b72e229c4 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Thu, 7 Mar 2019 08:58:38 +0000 Subject: tcwg_gnu-build.sh: Update after merge. Change-Id: I9edf99b8a3c3f912a587be24093ffd3941d302cc --- tcwg_gnu-build.sh | 42 ++++++++++++++---------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/tcwg_gnu-build.sh b/tcwg_gnu-build.sh index 2e040d4d..905496cc 100755 --- a/tcwg_gnu-build.sh +++ b/tcwg_gnu-build.sh @@ -4,36 +4,35 @@ set -euf -o pipefail scripts=$(dirname $0) . $scripts/jenkins-helpers.sh +. $scripts/round-robin.sh convert_args_to_variables "$@" obligatory_variables rr[ci_config] -# Execution mode: baseline, bisect, continue, jenkins-full +# Execution mode: baseline, bisect, jenkins-full rr[mode]="${rr[mode]-baseline}" -case "${rr[mode]}" in - "jenkins-full") - obligatory_variables rr[current_project] rr[current_branch] - ;; -esac - # Set custom revision for one of the projects, and use baseline revisions # for all other projects. rr[ci_project]="${rr[ci_project]-tcwg_gnu}" rr[baseline_branch]="${rr[baseline_branch]-linaro-local/ci/${rr[ci_project]}/${rr[ci_config]}}" -rr[current_branch]="${rr[current_branch]-default}" -rr[current_project]="${rr[current_project]-none}" rr[reset_baseline]="${rr[reset_baseline]-false}" rr[top_artifacts]="${rr[top_artifacts]-$(pwd)/artifacts}" -# {toolchain_name}-{toolchain_ver}-{target}-{bmk}-{cflags} +# {toolchain_name}-{toolchain_ver}-{target}-{bootstrap_config} IFS=- read -a ci_config <