Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lmp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ if [[ $GIT_URL == *"/lmp-manifest.git"* ]]; then
manifest="file://$(pwd)/.git -b $GIT_SHA"
# repo init won't work off detached heads, so do this to work around:
git branch pr-branch $GIT_SHA
# fetch also the tags when we are in the CI
if [ -n "$GH_TARGET_REPO" ] && [ "$GH_TARGET_REPO" != "$GIT_URL" ]; then
git fetch "$GH_TARGET_REPO" --tags --quiet
fi
# Check to make sure REPO_INIT_OVERRIDES isn't setting a "-b <ref>".
# That will break our logic for checking out the exact GIT_SHA above
export REPO_INIT_OVERRIDES=$(echo $REPO_INIT_OVERRIDES | sed -e 's/-b\s*\S*//')
Expand Down
1 change: 0 additions & 1 deletion lmp/jobserv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -398,4 +398,3 @@ params:
script-repos:
fio:
clone-url: https://github.com/foundriesio/ci-scripts
git-ref: debug-branch
Loading