]> xenbits.xensource.com Git - osstest.git/commitdiff
ap-*: Be able to fetch and push xen.git#smoke
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 8 Jul 2015 15:21:05 +0000 (16:21 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 22 Sep 2015 15:34:16 +0000 (16:34 +0100)
The branches and push gates are now:
 xen.git#staging -[xen-unstable-smoke]-> #smoke -[xen-unstable]-> #master

Deployment note: When this passes the osstest self-push-gate, the main
xen-unstable flight will start using smoke as an input.  Therefore,
until the new cronjob is installed to run the xen-unstable-smoke
tests, an automatic process should keep xen.git#smoke up to date with
xen.git#staging.  Eg, running in screen in xen@xenbits:~/git/xen.git:
    while sleep 1800; do git fetch . staging:smoke; done

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: `xen.git#smoked' branch name changed to `#smoke'

ap-fetch-version
ap-fetch-version-old
ap-push

index 488ea55b3bba0607d0703414801f92086accce8b..62adf79cf4819aed6c062fdc3c6ebcd89a9696bf 100755 (executable)
@@ -40,6 +40,9 @@ xen-3.*)
        ' x
        ;;
 xen-unstable)
+       repo_tree_rev_fetch_git xen $TREE_XEN smoke $LOCALREV_XEN
+       ;;
+xen-unstable-smoke)
        repo_tree_rev_fetch_git xen $TREE_XEN staging $LOCALREV_XEN
        ;;
 xen-4.*-testing)
index 7b918e3b2e155eaaca0d42a849aa8ee133d1a287..716fc8f0fc378c9aa9c8e65a40c97d687fa24847 100755 (executable)
@@ -50,6 +50,9 @@ xen-3.*)
 xen-unstable)
        repo_tree_rev_fetch_git xen $TREE_XEN master $LOCALREV_XEN
        ;;
+xen-unstable-smoke)
+       repo_tree_rev_fetch_git xen $TREE_XEN smoke $LOCALREV_XEN
+       ;;
 xen-4.*-testing)
        branchcore=${branch#xen-}
        branchcore=${branchcore%-testing}
diff --git a/ap-push b/ap-push
index 1dd5b05a4e76cae3fd20b1cd57f893aabe8cc71d..aa0ec3d45db0532e32887dfafb31ae998a83f7ad 100755 (executable)
--- a/ap-push
+++ b/ap-push
@@ -54,6 +54,10 @@ xen-unstable)
        cd $repos/xen
        git push $TREE_XEN $revision:refs/heads/master
        ;;
+xen-unstable-smoke)
+       cd $repos/xen
+       git push $TREE_XEN $revision:refs/heads/smoke
+       ;;
 xen-*-testing)
        cd $repos/xen
        xenversion=$branch