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