Lines Matching +full:openbmc +full:- +full:test +full:- +full:automation
1 #!/bin/bash -xe
4 # This script is responsible for setting up a openbmc/openbmc build
5 # environment for a meta-* repository.
8 # WORKSPACE: Directory which contains the extracted meta-*
9 # layer test is running against
10 # GERRIT_PROJECT: openbmc/meta-* layer under test (i.e. openbmc/meta-phosphor)
11 # GERRIT_BRANCH: Branch under test (default is master)
16 GERRIT_BRANCH=${GERRIT_BRANCH:-"master"}
19 # TODO - Need test repo to branch
20 # git clone https://github.com/openbmc/openbmc-test-automation.git --branch ${GERRIT_BRANCH} --sing…
21 git clone https://github.com/openbmc/openbmc-test-automation.git --branch master --single-branch
26 # Move the extracted meta layer to a dir based on it's meta-* name
29 # Remove openbmc dir in prep for full repo clone
30 rm -rf openbmc
32 # Clone openbmc/openbmc
33 git clone https://github.com/openbmc/openbmc.git --branch "${GERRIT_BRANCH}" --single-branch
35 # Make sure meta-* directory is there
36 mkdir -p ./openbmc/"$META_REPO"/
39 rm -rf ./openbmc/"$META_REPO"/*
42 cp -Rf "$META_REPO"/* ./openbmc/"$META_REPO"/
45 cd openbmc
46 git add -A && git commit --allow-empty -m "Dummy commit to cause code update"