From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com
Cc: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Subject: [PATCH OSSTEST v8 01/14] mfi-common: Allow make-*flight to filter the set of build jobs to include
Date: Wed, 8 Jul 2015 13:30:49 +0100 [thread overview]
Message-ID: <1436358662-12886-1-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <1436358648.23508.32.camel@citrix.com>
By using the same job_create_build(_filter_callback) scheme used for
the test jobs.
Will be used in make-distros-flight.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
v8: Moved to head of queue, make-distros-flight isn't introduced yet
so that hunk is dropped here and comes back later on.
---
make-flight | 4 ++++
mfi-common | 21 +++++++++++++++------
2 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/make-flight b/make-flight
index c763ce9..de8393a 100755
--- a/make-flight
+++ b/make-flight
@@ -34,6 +34,10 @@ flight=`./cs-flight-create $blessing $branch`
defsuite=`getconfig DebianSuite`
defguestsuite=`getconfig GuestDebianSuite`
+job_create_build_filter_callback () {
+ :
+}
+
if [ x$buildflight = x ]; then
create_build_jobs
diff --git a/mfi-common b/mfi-common
index a9e966f..a100afb 100644
--- a/mfi-common
+++ b/mfi-common
@@ -54,6 +54,15 @@ xenbranch_xsm_variants () {
esac
}
+job_create_build () {
+ job_create_build_filter_callback "$@" || return 0
+
+ local job=$1; shift
+ local recipe=$1; shift
+
+ ./cs-job-create $flight $job $recipe "$@"
+}
+
create_build_jobs () {
local arch
@@ -164,7 +173,7 @@ create_build_jobs () {
else
xsm_suffix=""
fi
- ./cs-job-create $flight build-$arch$xsm_suffix build \
+ job_create_build build-$arch$xsm_suffix build \
arch=$arch enable_xend=$build_defxend enable_ovmf=$enable_ovmf\
enable_xsm=$enable_xsm \
tree_qemu=$TREE_QEMU \
@@ -183,7 +192,7 @@ create_build_jobs () {
done
if [ $build_extraxend = "true" ] ; then
- ./cs-job-create $flight build-$arch-xend build \
+ job_create_build build-$arch-xend build \
arch=$arch enable_xend=true enable_ovmf=$enable_ovmf \
tree_qemu=$TREE_QEMU \
tree_qemuu=$TREE_QEMU_UPSTREAM \
@@ -196,7 +205,7 @@ create_build_jobs () {
revision_qemuu=$REVISION_QEMU_UPSTREAM
fi
- ./cs-job-create $flight build-$arch-pvops build-kern \
+ job_create_build build-$arch-pvops build-kern \
arch=$arch kconfighow=xen-enable-xen-config \
$RUNVARS $BUILD_RUNVARS $BUILD_LINUX_RUNVARS $arch_runvars \
$suite_runvars \
@@ -208,7 +217,7 @@ create_build_jobs () {
if [ "x$REVISION_LIBVIRT" != xdisable ]; then
- ./cs-job-create $flight build-$arch-libvirt build-libvirt \
+ job_create_build build-$arch-libvirt build-libvirt \
arch=$arch \
tree_xen=$TREE_XEN \
$RUNVARS $BUILD_RUNVARS $BUILD_LIBVIRT_RUNVARS $arch_runvars \
@@ -223,7 +232,7 @@ create_build_jobs () {
case $arch in
i386|amd64)
- ./cs-job-create $flight build-$arch-rumpuserxen build-rumpuserxen \
+ job_create_build build-$arch-rumpuserxen build-rumpuserxen \
arch=$arch \
tree_xen=$TREE_XEN \
$RUNVARS $BUILD_RUNVARS $BUILD_RUMPUSERXEN_RUNVARS $arch_runvars \
@@ -252,7 +261,7 @@ create_build_jobs () {
if [ "x$REVISION_LINUX_OLD" != xdisable ]; then
- ./cs-job-create $flight build-$arch-oldkern build-kern \
+ job_create_build build-$arch-oldkern build-kern \
arch=$arch kconfighow=create-config-sh \
kimagefile=vmlinux \
$RUNVARS $BUILD_RUNVARS $BUILD_LINUX_OLD_RUNVARS \
--
2.1.4
next prev parent reply other threads:[~2015-07-08 12:30 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-08 12:30 [PATCH OSSTEST v8 00/14] add distro domU testing flight Ian Campbell
2015-07-08 12:30 ` Ian Campbell [this message]
2015-07-08 12:30 ` [PATCH OSSTEST v8 02/14] TestSupport: Add helper to fetch a URL on a host Ian Campbell
2015-07-08 13:29 ` Ian Jackson
2015-07-08 12:30 ` [PATCH OSSTEST v8 03/14] distros: add support for installing Debian PV guests via d-i, flight and jobs Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 04/14] distros: support booting Debian PV (d-i installed) guests with pvgrub Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 05/14] distros: Support pvgrub for Wheezy too Ian Campbell
2015-07-08 13:32 ` Ian Jackson
2015-07-08 13:51 ` Ian Campbell
2015-07-08 13:58 ` Ian Jackson
2015-07-08 14:55 ` Ian Campbell
2015-07-08 15:25 ` Ian Jackson
2015-07-08 15:51 ` Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 06/14] Test pygrub and pvgrub on the regular flights Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 07/14] distros: add branch infrastructure Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 08/14] crontab-cambridge: Use hard tabs for alignment Ian Campbell
2015-07-08 13:32 ` Ian Jackson
2015-07-08 12:30 ` [PATCH OSSTEST v8 09/14] distros: Run one suite per day on a weekly basis Ian Campbell
2015-07-08 13:33 ` Ian Jackson
2015-07-08 12:30 ` [PATCH OSSTEST v8 10/14] Debian: Handle lack of bootloader support in d-i on ARM Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 11/14] ts-debian-di-install: Refactor root_disk specification Ian Campbell
2015-07-08 12:31 ` [PATCH OSSTEST v8 12/14] make-flight: refactor PV debian tests Ian Campbell
2015-07-08 12:31 ` [PATCH OSSTEST v8 13/14] Add testing of file backed disk formats Ian Campbell
2015-07-08 13:34 ` Ian Jackson
2015-07-08 12:31 ` [PATCH OSSTEST v8 14/14] make-distros-flight: Use ftp.debian.org directly Ian Campbell
2015-07-08 13:35 ` Ian Jackson
2015-07-23 14:40 ` [PATCH OSSTEST v8 00/14] add distro domU testing flight Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436358662-12886-1-git-send-email-ian.campbell@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).