blob: 20a8872ce6c7d8fe3ec8170f300d8843e410d0e0 [file] [log] [blame]
Arthur She26fa2a62023-07-31 10:49:28 -07001- job:
Arthur She7376bec2024-01-03 20:42:41 -08002 name: arthur-tf-sync-repos
Arthur She26fa2a62023-07-31 10:49:28 -07003 node: master
4 project-type: freestyle
5 concurrent: false
Arthur She1deb2162023-08-03 10:09:55 -07006 description: Mirror TF-M, TF-A, TS, and Hafnium projects into GitHub
Arthur She26fa2a62023-07-31 10:49:28 -07007 disabled: false
Arthur Sheb3d21672024-12-23 18:03:27 -08008 parameters:
9 - string:
10 name: GERRIT_PROJECT
11 default: ''
12 description: "Gerrit project"
13 - string:
14 name: GERRIT_REFNAME
15 default: ''
16 description: "Project branch"
Arthur She26fa2a62023-07-31 10:49:28 -070017 builders:
18 - shell: |-
Arthur She1deb2162023-08-03 10:09:55 -070019 #!/bin/bash
Arthur She26fa2a62023-07-31 10:49:28 -070020 echo "########################################################################"
21 echo " Gerrit Environment"
22 env |grep '^GERRIT'
23 echo "########################################################################"
Arthur Shee7cf06c2024-05-28 13:50:29 -070024
25 - shell:
26 !include-raw: ci/tf-sync-repos.sh
Arthur She26fa2a62023-07-31 10:49:28 -070027 properties:
28 - build-discarder:
Arthur Shee7cf06c2024-05-28 13:50:29 -070029 num-to-keep: 30
Arthur She26fa2a62023-07-31 10:49:28 -070030# publishers:
31# - email:
32# recipients: 'arthur.she@linaro.org'
33 triggers:
34 - gerrit:
35 server-name: review.trustedfirmware.org
Arthur She2bcccd72023-08-07 08:27:46 -070036 trigger-on:
37 - ref-updated-event
Arthur She162cd442024-01-04 21:43:15 -080038 - patchset-uploaded-event
Arthur She26fa2a62023-07-31 10:49:28 -070039 projects:
40 - project-compare-type: PLAIN
41 project-pattern: sandbox/arthur
42 branches:
43 - branch-compare-type: PLAIN
44 branch-pattern: master
Arthur She2bcccd72023-08-07 08:27:46 -070045 - branch-compare-type: PLAIN
Arthur Shebd986992024-01-02 20:25:48 -080046 branch-pattern: branch-1
Arthur Sheb3d21672024-12-23 18:03:27 -080047 - branch-compare-type: REG_EXP
48 branch-pattern: lts-v.*
Arthur Shee3251552024-01-04 21:31:10 -080049# Trigger on tag creatation
Arthur She36b9d362024-01-03 21:13:42 -080050 - branch-compare-type: REG_EXP
Arthur She631db552024-05-28 15:17:34 -070051 branch-pattern: refs/tags/.*
Arthur She2bcccd72023-08-07 08:27:46 -070052 silent-start: true
Arthur Shee3251552024-01-04 21:31:10 -080053 skip-vote:
54 successful: true
55 failed: true
56 unstable: true
57 notbuilt: true
58 aborted: true
Arthur She26fa2a62023-07-31 10:49:28 -070059 wrappers:
60 - credentials-binding:
61 - text:
62 credential-id: openci-bot-github-token
63 variable: AUTH_TOKEN
Arthur Shea64e82f2024-01-07 13:48:19 -080064 - text:
65 credential-id: Trusted_Firmware_ReadTheDocs_Token
66 variable: RTD_TOKEN
67