summaryrefslogtreecommitdiff
path: root/tests.as-root/building-a-system-branch-works-anywhere.script
Commit message (Collapse)AuthorAgeFilesLines
* morph build: Use the user's own repos when buildingSam Thursfield2012-11-121-4/+3
| | | | | | | | | | | | | This means that Morph no longer requires changes to be pushed in order to build them. The repos from the system branch are currently cached in the local repo cache as part of the build process, which is far from ideal. Tests for 'morph build' now test build without push. The build metadata now includes a repo path that is inside the TMPDIR, so the tests have been rewritten to avoid having any hardcoded cache keys because the cache keys are no longer static.
* tests: Always use test:morphs for morphs repoSam Thursfield2012-11-121-1/+1
| | | | Some tests were using test:morphs-repo instead.
* Factor out setup code from 'morph build' tests into separate fileSam Thursfield2012-11-071-23/+1
|
* Fix things so test suite works on Debian squeezeLars Wirzenius2012-09-131-0/+7
| | | | | | | | | | This requires disabling the feature that retains the original order of fields in a morphlogy when it gets overwritten. The implementation relies on features that are not available in Python 2.6. We need to support Morph on Debian squeeze, for bootstrapping purposes, and therefore need to have it work with Python 2.6. However, the morphology rewriting is only relevant for system branching and merging, and that isn't needed for bootstrapping, so we disable the affected tests on Python 2.6.
* tests: Always use fixed git committer infoSam Thursfield2012-09-131-0/+2
| | | | | | Move this into a script which can be sourced by the 'setup' scripts and the actual tests (this is needed as the environment in 'setup' is not passed on to the tests).
* Add a new 'morph build' for building from a system branchJannis Pohlmann2012-09-071-0/+75
This new command does a lot. First of all, its command line interface has now changed to 'morph build SYSTEM' and it needs to be run from a system branch. When called, the new 'build' command will identify the repositories and morphologies involved in building the system from the system branch, create a build ref behind the scenes based on the system branch and add a commit with all uncommitted changes to this build branch for every repo involved. It will then push those build branches to the repository server and kick off a build of BRANCH_ROOT BUILD_BRANCH SYSTEM.morph. After building has finished, the remote build branches will be deleted again.