about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--example.yml53
-rw-r--r--scripts/build_rakudo_and_spectest.sh10
2 files changed, 63 insertions, 0 deletions
diff --git a/example.yml b/example.yml
new file mode 100644
index 0000000..fc3f72e
--- /dev/null
+++ b/example.yml
@@ -0,0 +1,53 @@
+layout: "main"
+logger: "file"
+appname: "jitterbug"
+
+builds_per_feed: 5
+template: "xslate"
+engines:
+  xslate:
+    path: /
+    type: text
+    cache: 0
+
+jitterbug:
+  reports:
+    dir: /tmp/jitterbug
+  build:
+    dir: /tmp/build
+  build_process:
+    builder: ./scripts/capsule.sh
+    builder_variables: ""
+    on_failure: "jitterbug::Emailer"
+    on_failure_to_email: jonathan@leto.net
+    on_failure_cc_email:
+    on_failure_from_email: jitterbug@leto.net
+    on_failure_subject_prefix: "[jitterbug] FAIL "
+    on_failure_header: "Jitterbug Web Interace : http://new.leto.net:3000\n%%PROJECT%% : http://new.leto.net:8090/project/%%PROJECT%%\nFailing Commit Diff: https://github.com/parrot/%%PROJECT%%/commit/%%SHA1%%\n\n%%SUMMARY%%\n\n"
+    on_failure_footer: "Sorry, but your Princess is in another castle!"
+    on_pass: "jitterbug::Emailer"
+    on_pass_to_email:
+    on_pass_cc_email: jonathan@leto.net
+    on_pass_subject_prefix: "[jitterbug] PASS "
+    on_pass_from_email: jitterbug@leto.net
+    on_pass_footer: "Amazingly, everything WORKED!"
+    on_pass_header: "Great job!"
+    reuse_repo:    1
+  options:
+    perlbrew: 1
+    email_on_pass: 0
+  branches:
+    parrot: master|smoke-me
+  projects:
+    rakudo:
+      builder: ./scripts/build_rakudo_and_spectest.sh
+
+plugins:
+  DBIC:
+    schema:
+      skip_automake: 1
+      pckg: "jitterbug::Schema"
+      connect_info:
+        - dbi:SQLite:dbname=jitterbug.db
+
+
diff --git a/scripts/build_rakudo_and_spectest.sh b/scripts/build_rakudo_and_spectest.sh
new file mode 100644
index 0000000..423b8b5
--- /dev/null
+++ b/scripts/build_rakudo_and_spectest.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# This serves as an example of a custom build script, which builds
+# Rakudo Perl 6 and times a spectest run
+
+make realclean
+perl Configure.pl --gen-parrot
+make
+make t/spec
+time make spectest