blob: 59ac0529f4607cb1951295294474bbdeac405522 [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#!/bin/bash
2#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8set -e
9
10source "$CI_ROOT/utils.sh"
11
12# Clone TF-A Tests repo from tf.org.
13if [ ! -d "tf-a-tests" ]; then
14 git clone --origin tforg $tftf_src_repo_url
15 cd tf-a-tests
16 git remote add arm $tftf_arm_gerrit_repo
17else
18 cd tf-a-tests
19fi
20
21# Get the latest updates from the master branch on tf.org.
22git remote update --prune
23git checkout master
24git merge --ff-only tforg/master
25
26# Push updates to Arm internal Gerrit.
27git push arm master