blob: 09fad09896436e86f684110d1fe5ef29ed3b6940 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
- job:
name: odp-publish-gitstats
project-type: matrix
defaults: global
logrotate:
daysToKeep: 30
numToKeep: 30
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
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
- dpdk
# - ks2
- axis:
type: slave
name: label
values:
- docker-utopic
wrappers:
- timestamps
- matrix-tie-parent:
node: master
- timeout:
timeout: 60
builders:
- shell: |
#!/bin/bash
# Assume build-dependencies packages are installed
# build-essential git gitstats
set -ex
rm -rf odp
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo apt-get update
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
;;
dpdk)
git clone git://git.linaro.org/lng/odp-dpdk.git odp
;;
ks2)
git clone git://git.linaro.org/lng/odp-keystone2.git odp
;;
esac
mkdir odp/publishing
cd odp
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: 60
remove-prefix: 'odp/publishing'
always-publish-from-master: true
publishers:
- email:
recipients: 'lng-ci@lists.linaro.org'
|