diff options
author | root <root@goofy-vm17.dsdev.sjc.redhat.com> | 2012-06-25 12:18:51 -0700 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-06-25 14:35:14 -0500 |
commit | 0b18e8dd183bd1cfbb91c5ab39644480972dfeb4 (patch) | |
tree | 3eb0e9e9bf7c4533dd74468b7af46b3b11cef7c7 /scripts | |
parent | f4c2ed98efbf2925554727480a794968789c4125 (diff) | |
download | pki-dev-0b18e8dd183bd1cfbb91c5ab39644480972dfeb4.tar.gz pki-dev-0b18e8dd183bd1cfbb91c5ab39644480972dfeb4.tar.xz pki-dev-0b18e8dd183bd1cfbb91c5ab39644480972dfeb4.zip |
Added scripts to clean up repo and test results.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nightly-build.sh | 4 | ||||
-rwxr-xr-x | scripts/pki-build.sh | 2 | ||||
-rwxr-xr-x | scripts/repo-create.sh | 6 | ||||
-rwxr-xr-x | scripts/repo-remove.sh | 3 | ||||
-rwxr-xr-x | scripts/tet-trim.sh | 7 |
5 files changed, 18 insertions, 4 deletions
diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh index 1970834..93f0565 100755 --- a/scripts/nightly-build.sh +++ b/scripts/nightly-build.sh @@ -2,8 +2,12 @@ cd `dirname $0`; +./repo-remove.sh +./repo-create.sh + ./pki-update.sh ./pki-build.sh #./tet-update.sh +./tet-trim.sh ./tet-run.sh diff --git a/scripts/pki-build.sh b/scripts/pki-build.sh index 95ba1e3..b3c21f1 100755 --- a/scripts/pki-build.sh +++ b/scripts/pki-build.sh @@ -6,8 +6,6 @@ ./core-uninstall.sh ./theme-uninstall.sh -./repo-remove.sh - ./theme-build.sh ./theme-install.sh diff --git a/scripts/repo-create.sh b/scripts/repo-create.sh new file mode 100755 index 0000000..9e783fd --- /dev/null +++ b/scripts/repo-create.sh @@ -0,0 +1,6 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` + +cd $SRC_DIR +mkdir -p repo diff --git a/scripts/repo-remove.sh b/scripts/repo-remove.sh index 9e783fd..998adc3 100755 --- a/scripts/repo-remove.sh +++ b/scripts/repo-remove.sh @@ -2,5 +2,4 @@ SRC_DIR=`cd ../.. ; pwd` -cd $SRC_DIR -mkdir -p repo +rm -rf $SRC_DIR/repo diff --git a/scripts/tet-trim.sh b/scripts/tet-trim.sh new file mode 100755 index 0000000..8b6f5fc --- /dev/null +++ b/scripts/tet-trim.sh @@ -0,0 +1,7 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` +TET_DIR=$SRC_DIR/tet + +cd $TET_DIR/results +rm -rf `ls | head -n -5` |