Permalink
Browse files

Fixed broken openstack build

  • Loading branch information...
1 parent 7eb1813 commit 7cb4ca774a3c23d1990dd29d769a2483cf8149a6 @vasichkin vasichkin committed Aug 5, 2011
Showing with 7 additions and 2 deletions.
  1. +1 −1 build_helpers
  2. +1 −0 trigger-glance-new
  3. +2 −0 trigger-nova-new
  4. +2 −0 trigger-swift-new
  5. +1 −1 trigger.conf
View
2 build_helpers
@@ -45,7 +45,7 @@ check_git_update() {
check_for_update() {
check_tarball_update
- check_git_update
+ check_spec_update
[[ $FireNewBuild == "1" ]] || exit 0
[ $Debug ] && echo "There is UPDATE"
}
View
1 trigger-glance-new
@@ -5,6 +5,7 @@ dirname="$(dirname $abspath)"
cd "$dirname" || exit -1
prj="glance"
+ OurSpec="openstack-$prj.spec"
DevMileStone="d3"
TarballsHome="http://glance.openstack.org/tarballs"
View
2 trigger-nova-new
@@ -5,6 +5,8 @@ dirname="$(dirname $abspath)"
cd "$dirname" || exit -1
prj="nova"
+OurSpec="openstack-$prj.spec"
+
DevMileStone="d4"
TarballsHome="http://nova.openstack.org/tarballs"
View
2 trigger-swift-new
@@ -7,6 +7,8 @@ cd "$dirname" || exit -1
prj="swift"
+OurSpec="openstack-$prj.spec"
+
DevMileStone="d4"
TarballsHome="http://swift.openstack.org/tarballs"
View
2 trigger.conf
@@ -2,7 +2,7 @@ Debug="1"
jenkins="localhost:8080"
# Name of our project. Taken from spec by default
-prj=$(grep '^Name:' $OurSpec | sed 's/^Name:\s\+//')
+[ $prj ] || prj=$(grep '^Name:' $OurSpec | sed 's/^Name:\s\+//')
# Storage for our specs

0 comments on commit 7cb4ca7

Please sign in to comment.