diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2014-06-24 17:02:25 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2015-03-09 16:03:11 +0000 |
commit | 2a0fc3a7b3ed346c9950dae7abc384d4d886a78e (patch) | |
tree | 308469a8c93e28a70bc705c1424254750e15720a | |
parent | 3102378798ac9c145b64bb003857333c2d31915c (diff) |
ubuntu/devel-bootstrap.yaml: a simple bootstrap
This provides a simple bootstrap mechanism for setting up a developer
happy box. It's intended to be run before a hacking session so things
are set-up to the developers liking.
Change-Id: Icd22dd5ff4fa33bb1d38a85f1e24a75dc3340215
---
v2:
- add EXTRA_PKGS and BUILD_DEPS
- use ${HOME}
v3:
- add EXTRA_FILES
-rw-r--r-- | ubuntu/devel-bootstrap.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ubuntu/devel-bootstrap.yaml b/ubuntu/devel-bootstrap.yaml new file mode 100644 index 0000000..cea7436 --- /dev/null +++ b/ubuntu/devel-bootstrap.yaml @@ -0,0 +1,40 @@ +metadata: + name: devel-bootstrap + format: "Lava-Test-Shell Test Definition 1.0" + description: "Setup a developer environment under Ubuntu" + maintainer: + - alex.bennee@linaro.org + os: + - ubuntu + scope: + - functional + devices: + - kvm + - x86 + - mustang + +params: + BOOTSTRAP: https://raw.github.com/stsquad/dotfiles/master/bootstrap.sh + EXTRA_PKGS: "language-pack-en-base" + BUILD_DEPS: "base-files" + EXTRA_FILES: "http://people.linaro.org/~alex.bennee/images/aarch64-linux-buildroot.img" + +install: + steps: + - cd ${HOME} + - wget -O - ${BOOTSTRAP} | bash + - wget ${EXTRA_FILES} + + deps: + - git-core + - wget + - emacs + - tmux + +run: + steps: + - cd ${HOME} + - lava-test-case extra-pkgs-installed --shell apt-get -y --force-yes install ${EXTRA_PKGS} + - lava-test-case build-deps-installed --shell apt-get -y --force-yes build-dep ${BUILD_DEPS} + - lava-test-case dotfiles-installed --shell test -e ${HOME}/mysrc/dotfiles.git + - lava-test-case elisp-installed --shell test -e ${HOME}/mysrc/elisp.git |