aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-01-31buildsteps/BuildEclipsePlugin: add publish artefacts supportmaster-nextJoshua Lock
With the switch to yocto-autobuilder-helper based build artefact publishing is now handled automatically by the helper scripts. Until Eclipse builds are covered by the helper scripts this step needs to handle artefact publishing itself by calling the helper. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-31RunConfig: Add publish artefact supportRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-31Add ClobberDir directory removal stepRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-31Add clobberdir command to remove directories using the janitorRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-31BuildSet: Ensure yocto-autobuilder-helper scripts are always clonedJoshua Lock
The new model (and new buildsteps implemented recently) assume the yocto-autobuilder-helper scripts are present and used. Therefore ensure they are always cloned, rather than relying on a user to configure them. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-25buildsteps/SharedRepoUnpack: add buildstep to call shared-repo-unpack helperJoshua Lock
This unpacks the required git repos from a shared location if they have been cloned there, otherwise clones the repos from the git remote. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-25buildsteps/PrepareSharedRepos: add buildstep to call prepare-shared-reposJoshua Lock
Feed the generated layerinfo.json file to the prepare-shared-repos script in order to prepare a shared directory of cloned repositories, so that each worker that shares a NAS doesn't have to clone the same repos over and over. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-25buildsteps/WriteRepos: add buildstep to write repos to JSON layer fileJoshua Lock
This JSON file will be consumed by the yocto-autobuilder-helper scripts to prepare a shared directory of cloned repositories, so that each worker that shares a NAS doesn't have to clone the same repos over and over. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-25buildsteps/RunConfig: initial implementation of new buildstepJoshua Lock
This buildstep calls the run-config script from yocto-autobuilder-helper, which takes care of generating appropriate configuration files and running the builds in sequence based on the builder's name. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-23buildsteps/BuildImages: Don't use LOCALCONFRichard Purdie
This property isn't set by CreateAutoConf any more as that buildstep is no longer responsible for creating the auto.conf file Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-23buildsteps/RunSanityTests: Simplify as configuration handled by helpersRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-23buildsteps/CreateAutoConf: remove functionality the helper script coversJoshua Lock
The following functionality is now covered by the helper scripts, drop the corresponding code from CreateAutoConf: * rm of auto.conf and sdk-extra.conf * adding report-error to INHERITS * DISTRO * x32, PREMIRROR and PUBLISH_SOURCE_MIRROR entries * PACKAGE_CLASSES * QEMU_USE_KVM * MACHINE * gplv3 * TMPDIR * multilib * initmgr * PRSERV * DEVKERNEL support * buildhistory * sstate-mirror handling * buildappsrcrev In addition the following functionality is obsolete and therefore deleted: * swabber pieces (Swabber was removed from OE-Core a long time ago) * adt-installer is obsolete Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-23buildsteps/CreateAutoConf: call setup-configJoshua Lock
Begin to support the yocto-autobuilder-helper workflow by calling its setup-config script and preventing CreateAutoConf from deleting the generated files, or appending values to those files which are now written instead by the helper scripts. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-16autobuilder/Autobuilder: print useful message for buildset parse errorsJoshua Lock
When the parsing of the .conf files in buildset-config fails print the error message from ConfigParser's exception so that the user has a chance of understanding which file failed to parse and why. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-16autobuilder/Autobuilder: ensure cfile is setJoshua Lock
We need to store the passed cfile otherwise passing a cfile at initialisation is broken,the code will not automatically attempt the default cfile if this is set. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-10buildset-config.controller/buildtools: remove buildapp optionJoshua Lock
The buildtools buildset isn't building a build-appliance, this may be a copy/paste error. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-10buildset-config.controller: add buildinfo to images used by QAJoshua Lock
Use the new buildinfo option of CreateAutoConf to ensure that images used by QA contain a build info file at /etc/build which enables them to identify the image from within the running OS. [YOCTO #12331] Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-09buildsteps/CreateAutoConf: add option to enable image-buildinfoJoshua Lock
For QA purposes it's useful to be able to understand details about the system from within a running image. Therefore add an option to enable the image-buildinfo class with IMAGE_BASENAME and IMAGE_NAME included in the written variables. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-08buildsteps/CreateAutoConf: fix / placement in SSTATE_MIRRORSJoshua Lock
The prior commit appends the release number to the SSTATE_MIRRORS variable but does so without adding a separating / (due to a typo). Fix that issue. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-08buildsteps/CreateAutoConf: correctly set SSTATE_MIRRORS for a releaseJoshua Lock
We recently switched to publishing sstate artefacts into a per-release directory, therefore we need to append the same directory name to the value we set in SSTATE_MIRRORS to ensure a generated eSDK is pointing to the correct shared state mirror and able to install objects. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2018-01-05buildsteps/CreateAutoConf: set PV when setting build-appliance's SRCREVJoshua Lock
Setting SRCREV without changing PV isn't correct and can lead to unexpected issues. Ensure we're in-keeping with best practices and set the PV for build-appliance-image whenever we are setting SRCREV. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-12-21buildset-config.controller/nightly: don't trigger refkitJoshua Lock
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-12-13buildsteps/BuildImages: don't build refkit for releasesJoshua Lock
Ensure we don't try and build refkit when the user requests a release build. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-12-12buildset-config.controller/nightly: update release namesJoshua Lock
Add Sumo, the next (2.5) YP release name. Remove release names for releases which are no longer supported. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-12-12buildbot/status/web/templates: add sumo to convenience branch dropdownJoshua Lock
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-12-12meta-intel: add CheckYoctoCompat to nightlyStephano Cetola
Rocko introduces yocto-check-layer-wrapper which creates a separate build dir to run yocto-check-layer inside. Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
2017-12-01buildset-config.controller: finish remove of eclipse-plugin-marsJoshua Lock
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-12-01buildset-config.controller/eclipse-plugin-mars: drop this buildsetJoshua Lock
Drop this buildset, the Mars version of Eclipse is no longer supported. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-12-01buildsteps/RunOeSelftest: don't run test_checkpkg on release before rockoJoshua Lock
We try to run distrodata.Distrodata.test_checkpkg periodically on the Yocto Project autobuilders, yet this test was only introduced in the Rocko cycle. Therefore filter it out if the layer version doesn't map to Rocko, furthermore if we do filter it out and the list of tests thus becomes empty we shouldn't run oe-selftest at all. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-11-21Fix PublishArtifacts for beaglebone->beaglebone-yocto transitionRichard Purdie
Without this, builds of older releases fail due to the use of the new name which doesn't exist there. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-10buildsteps/CreateAutoConf: fix beaglebone backwards compatJoshua Lock
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-11-10buildsteps/BuildImages: tweak support for building refkitJoshua Lock
We build refkit images only with master and pre-integration branches, not any release branches. Improve the way we detect Ross pre-integration branches so that we better handle numebred pre-integration branches. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-11-10buildset-config.controller: rename beagleboard→beagleboneJoshua Lock
This is the new name of the machine from Yocto BSP layer version 4 (sumo release) on. We have code in place in CreateAutoConf to rename to the older machine name on for morty..rocko branches. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-11-10buildsteps/CreateAutoConf: support beaglebone→beaglebone-yocto renameJoshua Lock
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-11-10buildsteps/CreateAutoConf: drop support for releases before mortyJoshua Lock
We are no longer actively supporting Yocto Project releases older than the morty branch. Simplify the logic of the buildstep by dropping any code paths related to supporting versions older than morty. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-10-26buildset-config.controller/nightly-refkit: warn for unsupported recipesJoshua Lock
The unsupported recipe check is likely to often fail on the Yocto Autobuilder when testing pre-integration branches that the refkit team haven't worked with yet. Switch the unsupported recipes check to a warning instead of an error so that we provide the recipe check information for the refkit team without causing errors for our pre-integration checks. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-10-26buildset-config.meta-intel/yoctoAB.conf: add new buildsets to order listJoshua Lock
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-10-26buildset-config.controller/yoctoAB.conf: add musl buildsJoshua Lock
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-10-26meta-intel: nightly-musl: add 32 bit buildsetStephano Cetola
On the meta-intel autobuilder, we were only building musl for 64bit architectures. This adds a buildset for core2-32 arch, and adds that build to the nightly. Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
2017-10-26nightly-musl-x86-64: add 64bit musl buildStephano Cetola
We were building with musl on 32 bit platforms but not on 64 bit. This adds a 64 bit musl buildset that is similar to the 32 bit one and also adds that buildset to the list of builds for nightly. Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-27buildset-config.controller: add eclipse-plugin-oxygenJoshua Lock
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-27nightly.conf: add rocko to names of releasesJoshua Lock
Add Rocko (2.4) to the "Name of the poky release" dropdown on the nightly builder. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-22buildbot/status/web/templates: fixes for convenience branch dropdownJoshua Lock
Add some extra edge cases for: * meta-qt3: it won't have a rocko (or newer) branch * meta-gplv2: it only has a pyro and master branch Fix bitbake version map to use the master branch of bitbake when selecting the master entry in the dropdown. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-21CheckYoctoCompat.py: rename yocto-compat-layer to yocto-check-layerStephano Cetola
This script name was changed in the following commit: b46e05677b342df44829ffe8bcfbfc954e906030 This patch updates the script name to match and bumps the supported layer to version 11, the Rocko series. [YOCTO #12110] Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-20buildbot/status/web/templates: add convenience branch dropdownJoshua Lock
Add a convenience dropdown to the "Force build" form for the nightly builder which lets the AB user select an actively maintained Yocto Project branch and have the branch fields in the cloned repositories populated correctly. Unfortunately I couldn't determine a good way to do this without directly modifying the buildbot sources. Sadly this is unclean and will impact efforts to update buildbot in future... Once we have moved to a newer buildbot there's a clean set of hooks to implement custom web status UI's [YOCTO #11804] Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-15Remove sqlalchemy_migrate-0.6-py2.6Joshua Lock
We were carrying two versions of sqlalchemy_migrate, this one was unused. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-15Remove SQLAlchemy-0.8.0b2Joshua Lock
We were carrying two version of SQLAlchemy, this one is unused. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-15yocto-autobuilder-setup: don't add non-existant path to PATHJoshua Lock
We no longer have a scripts directory, so don't add it to PATH Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-14buildset-config.controller/nightly-oe-selftest: fix RPM_GPG_SIGN_CHUNKJoshua Lock
73dec5e984b99ea2fe08e940be0fad811bdd8129 was an attempt to add RPM_GPG_SIGN_CHUNK = "1" to the generated auto.conf, but syntax was incorrect. Add this variable to atextappend so that it's included in auto.conf Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2017-09-14autobuilder.pth.in: fix up entriesJoshua Lock
* switch to SQLAlchemy-0.7.0, 0.8.0b2 isn't compatible with the sqlalchemy_migrate 0.7.2 we ship * add setuptools Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>