From 352ed64bc96458e9eac46280c5a1e5d7ecbdbf67 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Thu, 8 May 2014 12:09:46 +0000 Subject: Add system and cluster for GitLab CI Runners --- gitlab-ci-runner-cluster.morph | 16 ++++++++++++++++ gitlab-ci-runner.morph | 31 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 gitlab-ci-runner-cluster.morph create mode 100644 gitlab-ci-runner.morph 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 -- cgit v1.2.1