mirror of https://github.com/knative/client.git
Fix Serving & Eventing version fetch in e2e tests (#1625)
This commit is contained in:
parent
736301231e
commit
a591c0c027
|
|
@ -17,7 +17,7 @@
|
|||
# This script is used in Knative/test-infra as a custom prow job to run the
|
||||
# integration tests against Knative Serving / Eventing of a specific version.
|
||||
|
||||
export KNATIVE_SERVING_VERSION="`git ls-remote --heads git@github.com:knative/serving.git | grep release- | cut -d '-' -f2 | sort -r | head -n 1`"
|
||||
export KNATIVE_EVENTING_VERSION="`git ls-remote --heads git@github.com:knative/eventing.git | grep release- | cut -d '-' -f2 | sort -r | head -n 1`"
|
||||
export KNATIVE_SERVING_VERSION="`git ls-remote --tags --ref https://github.com/knative/serving.git | cut -d '-' -f2 | cut -d 'v' -f2 | sort -Vr | head -n 1`"
|
||||
export KNATIVE_EVENTING_VERSION="`git ls-remote --tags --ref https://github.com/knative/eventing.git | cut -d '-' -f2 | cut -d 'v' -f2 | sort -Vr | head -n 1`"
|
||||
|
||||
$(dirname $0)/presubmit-tests.sh --integration-tests
|
||||
|
|
|
|||
Loading…
Reference in New Issue