diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2015-03-12 22:49:54 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2015-03-13 13:56:30 +0100 |
commit | edef517d2003d3f654a4839f07c83bab1c93295d (patch) | |
tree | 626ca450722e4328512fdb2a4be8e58f115547c6 /odp-publish-gitstats.yaml | |
parent | 4e2b2abcb6ea381edf56b4a5d2370899143767d1 (diff) |
add odp-publish-gitstats.yaml
Change-Id: Ic2b5046c60b023c69d2b0084f93377aa15364a34
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-publish-gitstats.yaml')
-rw-r--r-- | odp-publish-gitstats.yaml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/odp-publish-gitstats.yaml b/odp-publish-gitstats.yaml new file mode 100644 index 0000000000..62e002fe62 --- /dev/null +++ b/odp-publish-gitstats.yaml @@ -0,0 +1,75 @@ +- job: + name: odp-publish-gitstats + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + linaro: + - job-read + - job-extended-read + - job-build + - job-cancel + disabled: false + node: master + child-workspace: . + display-name: 'ODP publish gitstats' + triggers: + - timed: '@daily' + axes: + - axis: + type: user-defined + name: platform_type + values: + - generic + - netmap + - axis: + type: slave + name: label + values: + - docker-utopic + wrappers: + - timestamps + - matrix-tie-parent: + node: master + builders: + - shell: | + #!/bin/bash + # Assume build-dependencies packages are installed + # build-essential git gitstats + + set -ex + + rm -rf odp + + sudo apt-get install -y --no-install-recommends gitstats + + case "${platform_type}" in + generic) + git clone git://git.linaro.org/lng/odp.git + ;; + netmap) + git clone git://git.linaro.org/lng/odp-netmap.git odp + ;; + esac + cd odp + + mkdir publishing + gitstats -c max_authors=50 -c merge_authors="mike-holmes,Mike Holmes" -c merge_authors="santosh shukla,Santosh Shukla" -c merge_authors="Yan Sonming,Yan Songming" -c merge_authors="venkatesh vivekanandan,Venkatesh Vivekanandan" . ./publishing/linux-${platform_type}-gitstats + + - ssh: + site: 'docs.opendataplane.org' + target: '' + source: 'odp/publishing/**' + timeout: 120000 + remove-prefix: 'odp/publishing' + always-publish-from-master: true + publishers: + - email: + recipients: 'anders.roxell@linaro.org' |