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

Bump tektoncd/plumbing to avoid CI failures

E2E tests are failing for the reason

```
ERROR: (gcloud.beta.container.clusters.create) ResponseError: code=400,
message=Creation of node pools using node images based on Docker
container runtimes is not supported in GKE v1.23. This is to prepare
for the removal of Dockershim in Kubernetes v1.24. We recommend that
you migrate to image types based on Containerd (examples). For more
information, contact Cloud Support.
```

The changes have been made in plumbing directory to fix the same, hence
bumping.

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
This commit is contained in:
vinamra28 2022-11-03 18:47:19 +05:30 committed by tekton-robot
parent 962f900535
commit 1de6282907
7 changed files with 1114 additions and 20 deletions

2
go.mod
View File

@ -2,4 +2,4 @@ module github.com/tektoncd/catalog
go 1.13
require github.com/tektoncd/plumbing v0.0.0-20210514044347-f8a9689d5bd5
require github.com/tektoncd/plumbing v0.0.0-20221102182345-5dbcfda657d7

1107
go.sum

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -eu -o pipefail
declare TEKTON_PROJECT TEKTON_VERSION RELEASE_BUCKET_OPT RELEASE_EXTRA_PATH RELEASE_FILE POST_RELEASE_FILE
@ -50,6 +50,9 @@ while getopts ":p:v:b:e:f:g:c:r:" opt; do
esac
done
shift $((OPTIND -1))
RELEASE_FILE=${RELEASE_FILE:-""}
POST_RELEASE_FILE=${POST_RELEASE_FILE:-""}
RELEASE_EXTRA_PATH=${RELEASE_EXTRA_PATH:-""}
# Check and defaults input params
if [ -z "$TEKTON_PROJECT" ]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2019 The Tekton Authors
#
@ -258,7 +258,7 @@ function create_test_cluster_with_retries() {
# Exit if test succeeded
[[ "$(get_test_return_code)" == "0" ]] && return
# If test failed not because of cluster creation stockout, return
[[ -z "$(grep -Eio 'does not have enough resources to fulfill the request' ${cluster_creation_log})" ]] && return
[[ -z "$(grep -Eio 'does not have enough resources available' ${cluster_creation_log})" ]] && return
done
done
}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2018 The Tekton Authors
#
@ -20,7 +20,7 @@
# Default GKE version to be used with Tekton Serving
readonly SERVING_GKE_VERSION=gke-channel-regular
readonly SERVING_GKE_IMAGE=cos
readonly SERVING_GKE_IMAGE=cos_containerd
# Conveniently set GOPATH if unset
if [[ -z "${GOPATH:-}" ]]; then
@ -256,7 +256,7 @@ function report_go_test() {
echo "Finished run, return code is ${failed}"
# Install go-junit-report if necessary.
run_go_tool github.com/jstemmer/go-junit-report go-junit-report --help > /dev/null 2>&1
local xml=$(mktemp ${ARTIFACTS}/junit_XXXXXXXX.xml)
local xml="$(mktemp ${ARTIFACTS}/junit_XXXXXXXX).xml"
cat "${report}" \
| go-junit-report \
| sed -e "s#\"github.com/tektoncd/${REPO_NAME}/#\"#g" \

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2018 The Tekton Authors
#
@ -53,7 +53,7 @@ GOFLAGS=${GOFLAGS:-}
# Returns true if PR only contains the given file regexes.
# Parameters: $1 - file regexes, space separated.
function pr_only_contains() {
[[ -z "$(cat \"${CHANGED_FILES}\" | grep -v \"\(${1// /\\|}\)$\")" ]]
[[ -z "$(cat ${CHANGED_FILES} | grep -v \"\(${1// /\\|}\)$\")" ]]
}
# List changed files in the current PR.
@ -77,8 +77,8 @@ function initialize_environment() {
WORK_DIR=$(mktemp -d)
CHANGED_FILES="$(list_changed_files)"
if [[ -n "$(cat \"${CHANGED_FILES}\")" ]]; then
echo -e "Changed files in commit ${PULL_PULL_SHA}:\n$(cat \"${CHANGED_FILES}\")"
if [[ -n "$(cat ${CHANGED_FILES})" ]]; then
echo -e "Changed files in commit ${PULL_PULL_SHA}:\n$(cat ${CHANGED_FILES})"
local no_presubmit_files="${NO_PRESUBMIT_FILES[*]}"
pr_only_contains "${no_presubmit_files}" && IS_PRESUBMIT_EXEMPT_PR=1
pr_only_contains "\.md ${no_presubmit_files}" && IS_DOCUMENTATION_PR=1

2
vendor/modules.txt vendored
View File

@ -1,2 +1,2 @@
# github.com/tektoncd/plumbing v0.0.0-20210514044347-f8a9689d5bd5
# github.com/tektoncd/plumbing v0.0.0-20221102182345-5dbcfda657d7
github.com/tektoncd/plumbing/scripts