summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'baserock/tiagogomes/default-symlink' of ↵Tiago Gomes2013-06-172-5/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph Reviewed by Richard Maw and Lars Wirzenius
| * | | Set up a symlink to the default system version in rawdisk/kvm/vboxTiago Gomes2013-06-142-5/+14
| |/ / | | | | | | | | | | | | | | | | | | deployments Also Change them to use the "default" symlink in the extlinux.conf they create, instead of hardcoding the current system version name
* | | Merge branch 'baserock/tiagogomes/nfs-boot-sl' of ↵Tiago Gomes2013-06-171-9/+9
|\ \ \ | |_|/ |/| | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph Reviewed by Lars Wirzenius
| * | Change the symbolic link target and directory the default system on NFS server.Tiago Gomes2013-06-171-9/+9
|/ / | | | | | | | | | | | | | | | | With this we'll have "default -> factory" instead of "default-run" -> "factory/run". Also change to use VERSION_LABEL instead of VERSION and "factory" instead of "version1", to be more consistent with other parts of the code.
* | Merge branch 'liw/check-full-fails'Lars Wirzenius2013-06-171-0/+1
|\ \ | |/ |/| | | Reviewed-by: Daniel Silverstone on IRC
| * Fix scripts/test-morph to pass min space options alwaysLars Wirzenius2013-06-171-0/+1
|/ | | | | It was misisng one case, making the test suite fail on computers with suitable amounts of free space in the right filesystem.
* Add the install-files extension to morphJonathan Maw2013-06-061-0/+112
|
* Merge branch 'baserock/richardmaw/suggested-cleanups-for-tmpdir' of ↵Richard Maw2013-06-064-20/+15
|\ | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph Reviewed-by: Tiago Gomes
| * Remove intermediate variablesRichard Maw2013-06-062-6/+5
| | | | | | | | | | I find it easier to read without them, since there are less variables to remember.
| * Shorten create_if_not_exists logicRichard Maw2013-06-061-11/+7
| | | | | | | | | | | | | | | | I find the loop easier to read since there's less redundancy. Also less code to maintain. Note that tmpdir is not explicitly created, since makedirs of one of its subdirectories will handle that.
| * process_args: Move directory creation to after dump configRichard Maw2013-06-061-4/+4
| | | | | | | | | | | | I put my directory creation logic there, since it's an unintended side-effect to create the directories if all you want to do is dump the config.
| * builder: replace shelling out to mv with os.renameRichard Maw2013-06-061-1/+1
|/ | | | It's just 1 system call instead of at least 3.
* Merge branch 'baserock/tiagogomes/tmpdir' of ↵Tiago Gomes2013-06-055-17/+33
|\ | | | | | | | | | | | | | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph I had fixed an conflict and change to use morph_tmp instead of morph as default temp dir. Reviewed by Lars Wirzenius Conflicts: morphlib/app.py
| * Change the structure of the temporary directory used by morphTiago Gomes2013-06-055-12/+31
| | | | | | | | | | | | Now, inside the temporary directory we will have the following subdirectories: chunks, staging, failed and deployments. The failed directory will contain the staging areas of failed builds.
* | Merge branch 'baserock/richardmaw/S7904-warn-disk-full-v2' of ↵Richard Maw2013-06-0514-35/+115
|\ \ | | | | | | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph Reviewed-by: Lars Wirzenius
| * | S7904: Add disk space checks before build & deployRichard Maw2013-06-053-1/+24
| | | | | | | | | | | | | | | | | | | | | The same check that cachedir and tempdir are large enough is used for both build and build-morphology. Deploy only checks for tempdir being large enough.
| * | S7904: method for checking disk space is availableRichard Maw2013-06-051-0/+21
| | |
| * | S7904: method for testing paths are on the same fsRichard Maw2013-06-051-0/+10
| | |
| * | S7904: add method for finding bytes free in pathRichard Maw2013-06-051-0/+7
| | | | | | | | | | | | | | | This has no tests, as the ability to run them requires root privilidges or a more recent kernel and user namespace support.
| * | tests: disable the cache and tempdir space checksRichard Maw2013-06-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The size checks are irrelevant for most tests, since they tend to produce tiny systems. This still leaves the size checks themselves untested, however doing so is arguably a system-wide test.
| * | S7904: add new config options for minimum sizesRichard Maw2013-06-051-0/+28
| | |
| * | S7904: Move cache settings to storage optionsRichard Maw2013-06-051-10/+14
| | |
| * | Create cachedir and tempdir if they do not existRichard Maw2013-06-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been a thorn in my side for many a deployment. A nascent cache directory will cause the size checks to fail. We could get complicated and try the parent directories, or create the directories in the size check, but the former is not worth the complication and the latter is the wrong place to put it, so do it during process_args, so the directories exist before subcommands are run, so they don't have to bother with it themselves.
| * | tests: don't put cachedir in the workspaceRichard Maw2013-06-058-22/+2
| | | | | | | | | | | | | | | | | | This was a wild idea when we first designed the branch structure. It causes more problems than it's worth as you may have multiple workspaces, and it needed to be set manually in the first place.
| * | util: Fix a missing import in combine_aliasesRichard Maw2013-06-041-1/+1
| | | | | | | | | | | | ciapp is not imported, but morphlib.Error is an appropriate exception
* | | Merge branch 'baserock/richardmaw/S7903-update-artifact-mtimes' of ↵Richard Maw2013-06-041-4/+35
|\ \ \ | |/ / |/| | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph Reviewed-by: Lars Wirzenius on IRC.
| * | Update timestamps on artifact accessRichard Maw2013-06-011-4/+35
| |/
* | Merge branch 'jonathan/kvm-autostart'Jonathan Maw2013-06-041-4/+6
|\ \ | |/ |/| | | Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
| * kvm.write: Set VM to autostart if specifiedJonathan Maw2013-06-031-0/+3
| |
| * kvm.write: use ssh_runcmdJonathan Maw2013-06-031-4/+3
|/
* Merge branch 'baserock/danielsilverstone/more-pattern-fixes'Daniel Silverstone2013-06-031-2/+2
|\ | | | | | | Reviewed-By: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
| * UTIL: Update trove-id processing for hyphensDaniel Silverstone2013-06-031-2/+2
|/ | | | | Ensure that trove-id meets the same requirements as repo aliases in terms of naming.
* Fix tar write extensionJonathan Maw2013-05-311-1/+1
|
* Merge branch 'master' of git://git.baserock.org/baserock/baserock/morphbaserock-8Daniel Silverstone2013-05-301-1/+1
|\
| * Merge branch 'master' of git://git.baserock.org/baserock/baserock/morphLars Wirzenius2013-05-301-3/+8
| |\
| * | Update copyright yearLars Wirzenius2013-05-301-1/+1
| | | | | | | | | | | | Shameless self-approval.
* | | Update author details in setup.pyDaniel Silverstone2013-05-301-2/+2
| |/ |/|
* | Merge branch 'baserock/richardmaw/conficting-strata'Richard Maw2013-05-301-3/+8
|\ \ | |/ |/| | | Reviewed-by: Lars Wirzenius
| * build graph: Improve the comment for stratum duplicate checkRichard Maw2013-05-291-3/+8
| |
* | Merge remote-tracking branch 'origin/jonathan/tar-write-ext'Lars Wirzenius2013-05-301-0/+21
|\ \
| * | Tar write extension fails if arguments not setJonathan Maw2013-05-301-0/+2
| | |
| * | Add tar write extensionJonathan Maw2013-05-301-0/+19
|/ /
* | Merge remote-tracking branch 'origin/richarddale/qmake_build_system'Lars Wirzenius2013-05-306-0/+250
|\ \
| * | qmake build system test still succeeds when qmake isn't foundRichard Dale2013-05-301-0/+6
| | |
| * | Add detection for cmake and qmake build systemsRichard Dale2013-05-296-0/+244
|/ / | | | | | | Add tests for cmake and qmake build systems
* | Merge remote-tracking branch 'origin/jonathan/deploy-needs-DISK_SIZE-rebase'Lars Wirzenius2013-05-293-10/+37
|\ \ | |/ |/|
| * Apply Richard Maw's suggestionsJonathan Maw2013-05-292-16/+2
| |
| * Make deploy-rawdisk test pass and add a test for undefined DISK_SIZEJonathan Maw2013-05-292-1/+38
| |
| * Make create_local_system fail if DISK_SIZE isn't definedJonathan Maw2013-05-291-1/+5
|/
* Merge remote-tracking branch ↵Lars Wirzenius2013-05-282-18/+20
|\ | | | | | | 'origin/baserock/danielsilverstone/repo-alias-updates'