Skip to content

Commit

Permalink
Get full sha for api repo in manifest file (istio#14939)
Browse files Browse the repository at this point in the history
  • Loading branch information
utka authored and istio-testing committed Jun 18, 2019
1 parent 4b91ab0 commit a8a573b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions release/gcb/generate_manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,19 @@ function create_manifest_check_consistency() {
echo "ISTIO_REPO_SHA:$ISTIO_REPO_SHA API_REPO_SHA:$API_REPO_SHA PROXY_REPO_SHA:$PROXY_REPO_SHA CNI_REPO_SHA:$CNI_REPO_SHA some shas not found"
exit 8
fi
popd
checkout_code "api" "${API_REPO_SHA}" .
pushd api || exit
API_SHA=$(git rev-parse "${API_REPO_SHA}")
popd
cat << EOF > "${MANIFEST_FILE}"
istio ${ISTIO_REPO_SHA}
proxy ${PROXY_REPO_SHA}
api ${API_REPO_SHA}
api ${API_SHA}
cni ${CNI_REPO_SHA}
tools ${TOOLS_HEAD_SHA}
EOF

popd

if [[ "${CB_VERIFY_CONSISTENCY}" == "true" ]]; then
# Consistency check not needed for CNI
Expand Down

0 comments on commit a8a573b

Please sign in to comment.