mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-21 05:55:35 +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:
parent
962f900535
commit
1de6282907
2
go.mod
2
go.mod
@ -2,4 +2,4 @@ module github.com/tektoncd/catalog
|
|||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
require github.com/tektoncd/plumbing v0.0.0-20210514044347-f8a9689d5bd5
|
require github.com/tektoncd/plumbing v0.0.0-20221102182345-5dbcfda657d7
|
||||||
|
5
vendor/github.com/tektoncd/plumbing/scripts/deploy-release.sh
generated
vendored
5
vendor/github.com/tektoncd/plumbing/scripts/deploy-release.sh
generated
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
declare TEKTON_PROJECT TEKTON_VERSION RELEASE_BUCKET_OPT RELEASE_EXTRA_PATH RELEASE_FILE POST_RELEASE_FILE
|
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
|
esac
|
||||||
done
|
done
|
||||||
shift $((OPTIND -1))
|
shift $((OPTIND -1))
|
||||||
|
RELEASE_FILE=${RELEASE_FILE:-""}
|
||||||
|
POST_RELEASE_FILE=${POST_RELEASE_FILE:-""}
|
||||||
|
RELEASE_EXTRA_PATH=${RELEASE_EXTRA_PATH:-""}
|
||||||
|
|
||||||
# Check and defaults input params
|
# Check and defaults input params
|
||||||
if [ -z "$TEKTON_PROJECT" ]; then
|
if [ -z "$TEKTON_PROJECT" ]; then
|
||||||
|
4
vendor/github.com/tektoncd/plumbing/scripts/e2e-tests.sh
generated
vendored
4
vendor/github.com/tektoncd/plumbing/scripts/e2e-tests.sh
generated
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright 2019 The Tekton Authors
|
# Copyright 2019 The Tekton Authors
|
||||||
#
|
#
|
||||||
@ -258,7 +258,7 @@ function create_test_cluster_with_retries() {
|
|||||||
# Exit if test succeeded
|
# Exit if test succeeded
|
||||||
[[ "$(get_test_return_code)" == "0" ]] && return
|
[[ "$(get_test_return_code)" == "0" ]] && return
|
||||||
# If test failed not because of cluster creation stockout, 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
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
6
vendor/github.com/tektoncd/plumbing/scripts/library.sh
generated
vendored
6
vendor/github.com/tektoncd/plumbing/scripts/library.sh
generated
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright 2018 The Tekton Authors
|
# Copyright 2018 The Tekton Authors
|
||||||
#
|
#
|
||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# Default GKE version to be used with Tekton Serving
|
# Default GKE version to be used with Tekton Serving
|
||||||
readonly SERVING_GKE_VERSION=gke-channel-regular
|
readonly SERVING_GKE_VERSION=gke-channel-regular
|
||||||
readonly SERVING_GKE_IMAGE=cos
|
readonly SERVING_GKE_IMAGE=cos_containerd
|
||||||
|
|
||||||
# Conveniently set GOPATH if unset
|
# Conveniently set GOPATH if unset
|
||||||
if [[ -z "${GOPATH:-}" ]]; then
|
if [[ -z "${GOPATH:-}" ]]; then
|
||||||
@ -256,7 +256,7 @@ function report_go_test() {
|
|||||||
echo "Finished run, return code is ${failed}"
|
echo "Finished run, return code is ${failed}"
|
||||||
# Install go-junit-report if necessary.
|
# Install go-junit-report if necessary.
|
||||||
run_go_tool github.com/jstemmer/go-junit-report go-junit-report --help > /dev/null 2>&1
|
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}" \
|
cat "${report}" \
|
||||||
| go-junit-report \
|
| go-junit-report \
|
||||||
| sed -e "s#\"github.com/tektoncd/${REPO_NAME}/#\"#g" \
|
| sed -e "s#\"github.com/tektoncd/${REPO_NAME}/#\"#g" \
|
||||||
|
8
vendor/github.com/tektoncd/plumbing/scripts/presubmit-tests.sh
generated
vendored
8
vendor/github.com/tektoncd/plumbing/scripts/presubmit-tests.sh
generated
vendored
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Copyright 2018 The Tekton Authors
|
# Copyright 2018 The Tekton Authors
|
||||||
#
|
#
|
||||||
@ -53,7 +53,7 @@ GOFLAGS=${GOFLAGS:-}
|
|||||||
# Returns true if PR only contains the given file regexes.
|
# Returns true if PR only contains the given file regexes.
|
||||||
# Parameters: $1 - file regexes, space separated.
|
# Parameters: $1 - file regexes, space separated.
|
||||||
function pr_only_contains() {
|
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.
|
# List changed files in the current PR.
|
||||||
@ -77,8 +77,8 @@ function initialize_environment() {
|
|||||||
|
|
||||||
WORK_DIR=$(mktemp -d)
|
WORK_DIR=$(mktemp -d)
|
||||||
CHANGED_FILES="$(list_changed_files)"
|
CHANGED_FILES="$(list_changed_files)"
|
||||||
if [[ -n "$(cat \"${CHANGED_FILES}\")" ]]; then
|
if [[ -n "$(cat ${CHANGED_FILES})" ]]; then
|
||||||
echo -e "Changed files in commit ${PULL_PULL_SHA}:\n$(cat \"${CHANGED_FILES}\")"
|
echo -e "Changed files in commit ${PULL_PULL_SHA}:\n$(cat ${CHANGED_FILES})"
|
||||||
local no_presubmit_files="${NO_PRESUBMIT_FILES[*]}"
|
local no_presubmit_files="${NO_PRESUBMIT_FILES[*]}"
|
||||||
pr_only_contains "${no_presubmit_files}" && IS_PRESUBMIT_EXEMPT_PR=1
|
pr_only_contains "${no_presubmit_files}" && IS_PRESUBMIT_EXEMPT_PR=1
|
||||||
pr_only_contains "\.md ${no_presubmit_files}" && IS_DOCUMENTATION_PR=1
|
pr_only_contains "\.md ${no_presubmit_files}" && IS_DOCUMENTATION_PR=1
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -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
|
github.com/tektoncd/plumbing/scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user