From: Joshua Lock <joshua.g.lock@linux.intel.com>
To: Bill Randle <william.c.randle@intel.com>, yocto@yoctoproject.org
Subject: Re: [yocto-autobuilder][PATCH] add support for building the eclipse-poky-neon plugin
Date: Mon, 22 Aug 2016 11:30:32 +0100 [thread overview]
Message-ID: <1471861832.5256.15.camel@linux.intel.com> (raw)
In-Reply-To: <1471633461-14618-1-git-send-email-william.c.randle@intel.com>
On Fri, 2016-08-19 at 12:04 -0700, Bill Randle wrote:
> Add configs to build the eclipse poky neon plugin and drop support
> for the
> kepler branch. Also, generate md5sums for the eclipse plugin
> artifacts.
> (Note: building neon requires java 1.8.0.)
>
> [YOCTO #9940]
Pushed to master, thanks.
Joshua
>
> Signed-off-by: Bill Randle <william.c.randle@intel.com>
> ---
> buildset-config.controller/nightly.conf | 6 +-
> ----
> buildset-config.controller/eclipse-plugin-neon.conf | 11
> +++++++++++
> buildset-config.controller/yoctoAB.conf | 4
> ++--
> .../site-packages/autobuilder/buildsteps/PublishArtifacts.py | 11
> ++++++++---
> 4 files changed, 26 insertions(+), 10 deletions(-)
> create mode 100644 buildset-config.controller/eclipse-plugin-
> neon.conf
>
> diff --git a/buildset-config.controller/nightly.conf b/buildset-
> config.controller/nightly.conf
> index c16c147..0f9dd4e 100644
> --- a/buildset-config.controller/nightly.conf
> +++ b/buildset-config.controller/nightly.conf
> @@ -23,14 +23,14 @@
> {'repourl':'git://git.yoctoproject.org/eclipse-poky',
> 'checkout':False,
> 'branch':'luna-master'}},
> - {'eclipse-poky-kepler':
> - {'repourl':'git://git.yoctoproject.org/eclipse-poky',
> - 'checkout':False,
> - 'branch':'kepler-master'}},
> {'eclipse-poky-mars':
> {'repourl':'git://git.yoctoproject.org/eclipse-poky',
> 'checkout':False,
> 'branch':'mars-master'}},
> + {'eclipse-poky-neon':
> + {'repourl':'git://git.yoctoproject.org/eclipse-poky',
> + 'checkout':False,
> + 'branch':'neon-master'}},
> {'meta-qt4':
> {'repourl':'git://git.yoctoproject.org/meta-qt4',
> 'branch':'master'}},
> @@ -103,7 +103,7 @@
> 'nightly-mips64': {}, 'nightly-arm64':
> {},
> 'nightly-rpm-non-rpm': {}, 'nightly-deb-
> non-deb': {}},
> 'schedulerNames_nowait' : {'nightly-
> uclibc':{}, 'build-appliance': {},
> - 'eclipse-plugin-kepler': {}, 'eclipse-
> plugin-mars': {},
> + 'eclipse-plugin-neon': {}, 'eclipse-
> plugin-mars': {},
> 'eclipse-plugin-luna': {}, 'nightly-non-
> gpl3': {},
> 'nightly-oecore': {}, 'nightly-
> world':{},'nightly-wic':{},
> 'nightly-world-lsb':{}, 'nightly-intel-
> gpl': {},
>
> diff --git a/buildset-config.controller/yoctoAB.conf b/buildset-
> config.controller/yoctoAB.conf
> index 0f9ba0c..fe9750b 100644
> --- a/buildset-config.controller/yoctoAB.conf
> +++ b/buildset-config.controller/yoctoAB.conf
> @@ -1,6 +1,6 @@
> [BuildSets]
> -order: ['nightly', 'eclipse-plugin-mars',
> - 'eclipse-plugin-kepler', 'eclipse-plugin-luna',
> +order: ['nightly', 'eclipse-plugin-neon', 'eclipse-plugin-mars',
> + 'eclipse-plugin-luna',
> 'nightly-arm', 'nightly-arm64', 'nightly-arm-lsb',
> 'nightly-mips', 'nightly-mips64', 'nightly-mips-lsb',
> 'nightly-ppc', 'nightly-ppc-lsb', 'nightly-no-x11',
> diff --git a/lib/python2.7/site-
> packages/autobuilder/buildsteps/PublishArtifacts.py
> b/lib/python2.7/site-
> packages/autobuilder/buildsteps/PublishArtifacts.py
> index 1a938fc..d8b554f 100644
> --- a/lib/python2.7/site-
> packages/autobuilder/buildsteps/PublishArtifacts.py
> +++ b/lib/python2.7/site-
> packages/autobuilder/buildsteps/PublishArtifacts.py
> @@ -96,10 +96,15 @@ class PublishArtifacts(ShellCommand):
> command=command+"mv " + adt_dev_dest +
> "/rootfs/qemux86-64 " + adt_dev_dest + "/rootfs/qemux86_64;"
> elif "eclipse-plugin" in artifact:
> artifact_base = artifact.replace("eclipse-
> plugin-", "")
> + deploy_dir =
> os.path.join(os.path.join(self.workerdir, buildername),
> "build/scripts")
> + # create md5sums only for the zip files
> + if os.environ.get('GEN_IMG_MD5') == "True":
> + command += "for x in `ls " + deploy_dir +
> "/*.zip`;"
> + command += "do md5sum $x >> " + "$x.md5sum;
> done;"
> command=command+"mkdir -p " + DEST + "/eclipse-
> plugin/"+ artifact_base +";"
> - command=command+"cp -R --no-dereference --
> preserve=links " + \
> - os.path.join(os.path.join(self.
> workerdir, buildername),
> - "build/scripts/org.
> *.zip") + \
> + command=command+"cp --no-dereference --
> preserve=links " + \
> + os.path.join(deploy_dir,
> "org.*.zip") + \
> + " " + os.path.join(deploy_dir,
> "org.*.md5sum") + \
> " " + DEST + "/eclipse-
> plugin/"+ artifact_base +";"
> elif artifact == "build-appliance":
> command=command+"mkdir -p " + DEST + "/" +
> BA_PUBLISH_DIR + ";"
>
> diff --git a/buildset-config.controller/eclipse-plugin-neon.conf
> b/buildset-config.controller/eclipse-plugin-neon.conf
> new file mode 100644
> index 0000000..0a262d2
> --- /dev/null
> +++ b/buildset-config.controller/eclipse-plugin-neon.conf
> @@ -0,0 +1,11 @@
> +[eclipse-plugin-neon]
> +builders: 'example-worker'
> +repos: [{'eclipse-poky-neon':
> + {'repourl':'git://git.yoctoproject.org/eclipse-poky',
> + 'branch':'neon-master'}}]
> +steps: [{'SetDest':{}},
> + {'CheckOutLayers': {}},
> + {'BuildEclipsePlugin': {'eclipsedir': 'eclipse-poky-neon'}},
> + {'PublishLayerTarballs':{}},
> + {'PublishArtifacts': {'artifacts': ['eclipse-plugin-
> neon']}}]
> +
prev parent reply other threads:[~2016-08-22 10:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 19:04 [yocto-autobuilder][PATCH] add support for building the eclipse-poky-neon plugin Bill Randle
2016-08-22 10:30 ` Joshua Lock [this message]
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=1471861832.5256.15.camel@linux.intel.com \
--to=joshua.g.lock@linux.intel.com \
--cc=william.c.randle@intel.com \
--cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.