浏览代码

Set git sha from parameter

Because we merge master into the branch before running tests, so the
actual git sha does not exist on any git remote.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Daniel Nephin 7 年之前
父节点
当前提交
b2faf24925
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      hack/ci/janky

+ 3 - 1
hack/ci/janky

@@ -4,7 +4,9 @@ set -eu -o pipefail
 
 hack/validate/default
 hack/test/unit
-bash <(curl -s https://codecov.io/bash) -f coverage.txt || \
+bash <(curl -s https://codecov.io/bash) \
+    -f coverage.txt \
+    -C $GIT_SHA1 || \
     echo 'Codecov failed to upload'
 
 hack/make.sh \