Merge lp:~pfalcon/linaro-aws-tools/persistent-oe-ami into lp:linaro-aws-tools

Proposed by Paul Sokolovsky
Status: Merged
Merged at revision: 129
Proposed branch: lp:~pfalcon/linaro-aws-tools/persistent-oe-ami
Merge into: lp:linaro-aws-tools
Diff against target: 27 lines (+23/-0)
1 file modified
linaro-ami/create-oe-persistent-ami.sh (+23/-0)
To merge this branch: bzr merge lp:~pfalcon/linaro-aws-tools/persistent-oe-ami
Reviewer Review Type Date Requested Status
Данило Шеган (community) Approve
Linaro AWS developers Pending
Review via email: mp+148204@code.launchpad.net

Description of the change

Script for creating AMI for persistent OE slaves. Per reasons discussed in mail (proof of concept, needs more testing/thinking), this goes as separate script for now.

To post a comment you must log in.
Revision history for this message
Данило Шеган (danilo) wrote :

Looks good, thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'linaro-ami/create-oe-persistent-ami.sh'
2--- linaro-ami/create-oe-persistent-ami.sh 1970-01-01 00:00:00 +0000
3+++ linaro-ami/create-oe-persistent-ami.sh 2013-02-13 14:39:22 +0000
4@@ -0,0 +1,23 @@
5+#!/bin/sh
6+#
7+# This script creates variant of ci-precise-64bit AMI
8+# with extra persistent EBS volome, intended for usage
9+# for OpenEmbedeed persistent builds slaves.
10+#
11+# If you create new version of ci-precise-64bit, lookup
12+# (via EC2 web console or otherwise) its latest settings
13+# and update CI_PRECISE_64BIT_* variables below.
14+#
15+# TODO: Implement this in linaro-ami tool.
16+#
17+
18+CI_PRECISE_64BIT_ROOT_SNAPSHOT=snap-c4992284
19+CI_PRECISE_64BIT_KERNEL=aki-825ea7eb
20+
21+PERSISTENT_VOL_SIZE=32 # in GB
22+
23+ec2-register -n ci-precise-64bit-persistent \
24+ --architecture x86_64 \
25+ --kernel $CI_PRECISE_64BIT_KERNEL \
26+ -s $CI_PRECISE_64BIT_ROOT_SNAPSHOT \
27+ -b /dev/sdb=:$PERSISTENT_VOL_SIZE

Subscribers

People subscribed via source and target branches