]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-medic-release: upload directly to the ceph-medic project 781/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 6 Jul 2017 15:18:09 +0000 (10:18 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 6 Jul 2017 15:18:09 +0000 (10:18 -0500)
There is no need to try and infer the project name, just upload directly
to chacra as ceph-medic.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-medic-release/build/build_rpm

index 33da1d39312f95c7e857a9454c30576ec8c39b72..4d52823040d7a0a3b6cb95513b1ce832b679e917 100644 (file)
@@ -6,8 +6,6 @@ set -ex
 [ -z "$GIT_BRANCH" ] && echo Missing GIT_BRANCH variable && exit 1
 [ -z "$JOB_NAME" ] && echo Missing JOB_NAME variable && exit 1
 
-# Strip "-rpm" off the job name to get our package's name
-PACKAGE=${JOB_NAME%-rpm}
 
 sudo yum -y install epel-release
 sudo yum -y install fedpkg mock
@@ -29,7 +27,7 @@ make_chacractl_config
 BRANCH=`branch_slash_filter $GIT_BRANCH`
 
 ## Upload the created RPMs to chacra
-chacra_endpoint="${PACKAGE}/${BRANCH}/${GIT_COMMIT}/centos/7"
+chacra_endpoint="ceph-medic/${BRANCH}/${GIT_COMMIT}/centos/7"
 
 [ "$FORCE" = true ] && chacra_flags="--force" || chacra_flags=""