@@ -45,7 +45,7 @@ function install_pipelines() {
45
45
echo " >> Deploying Tekton Pipelines ($version )"
46
46
kubectl apply --filename " https://github.com/tektoncd/pipeline/releases/download/$version /release.yaml" || fail_test " Tekton Pipelines installation failed"
47
47
48
- # Make sure thateveything is cleaned up in the current namespace.
48
+ # Make sure that everything is cleaned up in the current namespace.
49
49
for res in pipelineresources tasks pipelines taskruns pipelineruns; do
50
50
kubectl delete --ignore-not-found=true ${res} .tekton.dev --all
51
51
done
@@ -64,20 +64,6 @@ function install_triggers() {
64
64
wait_until_pods_running tekton-pipelines || fail_test " Tekton Triggers did not come up"
65
65
}
66
66
67
- function uninstall_pipelines() {
68
- local version=$1
69
-
70
- echo " >> Deleting Tekton Pipelines ($version )"
71
- kubectl delete --filename " https://github.com/tektoncd/pipeline/releases/download/$version /release.yaml" || fail_test " Tekton Pipelines deletion failed"
72
- }
73
-
74
- function uninstall_triggers() {
75
- local version=$1
76
-
77
- echo " >> Deleting Tekton Triggers ($version )"
78
- kubectl delete --filename " https://github.com/tektoncd/triggers/releases/download/$version /release.yaml" || fail_test " Tekton Triggers deletion failed"
79
- }
80
-
81
67
# Called by `fail_test` (provided by `e2e-tests.sh`) to dump info on test failure
82
68
function dump_extra_cluster_state() {
83
69
echo " >>> Pipeline controller log:"
@@ -147,7 +133,7 @@ function curl_envsubst_resource() {
147
133
exit 1
148
134
fi
149
135
set -x
150
- cat " $1 " | envsubst | curl -sS -X " $2 " --data-binary @- -H " Content-Type: application/yaml" " $3 " -H " Tekton-Client: tektoncd/dashboard"
136
+ cat " $1 " | envsubst | curl -sS -X " $2 " --data-binary @- -H " Content-Type: application/yaml" " $3 " -H " Tekton-Client: tektoncd/dashboard-e2e "
151
137
set +x
152
138
}
153
139
0 commit comments