summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Raise timeout time.michaeldrake/test-img-on-openstackMichael Drake2015-09-111-1/+1
|
* Remove VM host known_hosts updating.Michael Drake2015-09-111-54/+6
|
* Test commands passed as yaml files, rather than hardcoded.Michael Drake2015-09-111-23/+25
|
* Allow to run as non-root user.Michael Drake2015-09-111-3/+4
|
* Allow flavour to be passed on CLI.Michael Drake2015-09-111-12/+18
|
* Add a couple of TODOs.Michael Drake2015-09-111-0/+2
|
* Assign a floating IP address to the test instance.Michael Drake2015-09-111-64/+31
|
* Change to take image file as input, rather than cluster morphology.Michael Drake2015-09-111-178/+55
| | | | | | | | | | | This changes the command line to: release-test-os --os-host <HOST> --net-id <ID> --image-file <PATH> The `morph deploy` is replaced with a `glance image-create`, and much of the internals are simplified. Also removes dep on morphlib.
* Fix a couple of comments.Michael Drake2015-09-111-2/+2
|
* Remove hardcoded baserock build test support from generic code.Michael Drake2015-09-111-30/+4
|
* Disable cloud-init; no need for it yet, and it fails.Michael Drake2015-09-111-1/+1
|
* Remove baserock build test.Michael Drake2015-09-111-43/+9
|
* Fix openstack deployment extension path.Michael Drake2015-09-111-1/+1
|
* If no key exists, create one.Michael Drake2015-09-111-1/+6
|
* Ensure directory exists before creating known_hosts.Michael Drake2015-09-111-1/+6
|
* Remove trailing whitespace.Michael Drake2015-09-111-1/+1
|
* scripts: Fix release-build to not depend on a system branchbaserock-15.34baserock/release/baserock-15.34Pedro Alvarez2015-08-191-3/+16
| | | | | Signed-off-by: Sam Thursfield <sam.thursfield@codethink.co.uk> Change-Id: I1c8d2ed5d9c06466bdaac1c1e914f5f9e3969e11
* licensecheck.pl: sync with upstreamJavier Jardón2015-03-171-10/+18
| | | | Change-Id: Id3b868db36554541334dae3bd6363d5adc0289b8
* Include rsync as GPL3 chunkPedro Alvarez2015-03-111-0/+1
|
* cycle.sh - allow user to specify target system version namePaul Sherwood2014-11-071-10/+21
|
* Move os-init-script out of /rootAdam Coldrick2014-10-271-1/+1
|
* Stop assuming that known_hosts exists, and fix a typoAdam Coldrick2014-10-272-1/+5
|
* Mason: Provide moving parts needed for testing on OpenStackMichael Drake2014-10-271-0/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_INFRASTRUCTURE_TYPE 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_INFRASTRUCTURE_TYPE and OPENSTACK_NETWORK_ID, which is the ID for the configured OpenStack network that test instances should use.
* Merge remote-tracking branch ↵Richard Maw2014-10-101-5/+12
|\ | | | | | | | | | | 'origin/baserock/ps/cycle-refuses-to-delete-TEST-system' Reviewed-by: Richard Maw (+2)
| * Tidy up a bit, and don't let user run this in TEST systemPaul Sherwood2014-10-091-4/+11
|/
* Strip GNU patch from genivi baseline systemsPedro Alvarez2014-10-031-0/+1
| | | | | Reviewed-by: Paul Sherwood Reviewed-by: Sam Thursfield
* Add cycle script for build+deploy to selfPaul Sherwood2014-10-021-0/+43
|
* Deploy Masons to use source on upstream trovesRichard Maw2014-08-281-2/+9
| | | | | | | | | | | | | | | | | 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.
* Update licensecheck.sh to use the new definitions tree.Pedro Alvarez2014-08-201-14/+12
|
* 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.
* Add a script to organize morpholgies into definitionsbaserock/franred/organize-morphologies-script_v2Francisco Redondo Marchena2014-08-181-0/+266
|
* Add script for testing releasesRichard Maw2014-08-051-0/+402
| | | | | This will deploy and run build tests on systems listed in the morphology passed as its first argument.
* Pass cluster morphology to release upload script.baserock/michaeldrake/release-upload-clusterMichael Drake2014-08-011-9/+12
| | | | This makes the release-upload script more versatile.
* Add --upload-build-artifacts settingLars Wirzenius2014-07-301-1/+13
|
* Join short lines into one line, for readabilityLars Wirzenius2014-07-301-2/+1
|
* Avoid running rsync if source file list is emptyLars Wirzenius2014-07-301-1/+4
|
* Refactor long method into smaller onesLars Wirzenius2014-07-301-19/+37
| | | | For comprehensibility.
* Add markers around list in debug logLars Wirzenius2014-07-301-0/+2
|
* Simplify logic and conditionLars Wirzenius2014-07-301-3/+2
| | | | | Avoiding a condition that has a negation tends to be a bit simpler for humans to understand.
* Refactor process_args to be clearerLars Wirzenius2014-07-301-9/+14
| | | | | Move stuff into new methods to make overall logic clearer and to avoid stuffing too much into each method.
* Add --upload-release-artifacts settingLars Wirzenius2014-07-301-13/+9
|
* Remove unnecessary leading _ from methodLars Wirzenius2014-07-301-3/+3
|
* Allow release deployments with system name ≠ deployment namebaserock/michaeldrake/ci-release-scriptsMichael Drake2014-07-301-24/+21
| | | | | There used to be a check that prevented deployments with names different to the system. I don't know why this was, but I don't think we need it.