diff --git a/util/release_tarball-240.sh b/util/release_tarball-240.sh deleted file mode 100755 index b9f350ade..000000000 --- a/util/release_tarball-240.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/bash -x - -if ! test -f m4/Ovis-top.m4; then - echo This must be run from top of a source tree, which should be clean. - exit 1 -fi -REPO_DIR=`pwd` -OUTPUT_DIR=`pwd`/Release - -BRANCH_NAME=TOSS-v2.4.5 - -# Will get this from git in the future -VERSION=2.4.5 - -if ! test -f libevent-2.0.21-stable.tar.gz; then - echo "do not need a copy of libevent-2.0.21-stable.tar.gz in $REPO_DIR" - echo "for release $VERSION before packing." - # exit 1 -fi -# Create output dir -mkdir -p $OUTPUT_DIR - -# cd to local git clone -cd $REPO_DIR - -# Checkout $BRANCH_NAME -git checkout origin/$BRANCH_NAME -b $BRANCH_NAME - -# Find SHA of latest checkin -COMMIT_ID="$(git log -1 --pretty="%H")" - -# Get most recent tag id for this branch -TAG_ID="$(git describe --tags --abbrev=0)" - -TARGET=ldms-${VERSION}.tar - -# Create archive of desired branch -#git archive $BRANCH_NAME --format=tar --output=${OUTPUT_DIR}/ldms-${VERSION}.tar -git archive --prefix=ldms-${VERSION}/ $COMMIT_ID --format=tar --output=${OUTPUT_DIR}/$TARGET -sleep 0.1 - -# cd to output dir -cd $OUTPUT_DIR - -# Untar archive -echo "Untarring archive" -tar xf $TARGET -sleep 0.1 - -# Add SHA file -pushd ldms-${VERSION} -echo $COMMIT_ID > SHA.txt -echo $TAG_ID > TAG.txt -./autogen.sh -#cp $REPO_DIR/libevent-2.0.21-stable.tar.gz . -popd - -# Tar back up excluding unwanted files and dirs -echo "tarring archive with excludes from " -echo "$REPO_DIR/util/tar-excludes.txt" -TAR_OPTS="-X $REPO_DIR/util/tar-excludes.txt" -tar czf $TARGET.gz $TAR_OPTS ldms-${VERSION} -sleep 0.1 - -# Remove untarred stuff -echo "Removing cruft" -rm -rf ldms-${VERSION} $TARGET -sleep 0.1 - -ls -l diff --git a/util/release_tarball-300-mon6.sh b/util/release_tarball-300-mon6.sh deleted file mode 100755 index 69606c940..000000000 --- a/util/release_tarball-300-mon6.sh +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/bash -x -# This script handles pulling the unified ldms etc from the various repos -# bundling them into a single tree -# and tarring them up after pruning any dev-only stuff. - -if ! test -f m4/Ovis-top.m4; then - echo This must be run from top of a source tree, which should be clean. - exit 1 -fi -REPO_DIR=`pwd` -OUTPUT_DIR=`pwd`/Release - -BRANCH_NAME=trinity_mon_rhel6 - -# Will get this from git in the future -VERSION=3.0.0 - -if ! test -f libevent-2.0.21-stable.tar.gz; then - echo "do not need a copy of libevent-2.0.21-stable.tar.gz in $REPO_DIR" - echo "for release $VERSION before packing." - # exit 1 -fi -# Create output dir -mkdir -p $OUTPUT_DIR - -# cd to local git clone -cd $REPO_DIR - -# Checkout $BRANCH_NAME -git checkout origin/$BRANCH_NAME -b $BRANCH_NAME - -git submodule init sos -git submodule update - -# Find SHA of latest checkin -COMMIT_ID="$(git log -1 --pretty="%H")" -cd sos -SOS_COMMIT_ID="$(git log -1 --pretty="%H")" -cd .. - -# Get most recent tag id for this branch -TAG_ID="$(git describe --tags --abbrev=0)" - -TARGET=ldms-${VERSION}.tar -SOSTARGET=sos.tar - -# Create archive of desired branch -#git archive $BRANCH_NAME --format=tar --output=${OUTPUT_DIR}/ldms-${VERSION}.tar -git archive --prefix=ldms-${VERSION}/ $COMMIT_ID --format=tar --output=${OUTPUT_DIR}/$TARGET -sleep 0.1 -cd sos -git archive --prefix=sos/ $SOS_COMMIT_ID --format=tar --output=${OUTPUT_DIR}/$SOSTARGET -cd .. - -# cd to output dir -cd $OUTPUT_DIR - -# Untar archive -echo "Untarring archive" -tar xf $TARGET -cd ldms-${VERSION} -tar xf ../$SOSTARGET -cd .. -sleep 0.1 - - -# Add SHA file -pushd ldms-${VERSION} -echo $COMMIT_ID > SHA.txt -echo $SOS_COMMIT_ID > SHASOS.txt -echo $TAG_ID > TAG.txt -./autogen.sh -#cp $REPO_DIR/libevent-2.0.21-stable.tar.gz . -popd - -# Tar back up excluding unwanted files and dirs -echo "tarring archive with excludes from " -echo "$REPO_DIR/util/tar-excludes.txt" -TAR_OPTS="-X $REPO_DIR/util/tar-excludes.txt" -tar czf $TARGET.gz $TAR_OPTS ldms-${VERSION} -sleep 0.1 - -# Remove untarred stuff -echo "Relocating cruft" -rm -rf old -mkdir old -mv ldms-${VERSION} $TARGET $SOSTARGET old -sleep 0.1 - -ls -l diff --git a/util/release_tarball-300-rhine-nosos.sh b/util/release_tarball-300-rhine-nosos.sh deleted file mode 100755 index 23c5f006f..000000000 --- a/util/release_tarball-300-rhine-nosos.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/bash -x -# This script handles pulling the unified ldms etc from the various repos -# bundling them into a single tree -# and tarring them up after pruning any dev-only stuff. -## - -if ! test -f m4/Ovis-top.m4; then - echo This must be run from top of a source tree, which should be clean. - exit 1 -fi -REPO_DIR=`pwd` -OUTPUT_DIR=`pwd`/Release - -BRANCH_NAME=cray_dec_1 - -# Will get this from git in the future -VERSION=3.3.2 - -if ! test -f libevent-2.0.21-stable.tar.gz; then - echo "do not need a copy of libevent-2.0.21-stable.tar.gz in $REPO_DIR" - echo "for release $VERSION before packing." - # exit 1 -fi -# Create output dir -mkdir -p $OUTPUT_DIR - -# cd to local git clone -cd $REPO_DIR - -if ! ./util/release_tarball-300-rhine-nosos.sh; then - echo "util/release_tarball-300-rhine-nosos.sh failed" - exit 1 -fi - -# Checkout $BRANCH_NAME -if ! test "$BRANCH_NAME" = "master"; then - git checkout origin/$BRANCH_NAME $BRANCH_NAME -fi -git submodule init gpcd-support -git submodule update gpcd-support - -# Find SHA of latest checkin -COMMIT_ID="$(git log -1 --pretty="%H")" - -# Get most recent tag id for this branch -TAG_ID="$(git describe --tags --abbrev=0)" - -TARGET=ovis-${VERSION}.tar -GPCDTARGET=gpcd.tar - - -# Create archive of desired branch -#git archive $BRANCH_NAME --format=tar --output=${OUTPUT_DIR}/ldms-${VERSION}.tar -git archive --prefix=ovis-${VERSION}/ $COMMIT_ID --format=tar --output=${OUTPUT_DIR}/$TARGET -sleep 0.1 - -cd gpcd-support -git archive --prefix=gpcd-support/ master --format=tar --output=${OUTPUT_DIR}/$GPCDTARGET -# cp $GPCDTARGET ${OUTPUT_DIR}/ -cd .. - -# cd to output dir -cd $OUTPUT_DIR - -# Untar archive -echo "Untarring archive" -tar xf $TARGET -cd ovis-${VERSION} -tar xf ../$GPCDTARGET -if ! test -f gpcd-support/configure.ac; then - echo GPCD-SUPPORT not untarred ok - exit 1 -fi -cd .. -sleep 0.1 - - -# Add SHA file -pushd ovis-${VERSION} -echo $COMMIT_ID > SHA.txt -echo $TAG_ID > TAG.txt -./autogen.sh -#cp $REPO_DIR/libevent-2.0.21-stable.tar.gz . -popd - -# Tar back up excluding unwanted files and dirs -echo "tarring archive with excludes from " -echo "$REPO_DIR/util/tar-excludes.txt" -TAR_OPTS="-X $REPO_DIR/util/tar-excludes.txt" -tar czf $TARGET.gz $TAR_OPTS ovis-${VERSION} -sleep 0.1 - -# Remove untarred stuff -echo "Relocating cruft" -rm -rf old -mkdir old -mv -f ovis-${VERSION} $TARGET old -sleep 0.1 - -ls -l diff --git a/util/release_tarball-300-rhine.sh b/util/release_tarball-300-rhine.sh deleted file mode 100755 index e4e778316..000000000 --- a/util/release_tarball-300-rhine.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/bash -x -# This script handles pulling the unified ldms etc from the various repos -# bundling them into a single tree -# and tarring them up after pruning any dev-only stuff. -## -# on lanl, can't reach remote repos, so tar is our friend for sos. - -if ! test -f m4/Ovis-top.m4; then - echo This must be run from top of a source tree, which should be clean. - exit 1 -fi -REPO_DIR=`pwd` -OUTPUT_DIR=`pwd`/Release - -BRANCH_NAME=cray_dec_1 - -# Will get this from git in the future -VERSION=3.3.2 - -if ! test -f libevent-2.0.21-stable.tar.gz; then - echo "do not need a copy of libevent-2.0.21-stable.tar.gz in $REPO_DIR" - echo "for release $VERSION before packing." - # exit 1 -fi -# Create output dir -mkdir -p $OUTPUT_DIR - -# cd to local git clone -cd $REPO_DIR - -curbranch=`git rev-parse --abbrev-ref --short HEAD` -# Checkout $BRANCH_NAME -if ! test "x$BRANCH_NAME" = "x$curbranch"; then - if ! git checkout origin/$BRANCH_NAME -b $BRANCH_NAME ; then - echo "could not checkout $BRANCH_NAME requested" - exit 1 - fi -fi -git submodule init sos -git submodule init gpcd-support -git submodule update sos -git submodule update gpcd-support - -# Find SHA of latest checkin -COMMIT_ID="$(git log -1 --pretty="%H")" -SOS_COMMIT_ID=cfe185184d8d4d9451ad120a6a1cf06806c6af4d - -# Get most recent tag id for this branch -TAG_ID="$(git describe --tags --abbrev=0)" - -TARGET=ovis-${VERSION}.tar -SOSTARGET=sos.tar -GPCDTARGET=gpcd.tar - - -#cp util/cray-sos.patch $OUTPUT_DIR -# Create archive of desired branch -#git archive $BRANCH_NAME --format=tar --output=${OUTPUT_DIR}/ldms-${VERSION}.tar -git archive --prefix=ovis-${VERSION}/ $COMMIT_ID --format=tar --output=${OUTPUT_DIR}/$TARGET -sleep 0.1 -cd sos -git archive --prefix=sos/ $SOS_COMMIT_ID --format=tar --output=${OUTPUT_DIR}/$SOSTARGET -# cp $SOSTARGET ${OUTPUT_DIR}/ -cd .. - -cd gpcd-support -git archive --prefix=gpcd-support/ master --format=tar --output=${OUTPUT_DIR}/$GPCDTARGET -# cp $GPCDTARGET ${OUTPUT_DIR}/ -cd .. - -# cd to output dir -cd $OUTPUT_DIR - -# Untar archive -echo "Untarring archive" -tar xf $TARGET -cd ovis-${VERSION} -tar xf ../$SOSTARGET -tar xf ../$GPCDTARGET -if ! test -f sos/configure.ac; then - echo SOS not untarred ok - exit 1 -else - : # cd sos; patch < ../../cray-sos.patch) -fi -if ! test -f gpcd-support/configure.ac; then - echo GPCD-SUPPORT not untarred ok - exit 1 -fi -cd .. -sleep 0.1 - - -# Add SHA file -pushd ovis-${VERSION} -echo $COMMIT_ID > SHA.txt -echo $SOS_COMMIT_ID > SHASOS.txt -echo $TAG_ID > TAG.txt -./autogen.sh -#cp $REPO_DIR/libevent-2.0.21-stable.tar.gz . -popd - -# Tar back up excluding unwanted files and dirs -echo "tarring archive with excludes from " -echo "$REPO_DIR/util/tar-excludes.txt" -TAR_OPTS="-X $REPO_DIR/util/tar-excludes.txt" -tar czf $TARGET.gz $TAR_OPTS ovis-${VERSION} -sleep 0.1 - -# Remove untarred stuff -echo "Relocating cruft" -rm -rf old -mkdir old -mv -f ovis-${VERSION} $TARGET $SOSTARGET old -sleep 0.1 - -ls -l -exit 0 diff --git a/util/release_tarball-300.sh b/util/release_tarball-300.sh deleted file mode 100755 index df7a84981..000000000 --- a/util/release_tarball-300.sh +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/bash -x -# This script handles pulling the unified ldms etc from the various repos -# bundling them into a single tree -# and tarring them up after pruning any dev-only stuff. - -if ! test -f m4/Ovis-top.m4; then - echo This must be run from top of a source tree, which should be clean. - exit 1 -fi -REPO_DIR=`pwd` -OUTPUT_DIR=`pwd`/Release - -BRANCH_NAME=top-level-build-chama - -# Will get this from git in the future -VERSION=3.0.0 - -if ! test -f libevent-2.0.21-stable.tar.gz; then - echo "do not need a copy of libevent-2.0.21-stable.tar.gz in $REPO_DIR" - echo "for release $VERSION before packing." - # exit 1 -fi -# Create output dir -mkdir -p $OUTPUT_DIR - -# cd to local git clone -cd $REPO_DIR - -# Checkout $BRANCH_NAME -git checkout origin/$BRANCH_NAME -b $BRANCH_NAME - -git submodule init sos -git submodule update - -# Find SHA of latest checkin -COMMIT_ID="$(git log -1 --pretty="%H")" -cd sos -SOS_COMMIT_ID="$(git log -1 --pretty="%H")" -cd .. - -# Get most recent tag id for this branch -TAG_ID="$(git describe --tags --abbrev=0)" - -TARGET=ldms-${VERSION}.tar -SOSTARGET=sos.tar - -# Create archive of desired branch -#git archive $BRANCH_NAME --format=tar --output=${OUTPUT_DIR}/ldms-${VERSION}.tar -git archive --prefix=ldms-${VERSION}/ $COMMIT_ID --format=tar --output=${OUTPUT_DIR}/$TARGET -sleep 0.1 -cd sos -git archive --prefix=sos/ $SOS_COMMIT_ID --format=tar --output=${OUTPUT_DIR}/$SOSTARGET -cd .. - -# cd to output dir -cd $OUTPUT_DIR - -# Untar archive -echo "Untarring archive" -tar xf $TARGET -cd ldms-${VERSION} -tar xf ../$SOSTARGET -cd .. -sleep 0.1 - - -# Add SHA file -pushd ldms-${VERSION} -echo $COMMIT_ID > SHA.txt -echo $SOS_COMMIT_ID > SHASOS.txt -echo $TAG_ID > TAG.txt -./autogen.sh -#cp $REPO_DIR/libevent-2.0.21-stable.tar.gz . -popd - -# Tar back up excluding unwanted files and dirs -echo "tarring archive with excludes from " -echo "$REPO_DIR/util/tar-excludes.txt" -TAR_OPTS="-X $REPO_DIR/util/tar-excludes.txt" -tar czf $TARGET.gz $TAR_OPTS ldms-${VERSION} -sleep 0.1 - -# Remove untarred stuff -echo "Relocating cruft" -rm -rf old -mkdir old -mv ldms-${VERSION} $TARGET $SOSTARGET old -sleep 0.1 - -ls -l diff --git a/util/tar-excludes.txt b/util/tar-excludes.txt deleted file mode 100644 index 2f4e77db1..000000000 --- a/util/tar-excludes.txt +++ /dev/null @@ -1,5 +0,0 @@ -ldms/ldms_utils -util/release_tarball* -scratch -ldms_release -sedcutils