1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-24 06:15:46 +00:00

Use the proper path for the last release.yaml

previous link https://storage.googleapis.com/tekton-releases/latest/release.yaml would install 0.10.0
This commit is contained in:
Chmouel Boudjnah 2020-09-01 15:57:59 +02:00 committed by tekton-robot
parent 58900d2a75
commit 9aa07d4adf

View File

@ -43,7 +43,7 @@ function install_pipeline_crd() {
if [[ -n ${RELEASE_YAML} ]];then
latestreleaseyaml=${RELEASE_YAML}
else
latestreleaseyaml="https://storage.googleapis.com/tekton-releases/latest/release.yaml"
latestreleaseyaml="https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml"
fi
[[ -z ${latestreleaseyaml} ]] && fail_test "Could not get latest released release.yaml"
kubectl apply -f ${latestreleaseyaml} ||
@ -149,7 +149,7 @@ function test_task_creation() {
reason=$(kubectl get -n ${tns} pipelinerun --output=jsonpath='{.items[*].status.conditions[*].reason}')
[[ ! -z ${all_status} ]] && [[ ! -z ${reason} ]] && break
done
if [[ -z ${all_status} && -z ${reason} ]];then
for _ in {1..5}; do
all_status=$(kubectl get -n ${tns} taskrun --output=jsonpath='{.items[*].status.conditions[*].status}')