From e977155378fcbbd0826fa4a192b25273648d3782 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Sat, 27 Aug 2016 00:25:37 +0200 Subject: Create daily job for infra deployment, remove sandbox jobs and fix bugs This change - creates upstream daily job to trigger and control the execution of jobs that provision nodes using bifrost, deployment using puppet-infracloud, and simple smoke test job. - fixes the hashbang placement in 2 of the scripts. - removes sandbox dummy jobs as the infra jobs can serve as examples now. Only the node provisioning job is functional at the moment. Change-Id: I311d159956d8b7ce3f7a500fac5a7dcb459104cf Signed-off-by: Fatih Degirmenci --- jjb/sandbox/yardstick.sh | 61 ------------------------------------------------ 1 file changed, 61 deletions(-) delete mode 100755 jjb/sandbox/yardstick.sh (limited to 'jjb/sandbox/yardstick.sh') diff --git a/jjb/sandbox/yardstick.sh b/jjb/sandbox/yardstick.sh deleted file mode 100755 index 2f9be2729..000000000 --- a/jjb/sandbox/yardstick.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/bash -#set -o errexit -#set -o nounset -#set -o pipefail - -# get the job type -# we only support verify, merge, daily and weekly jobs -if [[ "$JOB_NAME" =~ (verify|merge|daily|weekly) ]]; then - JOB_TYPE=${BASH_REMATCH[0]} -else - echo "Unable to determine job type!" - exit 1 -fi - -# do stuff differently based on the job type -case "$JOB_TYPE" in - verify) - echo "Running as part of verify job" - ;; - merge) - echo "Running as part of merge job" - ;; - daily) - echo "Running as part of daily job" - ;; - weekly) - echo "Running as part of weekly job" - ;; - *) - echo "Job type $JOB_TYPE is not supported!" - exit 1 -esac - -# this just shows we can get the patch/commit information -# no matter what job we are executed by -cd $WORKSPACE -echo -echo "Commit Message is" -echo "-------------------------------------" -git log --format=%B -n 1 $(git rev-parse HEAD) -echo "-------------------------------------" -echo -echo "Repo contents" -echo "-------------------------------------" -ls -al -echo "-------------------------------------" -echo -echo "Changed files are" -echo "-------------------------------------" -git diff origin/master --name-only -echo "-------------------------------------" -echo -echo "Change introduced" -echo "-------------------------------------" -git diff origin/master -echo "-------------------------------------" -echo -echo "git show" -echo "-------------------------------------" -git show -echo "-------------------------------------" -- cgit 1.2.3-korg