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-14 15:39:54 +0000
commit352ed64bc96458e9eac46280c5a1e5d7ecbdbf67 (patch)
treece4f4a38f74df3fed29e50f41686519ad4a4cb87
parent055946c4f677b88882d75d81d4e79e6b8d549cce (diff)
downloaddefinitions-352ed64bc96458e9eac46280c5a1e5d7ecbdbf67.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