summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-01-07 17:06:37 (GMT)
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-01-07 17:23:37 (GMT)
commit9a5a7f764bea36997fa5c9fdbbba9f80a3c88939 (patch)
tree31bb97118768c553df17a860b3dc1c9f5e717a16
parentbb1fbf0c117a036fafd76e55a85488b6f79fb5c2 (diff)
downloaddefinitions-9a5a7f764bea36997fa5c9fdbbba9f80a3c88939.tar.gz
Add a stratum for the tests used by Mason
-rw-r--r--strata/baserock-ci-tests.morph14
-rw-r--r--strata/baserock-ci-tests/system-tests.morph5
-rw-r--r--strata/zuul-ci.morph6
3 files changed, 19 insertions, 6 deletions
diff --git a/strata/baserock-ci-tests.morph b/strata/baserock-ci-tests.morph
new file mode 100644
index 0000000..3e360e9
--- /dev/null
+++ b/strata/baserock-ci-tests.morph
@@ -0,0 +1,14 @@
+name: baserock-ci-tests
+kind: stratum
+description: |
+ This stratum contains chunks which provide tests to be run by the
+ Baserock CI Pipeline (Mason).
+build-depends:
+- morph: strata/morph-utils.morph
+chunks:
+- name: system-tests
+ morph: strata/baserock-ci-tests/system-tests.morph
+ repo: baserock:baserock/system-tests
+ ref: fe366446a5a7a510d0a727f0eb1d3e4596856c73
+ unpetrify-ref: baserock/adamcoldrick/mason-tests-v2
+ build-depends: []
diff --git a/strata/baserock-ci-tests/system-tests.morph b/strata/baserock-ci-tests/system-tests.morph
new file mode 100644
index 0000000..2f356e1
--- /dev/null
+++ b/strata/baserock-ci-tests/system-tests.morph
@@ -0,0 +1,5 @@
+name: system-tests
+kind: chunk
+install-commands:
+- mkdir -p "$DESTDIR$PREFIX"/share/system-tests
+- cp -a mason "$DESTDIR$PREFIX"/share/system-tests/mason
diff --git a/strata/zuul-ci.morph b/strata/zuul-ci.morph
index c16d102..380848a 100644
--- a/strata/zuul-ci.morph
+++ b/strata/zuul-ci.morph
@@ -135,9 +135,3 @@ chunks:
- python-daemon
- extras
- gitpython
-- name: system-tests
- morph: strata/zuul-ci/system-tests.morph
- repo: baserock:baserock/system-tests
- ref: 0428545d40be30b45698467b88ed1f8da68f8839
- unpetrify-ref: baserock/adamcoldrick/mason-tests
- build-depends: []