grim/convey

Add a traditional CI example. Fixes #90

2017-05-01, Gary Kramlich
2cdde0133992
Parents 69ba4b89c6d2
Children 1b9d4a44ccbd
Add a traditional CI example. Fixes #90
--- a/ChangeLog Mon May 01 21:27:07 2017 -0500
+++ b/ChangeLog Mon May 01 21:30:57 2017 -0500
@@ -1,6 +1,7 @@
0.6.0:
+ * Add an example showing a traditional CI build. (fixed #90)
* Fixed a bug where always edges weren't being rendered in the graphviz
- output. (fixes #86)
+ output. (fixed #86)
* Fixed always stages to have edges from all previous stages. (fixed #89)
0.5.0: 20170428
--- a/README.md Mon May 01 21:27:07 2017 -0500
+++ b/README.md Mon May 01 21:30:57 2017 -0500
@@ -85,6 +85,10 @@
This example shows how to use the script attribute of a run task.
+## traditional.yml
+
+This example shows your traditional clone, test, build, deploy, and report for a project.
+
----
# Configuration
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/traditional.yml Mon May 01 21:30:57 2017 -0500
@@ -0,0 +1,37 @@
+tasks:
+ clone-source:
+ image: rwgrim/docker-noop
+ run-linter:
+ image: rwgrim/docker-noop
+ run-tests:
+ image: rwgrim/docker-noop
+ build:
+ image: rwgrim/docker-noop
+ deploy-dev:
+ image: rwgrim/docker-noop
+ deploy-docs:
+ image: rwgrim/docker-noop
+ report-build-status:
+ image: rwgrim/docker-noop
+plans:
+ default:
+ stages:
+ - name: prepare
+ tasks:
+ - clone-source
+ - name: testing
+ tasks:
+ - run-linter
+ - run-tests
+ - name: build
+ tasks:
+ - build
+ - name: deploy
+ tasks:
+ - deploy-dev
+ - deploy-docs
+ concurrent: true
+ - name: report
+ tasks:
+ - report-build-status
+ always: true