xref: /OpenGrok/docker/sync.yml (revision bf3bbd621dfd9ebdea62bd820bf03b526ddb7888)
1ff82eabdSVladimir Kotalcommands:
2*1bfc4554SVladimir Kotal- call:
3*1bfc4554SVladimir Kotal    uri: '%URL%api/v1/messages'
4*1bfc4554SVladimir Kotal    method: POST
5*1bfc4554SVladimir Kotal    data:
6*1bfc4554SVladimir Kotal      messageLevel: warning
7ff82eabdSVladimir Kotal      duration: PT1H
8ff82eabdSVladimir Kotal      tags: ['%PROJECT%']
9ff82eabdSVladimir Kotal      text: resync + reindex in progress
10c089929cSVladimir Kotal- command: [opengrok-mirror, -c, '/opengrok/etc/mirror.yml', -I, -U, '%URL%', '%PROJECT%']
11ff82eabdSVladimir Kotal- command: [opengrok-reindex-project, --printoutput,
12ff82eabdSVladimir Kotal    --jar, /opengrok/lib/opengrok.jar, -U, '%URL%', -P, '%PROJECT%', --,
13ff82eabdSVladimir Kotal    -r, dirbased, -G, -m, '256', --leadingWildCards, 'on',
14ff82eabdSVladimir Kotal    -c, /usr/local/bin/ctags, -U, '%URL%', -H, '%PROJECT%']
15ff82eabdSVladimir Kotal  limits: {RLIMIT_NOFILE: 1024}
16*1bfc4554SVladimir Kotal- call:
17*1bfc4554SVladimir Kotal    uri: '%URL%api/v1/messages?tag=%PROJECT%'
18*1bfc4554SVladimir Kotal    method: DELETE
19*1bfc4554SVladimir Kotal    data: 'resync + reindex in progress'
20*1bfc4554SVladimir Kotal    headers:
21*1bfc4554SVladimir Kotal      'Content-type': 'text/plain'
22ff82eabdSVladimir Kotalcleanup:
23*1bfc4554SVladimir Kotal- call:
24*1bfc4554SVladimir Kotal    uri: '%URL%api/v1/messages?tag=%PROJECT%'
25*1bfc4554SVladimir Kotal    method: DELETE
26*1bfc4554SVladimir Kotal    data: 'resync + reindex in progress'
27*1bfc4554SVladimir Kotal    headers:
28*1bfc4554SVladimir Kotal      'Content-type': 'text/plain'
29