summaryrefslogtreecommitdiff
path: root/morphlib/plugins/deploy_plugin.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve docstring for "morph deploy"Lars Wirzenius2013-07-051-7/+152
|
* deploy plugin: Use sh instead of bash for timestampingRichard Maw2013-06-111-1/+1
| | | | | This was left over from experimentation, it works with sh, and is faster.
* deploy_plugin: Timestamp output of extensionsRichard Maw2013-06-101-1/+3
| | | | | This requires a patch to cliapp to actually print the output, as there is a bug that causes it to always output to a pipe.
* Remove intermediate variablesRichard Maw2013-06-061-3/+2
| | | | | I find it easier to read without them, since there are less variables to remember.
* Merge branch 'baserock/tiagogomes/tmpdir' of ↵Tiago Gomes2013-06-051-2/+5
|\ | | | | | | | | | | | | | | | | | | | | | | 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-051-2/+5
| | | | | | | | | | | | 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.
* | S7904: Add disk space checks before build & deployRichard Maw2013-06-051-0/+9
|/ | | | | | | 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.
* Give better error message if extension is not executableLars Wirzenius2013-04-161-0/+9
|
* Merge remote-tracking branch 'origin/baserock/richardholland/ssh-config-ext'Lars Wirzenius2013-04-051-0/+2
|\
| * Added status output to print out running extensionRichard Holland2013-04-031-0/+2
| | | | | | | | | | Terminal will let user know which extension (write or config) is being run.
* | Merge remote-tracking branch ↵Lars Wirzenius2013-04-041-1/+13
|\ \ | | | | | | | | | | | | | | | 'remotes/origin/baserock/richardholland/expand-morph-deploy-help' Reformatted the text a bit.
| * | Expanded morph deploy helpRic Holland2013-04-031-1/+7
| | | | | | | | | | | | | | | | | | | | | When too few arguments are given to morph deploy it points you to the help page, which contains no information about the number of arguments needed. This patch adds some information from the morph reference manual regarding the arguments needed for morph deploy.
* | | Add TMPDIR to deploy extension environmentDaniel Silverstone2013-04-041-0/+5
| |/ |/| | | | | | | | | | | This adds TMPDIR to the environment of deployment extensions. It uses the --tempdir setting from morph in the case that TMPDIR is not already set.
* | Bug fix: use the right directory for the system morphologyLars Wirzenius2013-03-271-2/+6
|/ | | | | | Previously we used the system branch top directory, when we need the directory where the git repo for the system morphology is checked out.
* Improved error message when when system has not been built before deployRic Holland2013-03-201-1/+5
|
* Merge branch 'liw/no-artifact-compression'Sam Thursfield2013-03-121-2/+1
|\
| * Fix deploy to not assume artifacts are compressedLars Wirzenius2013-03-111-2/+1
| |
* | Merge remote-tracking branch ↵Sam Thursfield2013-03-121-2/+2
|\ \ | |/ |/| | | 'origin/baserock/richardholland/morph-deploy--tempdir'
| * Fixed 'morph deploy' to obey --tempdirRic Holland2013-03-071-2/+2
|/ | | | Allowed user to set the location of the temp directory using --tempdir
* Replace builder order graph with just a single artifactLars Wirzenius2013-02-191-2/+1
| | | | | The artifact's build dependencies replace the build order graph from previously.
* Comment logic in _run_extensionLars Wirzenius2013-02-071-0/+3
| | | | Suggested-By: Sam Thursfield
* Make configuration-extensions have a default valueLars Wirzenius2013-02-071-11/+9
| | | | | | | This saves a check (and an indentation) in the deployment plugin, making the code a tiny bit simpler. Suggested-By: Sam Thursfield
* Fix docstring and error messageLars Wirzenius2013-02-071-3/+3
| | | | Suggested-By: Sam Thursfield
* Describe how we re-use code from branch+merge pluginLars Wirzenius2013-02-071-0/+6
| | | | Suggested-By: Sam Thursfield
* Add cmdtest for "morph deploy" and rawdisk.writeLars Wirzenius2013-02-061-5/+7
|
* Add deployment pluginLars Wirzenius2013-02-061-0/+200
This adds a new optional field to system morphologies: "configuration-extensions". The deployment plugin relies heavily on code from the branch and merge plugin. This needs to be eventually fixed by refactoring the codebase so that the shared code is in morphlib and not in plugins. However, doing that is beyond the scope of adding a deployment plugin.