blob: c7147318bcd188b059d03f2e373435067411ce81 [file] [log] [blame]
- job:
name: arthur-tf-sync-repos
node: master
project-type: freestyle
concurrent: false
description: Mirror TF-M, TF-A, TS, and Hafnium projects into GitHub
disabled: false
builders:
- shell: |-
#!/bin/bash
echo "########################################################################"
echo " Gerrit Environment"
env |grep '^GERRIT'
echo "########################################################################"
- shell:
!include-raw: ci/tf-sync-repos.sh
properties:
- build-discarder:
num-to-keep: 30
# publishers:
# - email:
# recipients: 'arthur.she@linaro.org'
triggers:
- gerrit:
server-name: review.trustedfirmware.org
trigger-on:
- ref-updated-event
- patchset-uploaded-event
projects:
- project-compare-type: PLAIN
project-pattern: sandbox/arthur
branches:
- branch-compare-type: PLAIN
branch-pattern: master
- branch-compare-type: PLAIN
branch-pattern: branch-1
# Trigger on tag creatation
- branch-compare-type: REG_EXP
branch-pattern: refs/tags/.*
silent-start: true
skip-vote:
successful: true
failed: true
unstable: true
notbuilt: true
aborted: true
wrappers:
- credentials-binding:
- text:
credential-id: openci-bot-github-token
variable: AUTH_TOKEN
- text:
credential-id: Trusted_Firmware_ReadTheDocs_Token
variable: RTD_TOKEN