From: Ali Maredia Date: Thu, 22 Jun 2017 20:43:35 +0000 (-0400) Subject: nfs-ganesha-stable: correct job name and display name X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F757%2Fhead;p=ceph-build.git nfs-ganesha-stable: correct job name and display name Signed-off-by: Ali Maredia --- diff --git a/nfs-ganesha-stable/build/build_deb b/nfs-ganesha-stable/build/build_deb index a0a94d2e..376b14d4 100644 --- a/nfs-ganesha-stable/build/build_deb +++ b/nfs-ganesha-stable/build/build_deb @@ -38,7 +38,7 @@ NORMAL_DISTRO_VERSION=$DIST NORMAL_ARCH=$ARCH # create build status in shaman -create_build_status "started" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH +create_build_status "started" "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH ## Setup the pbuilder setup_pbuilder @@ -119,7 +119,7 @@ sudo pbuilder build \ ## Upload the created debs to chacra -chacra_endpoint="nfs-ganesha/${NFS_GANESHA_BRANCH}/${GIT_COMMIT}/${DISTRO}/${DIST}" +chacra_endpoint="nfs-ganesha-stable/${NFS_GANESHA_BRANCH}/${GIT_COMMIT}/${DISTRO}/${DIST}" chacra_repo_endpoint="${chacra_endpoint}/flavors/${FLAVOR}" [ "$FORCE" = true ] && chacra_flags="--force" || chacra_flags="" @@ -151,6 +151,6 @@ echo "Check the status of the repo at: https://shaman.ceph.com/api/repos/${chacr # update shaman with the completed build status SHA1=${GIT_COMMIT} -update_build_status "completed" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH +update_build_status "completed" "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH sudo rm -rf $WORKSPACE/dist diff --git a/nfs-ganesha-stable/build/build_rpm b/nfs-ganesha-stable/build/build_rpm index b3392ed2..a35a41a6 100644 --- a/nfs-ganesha-stable/build/build_rpm +++ b/nfs-ganesha-stable/build/build_rpm @@ -57,7 +57,7 @@ NORMAL_DISTRO_VERSION=$RELEASE NORMAL_ARCH=$ARCH # create build status in shaman -create_build_status "started" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH +create_build_status "started" "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH cd $WORKSPACE/nfs-ganesha @@ -97,7 +97,7 @@ sudo mock --verbose -r nfs-ganesha.cfg --scrub=all sudo mock --verbose -r nfs-ganesha.cfg --define "dist .el7" --resultdir=$WORKSPACE/dist/RPMS/ ${SRPM} || ( tail -n +1 $WORKSPACE/dist/RPMS/{root,build}.log && exit 1 ) VERSION=`grep -R "#define GANESHA_VERSION \"" $WORKSPACE/nfs-ganesha/build/include/config.h | sed -e 's/#define GANESHA_VERSION "//1; s/"//1;'` -chacra_endpoint="nfs-ganesha/${NFS_GANESHA_BRANCH}/${GIT_COMMIT}/${DISTRO}/${RELEASE}" +chacra_endpoint="nfs-ganesha-stable/${NFS_GANESHA_BRANCH}/${GIT_COMMIT}/${DISTRO}/${RELEASE}" chacra_repo_endpoint="${chacra_endpoint}/flavors/${FLAVOR}" RPM_RELEASE=`grep Release $WORKSPACE/nfs-ganesha/src/nfs-ganesha.spec | sed 's/Release:[ \t]*//g' | cut -d '%' -f 1` RPM_VERSION=`grep Version $WORKSPACE/nfs-ganesha/src/nfs-ganesha.spec | sed 's/Version:[ \t]*//g'` @@ -131,6 +131,6 @@ echo "Check the status of the repo at: https://shaman.ceph.com/api/repos/${chacr # update shaman with the completed build status SHA1=${GIT_COMMIT} -update_build_status "completed" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH +update_build_status "completed" "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH sudo rm -rf $WORKSPACE/dist diff --git a/nfs-ganesha-stable/build/failure b/nfs-ganesha-stable/build/failure index 6a4fe024..c6e46711 100644 --- a/nfs-ganesha-stable/build/failure +++ b/nfs-ganesha-stable/build/failure @@ -6,4 +6,4 @@ NFS_GANESHA_BRANCH=`branch_slash_filter $NFS_GANESHA_BRANCH` # update shaman with the failed build status -failed_build_status "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH +failed_build_status "nfs-ganesha-stable" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH diff --git a/nfs-ganesha-stable/config/definitions/nfs-ganesha-stable.yml b/nfs-ganesha-stable/config/definitions/nfs-ganesha-stable.yml index 2ff6714b..de2d1381 100644 --- a/nfs-ganesha-stable/config/definitions/nfs-ganesha-stable.yml +++ b/nfs-ganesha-stable/config/definitions/nfs-ganesha-stable.yml @@ -20,10 +20,10 @@ wipe-workspace: true basedir: "nfs-ganesha-debian" - job: - name: nfs-ganesha + name: nfs-ganesha-stable project-type: matrix defaults: global - display-name: 'nfs-ganesha' + display-name: 'nfs-ganesha-stable' block-downstream: false block-upstream: false properties: