]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-volume-ansible-prs: deploy the target branch, not the source branch
authorAndrew Schoen <aschoen@redhat.com>
Wed, 22 Aug 2018 19:38:47 +0000 (15:38 -0400)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 24 Aug 2018 13:10:51 +0000 (09:10 -0400)
We're going to start deploying the target branch, the branch we're
merging PRs into, instead of the source branch. This way we don't have to
wait on packages as we can assume there is somethign already available
for the target branch. The ceph-volume code we're testing will be
rsynced to the testing nodes from the source branch.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-volume-ansible-prs/build/build

index e306937d0312e1201128585c817a3a1c50d4b17b..282fe86323b90107d30d902c5528538b5fe59b0e 100644 (file)
@@ -24,6 +24,6 @@ update_vagrant_boxes
 
 cd src/ceph-volume/ceph_volume/tests/functional/$SUBCOMMAND
 
-CEPH_DEV_BRANCH=$BRANCH CEPH_DEV_SHA1=$SHA $VENV/tox --workdir=$WORKDIR -vre $DISTRO-$OBJECTSTORE-$SCENARIO -- --provider=libvirt
+CEPH_DEV_BRANCH=$ghprbTargetBranch $VENV/tox --workdir=$WORKDIR -vre $DISTRO-$OBJECTSTORE-$SCENARIO -- --provider=libvirt
 
 GITHUB_STATUS_STATE="success" $VENV/github-status create