]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Merge pull request #1896 from ceph/wip-18491
authorDavid Galloway <dgallowa@redhat.com>
Thu, 16 Sep 2021 14:48:02 +0000 (10:48 -0400)
committerGitHub <noreply@github.com>
Thu, 16 Sep 2021 14:48:02 +0000 (10:48 -0400)
ceph-dev-*build: Notify shaman of a build sooner

1  2 
ceph-dev-build/build/setup_rpm
ceph-dev-new-build/build/setup_rpm

index 11016cd35bcb089931afe15d45a8457fedc73efe,c13b854cdb97f711390c65684ed6ae472d79079d..c63763e3bee1a8f0acd6d128bc31e0cbdcc388af
@@@ -45,8 -37,18 +34,18 @@@ NORMAL_DISTRO_VERSION=$RELEAS
  NORMAL_ARCH=$ARCH
  
  # create build status in shaman
 -create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
 +update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
  
+ # unpack the tar.gz that contains the debian dir
+ cd dist
+ tar xzf *.orig.tar.gz
+ cd $(basename *.orig.tar.gz .orig.tar.gz | sed s/_/-/)
+ pwd
+ setup_rpm_build_deps
+ cd $WORKSPACE
  pkgs=( "chacractl>=0.0.21" )
  TEMPVENV=$(create_venv_dir)
  VENV=${TEMPVENV}/bin
index f7f57d48ed82247ff988130fef1c357096672385,c13b854cdb97f711390c65684ed6ae472d79079d..c63763e3bee1a8f0acd6d128bc31e0cbdcc388af
@@@ -43,8 -37,18 +34,18 @@@ NORMAL_DISTRO_VERSION=$RELEAS
  NORMAL_ARCH=$ARCH
  
  # create build status in shaman
 -create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
 +update_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
  
+ # unpack the tar.gz that contains the debian dir
+ cd dist
+ tar xzf *.orig.tar.gz
+ cd $(basename *.orig.tar.gz .orig.tar.gz | sed s/_/-/)
+ pwd
+ setup_rpm_build_deps
+ cd $WORKSPACE
  pkgs=( "chacractl>=0.0.21" )
  TEMPVENV=$(create_venv_dir)
  VENV=${TEMPVENV}/bin