summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-05-08 12:09:46 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-05-15 15:50:45 +0000
commit3c19bd36289a21d83a80c26f28a9fddbdb49e419 (patch)
treee16f48d6021c70e12d2e9d08a8bff90ebd246f3d
parentd03bfc7a2bcdc6273bb2e6872e9b0c5309674d8e (diff)
downloaddefinitions-3c19bd36289a21d83a80c26f28a9fddbdb49e419.tar.gz
Add system and cluster for GitLab CI Runners
-rw-r--r--gitlab-ci-runner-cluster.morph16
-rw-r--r--gitlab-ci-runner.morph31
2 files changed, 47 insertions, 0 deletions
diff --git a/gitlab-ci-runner-cluster.morph b/gitlab-ci-runner-cluster.morph
new file mode 100644
index 00000000..fe6e3451
--- /dev/null
+++ b/gitlab-ci-runner-cluster.morph
@@ -0,0 +1,16 @@
+kind: cluster
+name: gitlab-ci-runner-cluster
+systems:
+- morph: gitlab-ci-runner
+ deploy-defaults:
+ AUTOSTART: no
+ DISK_SIZE: 6G
+ RAM_SIZE: 3G
+ VCPUS: 2
+ VERSION_LABEL: factory
+ deploy:
+ gitlab-ci-runner:
+ type: kvm
+ location: kvm+ssh://USER@HOST/gitlab-ci-runner/home/USER/gitlab-ci-runner.img
+ HOSTNAME: gitlab-ci-runner
+ INSTALL_FILES: gitlab-ci-runner/manifest
diff --git a/gitlab-ci-runner.morph b/gitlab-ci-runner.morph
new file mode 100644
index 00000000..e19f55b4
--- /dev/null
+++ b/gitlab-ci-runner.morph
@@ -0,0 +1,31 @@
+arch: x86_64
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+description: A system to run build tests as part of GitLab CI
+ architecture.
+kind: system
+name: gitlab-ci-runner
+strata:
+- morph: build-essential
+- morph: core
+- morph: foundation
+- morph: genivi-foundation
+- morph: bsp-x86_64-generic
+- morph: connectivity
+- morph: audio-bluetooth
+- morph: x-common
+- morph: x-x86_64-generic
+- morph: multimedia
+- morph: genivi
+- morph: genivi-x-x86_64-generic
+- morph: tools
+- morph: virtualization
+- morph: glanceclient
+- morph: databases
+- morph: webtools
+- morph: ruby
+- morph: nfs