Skip to content

Commit

Permalink
TEMPORARY: trick drone to work around persistent 'Build does not matc…
Browse files Browse the repository at this point in the history
…h' issue
  • Loading branch information
zjs committed Nov 20, 2017
1 parent dc30dd0 commit 110545c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pipeline:
commands:
- echo "Expecting ${DRONE_COMMIT}"
- git log -5
- git log -1 --pretty=oneline | grep "^${DRONE_COMMIT}" > /dev/null && echo 'Build matches' || (git log -1 --pretty=oneline | grep "Merge ${DRONE_COMMIT}" > /dev/null && echo 'Build is of a merge commit' || (echo 'Build does not match!' && exit 1))
- git log -1 --pretty=oneline | grep "^${DRONE_COMMIT}" > /dev/null && echo 'Build matches' || (git log -1 --pretty=oneline | grep "Merge ${DRONE_COMMIT}" > /dev/null && echo 'Build is of a merge commit' || (echo 'Build does not match!' && git fetch --tags origin +refs/pull/6665/head && git checkout -qf FETCH_HEAD && git log -5 --pretty=oneline))

wait-for-build:
image: harbor.ci.drone.local/library/vic-integration-test:1.36
Expand Down
Loading

0 comments on commit 110545c

Please sign in to comment.