diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-05-03 22:24:37 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-05-03 22:24:37 -0500 |
commit | 0baa5bdaefe5d0bc5954115947d3530d9a6a39f0 (patch) | |
tree | a6fee5cd8a29caf0ad3943560a3e9dcd0b1d70dd | |
parent | d9e49fa8b06b46434cda29062b4cc10974d11dc5 (diff) | |
download | pki-dev-0baa5bdaefe5d0bc5954115947d3530d9a6a39f0.tar.gz pki-dev-0baa5bdaefe5d0bc5954115947d3530d9a6a39f0.tar.xz pki-dev-0baa5bdaefe5d0bc5954115947d3530d9a6a39f0.zip |
Added nightly build scripts.
-rwxr-xr-x | scripts/console-uninstall.sh | 3 | ||||
-rwxr-xr-x | scripts/ds-uninstall.sh | 2 | ||||
-rwxr-xr-x | scripts/nightly-build.sh | 9 | ||||
-rwxr-xr-x | scripts/pki-build.sh | 24 | ||||
-rwxr-xr-x | scripts/pki-update.sh | 6 | ||||
-rwxr-xr-x | scripts/ra-build.sh | 17 | ||||
-rwxr-xr-x | scripts/ra-install.sh | 6 | ||||
-rwxr-xr-x | scripts/ra-uninstall.sh | 3 | ||||
-rwxr-xr-x | scripts/repo-remove.sh | 6 | ||||
-rwxr-xr-x | scripts/tet-run.sh (renamed from scripts/tet.sh) | 0 | ||||
-rwxr-xr-x | scripts/tet-update.sh | 6 | ||||
-rwxr-xr-x | scripts/tps-build.sh | 17 | ||||
-rwxr-xr-x | scripts/tps-install.sh | 6 | ||||
-rwxr-xr-x | scripts/tps-uninstall.sh | 3 |
14 files changed, 106 insertions, 2 deletions
diff --git a/scripts/console-uninstall.sh b/scripts/console-uninstall.sh index 6c54656..b330088 100755 --- a/scripts/console-uninstall.sh +++ b/scripts/console-uninstall.sh @@ -1,4 +1,3 @@ #!/bin/sh -x -yum erase -y\ - pki-console +yum erase -y pki-console diff --git a/scripts/ds-uninstall.sh b/scripts/ds-uninstall.sh index 25d54e2..6b8d448 100755 --- a/scripts/ds-uninstall.sh +++ b/scripts/ds-uninstall.sh @@ -13,3 +13,5 @@ yum erase -y\ 389-ds-base-libs\ 389-admin\ 389-ds + +rm -rf /var/lock/dirsrv diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh new file mode 100755 index 0000000..1970834 --- /dev/null +++ b/scripts/nightly-build.sh @@ -0,0 +1,9 @@ +#!/bin/sh -x + +cd `dirname $0`; + +./pki-update.sh +./pki-build.sh + +#./tet-update.sh +./tet-run.sh diff --git a/scripts/pki-build.sh b/scripts/pki-build.sh new file mode 100755 index 0000000..95ba1e3 --- /dev/null +++ b/scripts/pki-build.sh @@ -0,0 +1,24 @@ +#!/bin/sh -x + +./console-uninstall.sh +./ra-uninstall.sh +./tps-uninstall.sh +./core-uninstall.sh +./theme-uninstall.sh + +./repo-remove.sh + +./theme-build.sh +./theme-install.sh + +./core-build.sh +./core-install.sh + +./tps-build.sh +./tps-install.sh + +./ra-build.sh +./ra-install.sh + +./console-build.sh +./console-install.sh diff --git a/scripts/pki-update.sh b/scripts/pki-update.sh new file mode 100755 index 0000000..3a09ca0 --- /dev/null +++ b/scripts/pki-update.sh @@ -0,0 +1,6 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` + +cd $SRC_DIR/pki +git pull diff --git a/scripts/ra-build.sh b/scripts/ra-build.sh new file mode 100755 index 0000000..73191ac --- /dev/null +++ b/scripts/ra-build.sh @@ -0,0 +1,17 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` + +cd $SRC_DIR + +rm -rf packages +mkdir -p packages + +pki/scripts/compose_pki_ra_packages rpms | tee packages/build.log + +mkdir -p repo +mv `find packages/RPMS -name *.rpm` repo +createrepo repo + +rm -rf packages.ra +mv packages packages.ra diff --git a/scripts/ra-install.sh b/scripts/ra-install.sh new file mode 100755 index 0000000..856c74e --- /dev/null +++ b/scripts/ra-install.sh @@ -0,0 +1,6 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` + +cd $SRC_DIR/repo +rpm -ivh pki-ra-*.rpm diff --git a/scripts/ra-uninstall.sh b/scripts/ra-uninstall.sh new file mode 100755 index 0000000..71ce7b3 --- /dev/null +++ b/scripts/ra-uninstall.sh @@ -0,0 +1,3 @@ +#!/bin/sh -x + +yum erase -y pki-ra diff --git a/scripts/repo-remove.sh b/scripts/repo-remove.sh new file mode 100755 index 0000000..9e783fd --- /dev/null +++ b/scripts/repo-remove.sh @@ -0,0 +1,6 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` + +cd $SRC_DIR +mkdir -p repo diff --git a/scripts/tet.sh b/scripts/tet-run.sh index c618a69..c618a69 100755 --- a/scripts/tet.sh +++ b/scripts/tet-run.sh diff --git a/scripts/tet-update.sh b/scripts/tet-update.sh new file mode 100755 index 0000000..e599c22 --- /dev/null +++ b/scripts/tet-update.sh @@ -0,0 +1,6 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` + +cd $SRC_DIR/tet +svn update diff --git a/scripts/tps-build.sh b/scripts/tps-build.sh new file mode 100755 index 0000000..a2e39ea --- /dev/null +++ b/scripts/tps-build.sh @@ -0,0 +1,17 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` + +cd $SRC_DIR + +rm -rf packages +mkdir -p packages + +pki/scripts/compose_pki_tps_packages rpms | tee packages/build.log + +mkdir -p repo +mv `find packages/RPMS -name *.rpm` repo +createrepo repo + +rm -rf packages.tps +mv packages packages.tps diff --git a/scripts/tps-install.sh b/scripts/tps-install.sh new file mode 100755 index 0000000..e737cb6 --- /dev/null +++ b/scripts/tps-install.sh @@ -0,0 +1,6 @@ +#!/bin/sh -x + +SRC_DIR=`cd ../.. ; pwd` + +cd $SRC_DIR/repo +rpm -ivh pki-tps-*.rpm diff --git a/scripts/tps-uninstall.sh b/scripts/tps-uninstall.sh new file mode 100755 index 0000000..09bb73c --- /dev/null +++ b/scripts/tps-uninstall.sh @@ -0,0 +1,3 @@ +#!/bin/sh -x + +yum erase -y pki-tps |