File tree Expand file tree Collapse file tree 3 files changed +5
-17
lines changed
ci/images/ci-runner/hack/bin Expand file tree Collapse file tree 3 files changed +5
-17
lines changed Original file line number Diff line number Diff line change 1616 workspaces :
1717 - name : source
1818 - name : tekton-results-source
19- - name : kubeconfig-dir
2019 - name : shared-workspace
2120 tasks :
2221 - name : generate-cluster-name
Original file line number Diff line number Diff line change 3636 for service_account in "${service_accounts[@]}"; do
3737 kubectl create token "$service_account" > "${SA_TOKEN_PATH}"/"$service_account"
3838 done
39- RESULT_ROUTE=$(kubectl get route tekton-results -n tekton-results --template='{{.spec.host}}')
40- cat <<EOF > patch-test-config.patch
41- diff --git a/test/e2e/grpc_client.go b/test/e2e/grpc_client.go
42- --- a/test/e2e/grpc_client.go
43- +++ b/test/e2e/grpc_client.go
44- @@ -36,4 +36,4 @@ const (
45- certFile = "tekton-results-cert.pem"
46- - apiServerName = "tekton-results-api-service.tekton-pipelines.svc.cluster.local"
47- - apiServerAddress = "localhost:50051"
48- + apiServerName = "tekton-results-api-service.tekton-results.svc.cluster.local"
49- + apiServerAddress = "$RESULT_ROUTE"
50- defCertFolder = "/tmp/tekton-results/ssl"
51-
52- EOF
53- git apply patch-test-config.patch
39+ export API_SERVER_NAME="tekton-results-api-service.tekton-results.svc.cluster.local"
40+ export API_SERVER_ADDR="https://$(kubectl get route tekton-results -n tekton-results --template='{{.spec.host}}'):443"
41+ echo $API_SERVER_ADDR
5442 export CGO_ENABLED=0
55- go test -v -count=1 --tags=e2e ./test/e2e/...
43+ go test -v -count=1 --tags=e2e $(go list --tags=e2e ./test/e2e/... | grep -v /client)
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ deploy_cluster() {
9393 exit 1
9494 fi
9595 check_clusteroperators
96+ oc annotate ingresses.config/cluster ingress.operator.openshift.io/default-enable-http2=true
9697}
9798
9899deploy_cluster
You can’t perform that action at this time.
0 commit comments