Skip to content

Commit

Permalink
Configure pipeline v0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
navidshaikh committed Apr 14, 2020
1 parent 21531fe commit 5d3daf9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/tekton-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@ export PATH=$PATH:${REPO_ROOT_DIR}
# Script entry point.
initialize $@

export TEKTON_VERSION=${TEKTON_VERSION:-v0.9.2}
export TEKTON_VERSION=${TEKTON_VERSION:-v0.11.1}
export KN_E2E_NAMESPACE=tkn-kn

header "Running integration tests for Tekton"

subheader "Installing Tekton Pipelines ${TEKTON_VERSION}"
# Install Tekton if not already installed
if [[ $(kubectl api-resources | grep -c tekton.dev) -eq 0 ]]; then
kubectl apply -f https://github.com/tektoncd/pipeline/releases/download/${TEKTON_VERSION}/release.yaml
fi

subheader "Configuring docker and registry"
if (( IS_PROW )); then
# Configure Docker so that we can create a secret for GCR
gcloud auth configure-docker
Expand All @@ -53,6 +55,7 @@ for file in kn-deployer-rbac kn-pipeline-resource; do
-e "s#\${CONTAINER_REGISTRY}#${CONTAINER_REGISTRY}#" ${resource_dir}/${file}-template.yaml > ${resource_dir}/${file}.yaml
done

subheader "Running test pipeline"
go_test_e2e -timeout=30m -tags=tekton ./test/e2e || fail_test

success

0 comments on commit 5d3daf9

Please sign in to comment.