From 958a75513d99158b63dffbb1cacbf1f53fe7c8d7 Mon Sep 17 00:00:00 2001 From: David Simansky Date: Mon, 15 Nov 2021 12:16:51 +0100 Subject: [PATCH] [release-v0.26.1] Fix grpc-ping image ref (#873) * [release-v0.26.1] Fix grpc-ping image ref * Fix Makefile to build grpc-ping from vendor --- Makefile | 2 +- test/test_images/grpc-ping | 1 - test/test_images/grpc-ping/release.yaml | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) delete mode 120000 test/test_images/grpc-ping create mode 100644 test/test_images/grpc-ping/release.yaml diff --git a/Makefile b/Makefile index 8e6c212e8a..b90993ca09 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ CGO_ENABLED=0 GOOS=linux -TEST_IMAGES=$(shell find -L ./test/test_images ./vendor/knative.dev/serving/test/test_images/multicontainer -mindepth 1 -maxdepth 2 -type f -name "*.go" -exec dirname {} \;) +TEST_IMAGES=$(shell find -L ./test/test_images ./vendor/knative.dev/serving/test/test_images/grpc-ping ./vendor/knative.dev/serving/test/test_images/multicontainer -mindepth 1 -maxdepth 2 -type f -name "*.go" -exec dirname {} \;) TEST= DOCKER_REPO_OVERRIDE= diff --git a/test/test_images/grpc-ping b/test/test_images/grpc-ping deleted file mode 120000 index e975c5103a..0000000000 --- a/test/test_images/grpc-ping +++ /dev/null @@ -1 +0,0 @@ -./../../vendor/knative.dev/serving/test/test_images/grpc-ping \ No newline at end of file diff --git a/test/test_images/grpc-ping/release.yaml b/test/test_images/grpc-ping/release.yaml new file mode 100644 index 0000000000..754acb0e5e --- /dev/null +++ b/test/test_images/grpc-ping/release.yaml @@ -0,0 +1,16 @@ +# Copyright 2021 The Knative Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +- image: ko://knative.dev/serving/test/test_images/grpc-ping +