summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* thingsbaserock/richardipsum/mason-openstackRichard Ipsum2014-09-151-1/+3
|
* Mason: Provide moving parts needed for testing on OpenStackbaserock/michaeldrake/mason-openstackMichael Drake2014-09-114-5/+570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing currently involves building a Baserock devel system, deploying it as a VM and testing that that deployed VM can build Baserock successfully. Originally Mason used scripts/release-test to do testing on a kvm host. In this patch the bits needed to do testing on an OpenStack host are provided. The new scripts/release-test-os script is based on the old scripts/release-test, and it uses `nova` to boot/delete/etc images and instances on OpenStack. The mason script, `mason.sh` is updated to optionally run either scripts/release-test-os or scripts/release-test, depending on whether TEST_INFRA is set to 'openstack' or 'kvmhost' in the Mason's mason.conf. The `os.conf` file is sourced by `mason.sh`, and should be updated to contain the relevant credentials and details for the OpenStack tenancy to be used for test deployments. When Mason creates a test OpenStack instance, there is potential for a race condition depending on whether ssh comes up before the cloud-init has finished resizing the instance's disc. If morph running on the test instance tries to build before the disc size is increased, it will fail complaining of insufficient free space. To eliminate this race, the cloud init script `os-init-script` is passed to `nova boot`. This touches a file after the disc is resized, which Mason checks for before it runs a `morph build`. The `os.conf` and `os-init-script` files must both be placed in the Mason system's `/root/` directory before the system is deployed. This should happen in the `mason.configure` configuration extension. The `mason.configure` configuration extension should also be updated to handle adding two extra variables to the `mason.conf` file. These are the aforementioned TEST_INFRA and OPENSTACK_NET_ID, which is the ID for the configured OpenStack network that test instances should use.
* Update lorry-controller, trove-setup for ghost job handlingLars Wirzenius2014-09-081-2/+2
|
* Update morph for recv-hole/xfer-hole install fixLars Wirzenius2014-09-081-1/+1
| | | | Reviewed-by: Richard Maw on irc
* Update morph for openstack.check improvementsPedro Alvarez2014-09-052-2/+2
|
* Update morph (tools, cross-bootstrap) for sparse file speedupLars Wirzenius2014-09-052-2/+2
|
* Update Morph, to include deploy improvements and a log file size reductionSam Thursfield2014-09-021-1/+1
|
* Fix Mason report generatorMichael Drake2014-08-291-2/+2
| | | | | | | | Now that we use the upstream trove, rather than local trove for git, the report generator needs to be updated to reflect that. Reviewed-By: Richard Maw <richard.maw@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
* Merge branch 'baserock/franred/cpython-points-to-no-morph-ref'Francisco Redondo Marchena2014-08-281-2/+2
|\ | | | | | | | | | | | | Reviewed by: Sam Thursfield <sam.thursfield@codethink.co.uk> Pedro Alvarez <pedro.alvarez@codethink.co.uk> Merged by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
| * core.morph: Change cpython ref to point to a non morph refbaserock/franred/cpython-points-to-no-morph-refFrancisco Redondo Marchena2014-08-281-2/+2
|/
* Merge branch 'baserock/jjardon/cleanup-graphical-strata'Richard Maw2014-08-2830-441/+182
|\ | | | | | | Reviewed-by: Richard Maw +2
| * wayland-ivi-extension: Remove morph file as this uses standard cmakeJavier Jardón2014-08-282-9/+0
| |
| * input-common: linux-api-headers is already in build-essentialJavier Jardón2014-08-282-16/+1
| |
| * freefont-otf.morph: quote $DESTDIRJavier Jardón2014-08-281-2/+2
| |
| * mesa.morph: Indent configure argumentsJavier Jardón2014-08-281-6/+7
| |
| * weston: Do not disable drm backendJavier Jardón2014-08-282-1/+3
| | | | | | | | Its the default backend and probably the best supported
| * weston.morph: Do not disable weston-launchJavier Jardón2014-08-282-2/+7
| |
| * Do not build the same mesa in different strata, move to its own stratumJavier Jardón2014-08-287-21/+13
| |
| * Move common input components from wayland-generic to input-common stratumJavier Jardón2014-08-286-42/+50
| | | | | | | | | | | | This is libinput library and deps These are common dependencies to weston and clutter/gtk
| * Move common graphics components from wayland-generic to an independent stratumJavier Jardón2014-08-288-57/+58
| | | | | | | | | | | | Basically pixman, cairo, pango and deps These are common dependencies for weston and gtk/clutter
| * Move weston to its own stratumJavier Jardón2014-08-286-21/+23
| |
| * Build a unique mesa with wayland and x11 supportJavier Jardón2014-08-284-14/+14
| |
| * Build only one wayland independent of the architectureJavier Jardón2014-08-2822-263/+17
|/ | | | | This makes gtk (and everything that is on top) independent of the architecture we are building.
* Merge branch 'baserock/richardmaw/mason-loop-time'Richard Maw2014-08-285-65/+74
|\ | | | | | | | | Reviewed-by: Sam Thursfield Reviewed-by: Michael Drake
| * mason-generator: Display help for wrong number of argsRichard Maw2014-08-281-1/+1
| |
| * Reduce the disk size allocated to Mason TrovesRichard Maw2014-08-281-1/+1
| | | | | | | | | | We don't need to store gits on there, so we don't need it to be quite so large.
| * Deploy Masons to use source on upstream trovesRichard Maw2014-08-285-54/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The per-mason trove only needs to worry about being an artifact cache, so we can prevent it populating itself from the upstream trove by making it use the SSH protocol for fetching sources, and not registering its ssh key with the upstream trove. The MASON_UPSTREAM_TROVE_ADDRESS option has been removed, as this is now the TROVE_HOST. The distbuild network is now configured to use the upstream trove for sources, and the local trove for artifacts, with the ARTIFACT_CACHE_SERVER option. mason.configure now uses ARTIFACT_CACHE_SERVER to tell deploy commands which server to fetch artifacts from.
| * Tidy mason deployDaniel Silverstone2014-08-282-9/+9
|/
* Merge remote-tracking branch 'origin/baserock/sam/coreutils-8.23'Sam Thursfield2014-08-281-2/+2
|\ | | | | | | Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
| * Update coreutils to 8.23Sam Thursfield2014-08-271-2/+2
|/
* Document the need for mason to be able to upload to upstream trovesMichael Drake2014-08-271-0/+5
| | | | | | | | Add a note showing how to copy the mason controller's id_rsa.key.pub to the upstream trove. This is needed or else artifact upload will now work, resuling in a FAIL. Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
* Update morph to latest versionRichard Maw2014-08-261-1/+1
| | | | | | This includes `git replace` mitigation code and raising an exception if morph can't talk to the remote git cache, rather than assuming the morphology didn't exist, and building the wrong thing.
* Merge branch 'baserock/pedroalvarez/fix-licensecheck'Pedro Alvarez2014-08-201-14/+12
|\ | | | | | | Reviewed-by: Richard Maw
| * Update licensecheck.sh to use the new definitions tree.Pedro Alvarez2014-08-201-14/+12
| |
* | mason: Don't checkout repo using .git suffixRichard Maw2014-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Failing to do this means that the deployment uses the wrong morphology, because build will end up using the repo without the .git suffix, so it will never update the cached version of the repo without it. The version with the .git suffix is only updated on the initial checkout, but is used by deploy, so it would pick up obsolete morphologies and not include new changes. Rubber-stamped-by: Richard Maw
* | Update morph for branch sam/rawdisk-upgrades'Sam Thursfield2014-08-191-1/+1
|/
* Merge branch 'baserock/richardmaw/fix-up-release-test'Richard Maw2014-08-193-34/+36
|\ | | | | | | | | | | | | | | | | | | Rubber-stamped-by: Richard Maw The majority of the patches were approved, but for the rest there is nobody else familiar enough with the code to comment. This code has been through a Mason pipeline a couple of times though, so it is less likely to break anything.
| * mason: Include build logs in output when builds failRichard Maw2014-08-191-2/+7
| |
| * Use file: URI for list-artifacts in release-uploadRichard Maw2014-08-191-1/+1
| | | | | | | | | | | | This requires the script be run in the top of the definitions repository, but will actually try to upload the changes that were tested, rather than the current HEAD.
| * Remove all VM storage together in one commandRichard Maw2014-08-191-4/+1
| |
| * Never remember hosts when running ssh commands on instancesRichard Maw2014-08-191-4/+2
| | | | | | | | | | The rest of the ssh commands are to the VM host, which we can't change all of, since some are run as part of the deployment extension.
| * Rename wait_online to wait_until_onlineRichard Maw2014-08-191-2/+2
| |
| * Rename Instance -> DeployedSystemInstanceRichard Maw2014-08-191-2/+3
| | | | | | | | This name requires less context to understand its use.
| * Various style fixes to release-testRichard Maw2014-08-191-4/+7
| |
| * Implement load_cluster_systems in terms of load_morphologyRichard Maw2014-08-191-2/+1
| |
| * Rename MorphologyFrobber -> MorphologyHelperRichard Maw2014-08-191-13/+12
|/ | | | It was a sucky placeholder name that wasn't replaced by anything better.
* Update cpython morphology to support newer cpython branches.Daniel Silverstone2014-08-192-2/+2
| | | | | | | | | Also update morph with fix to GitDirectory config caching. Cpython change reviewed by Richard Maw and Paul Sherwood, each giving +1. Morph change reviewed by Richard Maw, +2
* Re-organise definitions with scripts/organise-morphologies.pyGENIVI-I0.1baserock/release/GENIVI-I0.1Richard Maw2014-08-18428-1048/+4930
|
* Merge branch 'baserock/james/revert-3.16-tegra'James Thomas2014-08-181-2/+7
|\ | | | | | | | | Reviewed by: Richard Maw <richard.maw@codethink.co.uk> Merged by: James Thomas <james.thomas@codethink.co.uk>
| * Upgrade kernel in bsp-jetson-devel to R19 versionbaserock/james/revert-3.16-tegraJames Thomas2014-08-181-1/+1
| |