summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* log job stuffbaserock/adamcoldrick/wip-distbuild-fixesAdam Coldrick2015-03-272-2/+2
| | | | Change-Id: Idb57f1032e24847ba20cef30476bb6a0b438a896
* readableAdam Coldrick2015-03-271-0/+1
| | | | Change-Id: I5dc199b918acc95b962caaee9a13c6f091d72df4
* Keep huntingAdam Coldrick2015-03-272-4/+5
| | | | Change-Id: Ib7332a7e4848c7eb8ad5f602653d744632f37acc
* NOAdam Coldrick2015-03-261-5/+5
| | | | Change-Id: I2c92ff5040779e3a14daba811333291cb7c2cfec
* Try using event.jobAdam Coldrick2015-03-261-4/+4
| | | | Change-Id: I0fdc3b438689693f66b74a41e64ad705834385d7
* Merge "Let morph recognise big-endian kernel on ARMv8"Sam Thursfield2015-03-251-1/+1
|\
| * Let morph recognise big-endian kernel on ARMv8Edward Cragg2015-03-251-1/+1
| | | | | | | | | | | | | | Let morph recognise the architecture string reported by a big-endian ARMv8 kernel. Change-Id: I64323e6c2a4675a8cc34f185b10fa04754ebe8c8
* | Merge "simple-network: only try to rename "10-dhcp.network" if it actually ↵Pedro Alvarez2015-03-251-6/+8
|\ \ | | | | | | | | | exist"
| * | simple-network: only try to rename "10-dhcp.network" if it actually existJavier Jardon2015-03-241-6/+8
| | | | | | | | | | | | Change-Id: I1521c0bdec4d7a6812f8988a2349e66b08161de8
* | | Merge "simple-network: Use function to ensure directory path will exist"Pedro Alvarez2015-03-251-0/+2
|\ \ \ | |/ /
| * | simple-network: Use function to ensure directory path will existJavier Jardon2015-03-241-0/+2
| | | | | | | | | | | | Change-Id: I44693d15aa5e92d5f09720065788adff34f8685c
* | | Merge "simple-network: Add functionn to create a path if it doesnt exist"Pedro Alvarez2015-03-251-0/+11
|\ \ \ | |/ /
| * | simple-network: Add functionn to create a path if it doesnt existJavier Jardon2015-03-241-0/+11
| | | | | | | | | | | | Change-Id: If011a5518fd30914c89b00099b9d05cff5cd3959
* | | Merge "simple-network: separate creation of directory and file path"Pedro Alvarez2015-03-251-4/+8
|\ \ \ | |/ / | | / | |/ |/|
| * simple-network: separate creation of directory and file pathJavier Jardon2015-03-241-4/+8
| | | | | | | | Change-Id: Ic715815bbad3ef1ee9ab457b62a194eaef45744c
* | Ignore files in the copyright check scriptAdam Coldrick2015-03-241-0/+4
|/ | | | | | | Add the ability to ignore files when checking copyright years, and start ignoring the COPYING file. Change-Id: I0cc11456f896e27458357ab0c5729223c71b406e
* Add COPYING with the GPLv2 licenseJavier Jardón2015-03-211-0/+339
| | | | Change-Id: I00bcedae271c20273020fa3a60bb21decde85eed
* Merge "deploy: Tighten SSH connectivity check"Javier Jardón2015-03-191-1/+5
|\
| * deploy: Tighten SSH connectivity checkSam Thursfield2015-03-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I accidentally tried to deploy a Baserock upgrade to a Fedora cloud machine. Every SSH command that Morph ran got the following output: Please login as the user "fedora" rather than the user "root". The existing implementation of check_ssh_connectivity() didn't raise an exception, leading to confusing errors further down. The new implementation produces this error: ERROR: Unexpected output from remote machine: Please login as the user "fedora" rather than the user "root". Change-Id: Ida5a82b25d759167aa842194b0d833d0565b4acf
* | Merge "morphlib/sourceresolver.py: parse VERSION file in a function"Javier Jardón2015-03-181-6/+22
|\ \
| * | morphlib/sourceresolver.py: parse VERSION file in a functionJavier Jardón2015-03-171-6/+22
| | | | | | | | | | | | Change-Id: I6e714d1994632875a5a15f840fe8ab3a66dddc77
* | | Merge "morphlib/sourceresolver.py: Fail if morph doesnt support the version ↵Javier Jardón2015-03-181-8/+12
|\ \ \ | |/ / | | | | | | of definitions format"
| * | morphlib/sourceresolver.py: Fail if morph doesnt support the version of ↵baserock-definitions-v1Javier Jardón2015-03-171-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | definitions format This patch will add the following restriction: if VERSION exist and its a YAML file and its a dict and has the key 'version' and the type stored in the 'version' key is an int and that int is not in the supported format, then fail. So, if someone is using 'version: 4' in VERSION, morph will fail (as opposed to current morph, that will not fail in the check but will likely fail when it tries to compile) Change-Id: I555f7e6018b9bdf18c80039df92a253acbd51c8c
* | | Merge branch 'baserock/richardipsum/add-hosts-conf-ext-v3'Richard Ipsum2015-03-183-18/+87
|\ \ \ | | | | | | | | | | | | | | | | | | | | Reviewed by: Richard Maw <richard.maw@gmail.com> (+2) Pedro Alvarez <pedro.alvarez@codethink.co.uk> (v2) (+1)
| * | | Add hosts.configureRichard Ipsum2015-03-181-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | This adds a new config extension to allow deployments to write to /etc/hosts by adding HOSTS_x: </etc/hosts line> to a cluster morph in a similar manner to the fstab.configure extension.
| * | | Make fstab.configure use write_from_dictRichard Ipsum2015-03-181-18/+7
| | | |
| * | | Add write_from_dict to utilRichard Ipsum2015-03-181-0/+32
|/ / / | | | | | | | | | A function to read lines from a dictionary and append them to a file
* | | scripts/test-shell.c: Add missing license headerJavier Jardón2015-03-171-0/+15
| | | | | | | | | | | | Change-Id: I46ad9c15064de752e839611d2ce3ee016ec7cc46
* | | Fix line lengths in morphlib/exts/simple-network.configureAdam Coldrick2015-03-171-5/+9
|/ / | | | | | | | | | | | | | | Some lines were more than 79 characters long. This was causing ./check --full to fail on master of morph. This commit fixes the lines in question. Change-Id: I80969d2d89d3922e021b716c250796188d7a7f4c
* | Merge "Use python3 compatible notation for catching exceptions"Javier Jardón2015-03-1721-40/+40
|\ \
| * | Use python3 compatible notation for catching exceptionsJavier Jardón2015-03-1621-40/+40
| | | | | | | | | | | | Change-Id: Ibda7a938cd16e35517a531140f39ef4664d85c72
* | | Merge branch 'jjardon/simple-network-networkd2'Javier Jardón2015-03-161-11/+131
|\ \ \ | |/ / |/| | | | | | | | Reviewed-By: Richard Maw <richard.maw@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
| * | simple-network.configure: Rename networkd file generated by systemd chunkjjardon/simple-network-networkd2Javier Jardón2015-03-161-0/+29
| | | | | | | | | | | | | | | Rename instead removal in case the user is already using a 10-dhcp.network file
| * | simple-network.configure: Update documentationJavier Jardón2015-03-161-6/+9
| | |
| * | simple-network.configure: Generate default network config files in a functionJavier Jardón2015-03-161-6/+20
| | | | | | | | | | | | | | | | | | Use DHCP by defaul in the default interfaces: - for /etc/networ/interfaces: "lo:loopback;eth0:dhcp,hostname=$(hostname)" - for networkd: "e*:dhcp"
| * | simple-network.configure: process pairs of parameters in a functionJavier Jardón2015-03-161-0/+29
| | |
| * | simple-network.configure: Add function to convert mask to cidr suffixJavier Jardón2015-03-161-0/+7
| | | | | | | | | | | | 255.255.255.0 -> 24
| * | simple-network.configure: Generate networkd .network files as wellJavier Jardón2015-03-161-0/+33
| | |
| * | simple-network.configure: Move the generation of /etc/network/interfaces to ↵Javier Jardón2015-03-161-1/+6
| | | | | | | | | | | | a function
| * | Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-16234-664/+429
| | | | | | | | | | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
* | | Merge "Use the modern way of the GPL copyright header: URL instead real address"Javier Jardón2015-03-16234-664/+429
|\ \ \ | |/ / |/| |
| * | Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-16234-667/+432
| | | | | | | | | | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
* | | Fix call to status() in commit 364455436aded34ce6f843dfa68a32c14aaf01eaSam Thursfield2015-03-161-1/+2
| | | | | | | | | | | | I was meant to do this at merge time but didn't.
* | | Merge "Use python3 compatible notation for octal constants"Javier Jardón2015-03-165-10/+10
|\ \ \
| * | | Use python3 compatible notation for octal constantsJavier Jardón2015-03-135-10/+10
| | | | | | | | | | | | | | | | Change-Id: I771c3de9cecda7a503f4d36ae5d9fabc040892e4
* | | | Merge "print: use function instead the statement one"Javier Jardón2015-03-161-1/+2
|\ \ \ \ | |/ / /
| * | | print: use function instead the statement oneJavier Jardón2015-03-131-1/+2
| |/ / | | | | | | | | | Change-Id: I7c6f618d5d19e03d906798a6f799d74ac55b0d09
* | | Merge branch 'baserock/richardipsum/cache-exp'Sam Thursfield2015-03-161-19/+55
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk> Reviewed-By: Richard Maw <richard.maw@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
| * | Minimise repo cache fetchesRichard Ipsum2015-03-071-21/+49
| | | | | | | | | | | | | | | | | | | | | If we know the build system for a chunk is cached then we also know that it doesn't have a chunk morph, so we don't need to look for one. (We only cache the build systems of chunks that don't have chunk morphs)
| * | Fix bug in build system cache accessRichard Ipsum2015-03-071-3/+11
| |/ | | | | | | | | | | | | | | | | This fixes a bug that causes morph to run build system detection even though the build system has already been cached. The cache is accessed before the key has been computed (absref isn't known until after we've called resolve_ref) so it always misses.