blob: c11f4cb995a8a1ce9c7a1e87203f0c28440c1611 [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
8 builders:
9 - shell: |-
Arthur She1deb2162023-08-03 10:09:55 -070010 #!/bin/bash
Arthur She26fa2a62023-07-31 10:49:28 -070011 echo "########################################################################"
12 echo " Gerrit Environment"
13 env |grep '^GERRIT'
14 echo "########################################################################"
Arthur She3ed22bd2023-08-03 11:02:04 -070015 mkdir -p ci
16 wget -q https://git.trustedfirmware.org/next/ci/tf-ci-scripts.git/plain/ci/tf-sync-repos.sh -O ci/tf-sync-repos.sh
17 bash ci/tf-sync-repos.sh
Arthur She26fa2a62023-07-31 10:49:28 -070018 properties:
19 - build-discarder:
20 num-to-keep: 10
Arthur She26fa2a62023-07-31 10:49:28 -070021# publishers:
22# - email:
23# recipients: 'arthur.she@linaro.org'
24 triggers:
25 - gerrit:
26 server-name: review.trustedfirmware.org
Arthur She2bcccd72023-08-07 08:27:46 -070027 trigger-on:
28 - ref-updated-event
Arthur She162cd442024-01-04 21:43:15 -080029 - patchset-uploaded-event
Arthur She26fa2a62023-07-31 10:49:28 -070030 projects:
31 - project-compare-type: PLAIN
32 project-pattern: sandbox/arthur
33 branches:
34 - branch-compare-type: PLAIN
35 branch-pattern: master
Arthur She2bcccd72023-08-07 08:27:46 -070036 - branch-compare-type: PLAIN
Arthur Shebd986992024-01-02 20:25:48 -080037 branch-pattern: branch-1
Arthur Shee3251552024-01-04 21:31:10 -080038# Trigger on tag creatation
Arthur She36b9d362024-01-03 21:13:42 -080039 - branch-compare-type: REG_EXP
40 branch-pattern: refs/tags/tag-.*
Arthur She2bcccd72023-08-07 08:27:46 -070041 silent-start: true
Arthur Shee3251552024-01-04 21:31:10 -080042 skip-vote:
43 successful: true
44 failed: true
45 unstable: true
46 notbuilt: true
47 aborted: true
Arthur She26fa2a62023-07-31 10:49:28 -070048 wrappers:
49 - credentials-binding:
50 - text:
51 credential-id: openci-bot-github-token
52 variable: AUTH_TOKEN
Arthur Shea64e82f2024-01-07 13:48:19 -080053 - text:
54 credential-id: Trusted_Firmware_ReadTheDocs_Token
55 variable: RTD_TOKEN
56