From 5d5b3476bcb200c798375849006dbdb3fc35ac2c Mon Sep 17 00:00:00 2001 From: Santosh Kumar Cheler Date: Tue, 13 Aug 2019 18:40:12 +0000 Subject: [PATCH] Update references to local scripts to enable using build container for filter repos Signed-off-by: Santosh Kumar Cheler --- ci/envoy_build_sha.sh | 2 +- ci/run_envoy_docker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/envoy_build_sha.sh b/ci/envoy_build_sha.sh index 709617afe9b6..bdc6fefe409d 100644 --- a/ci/envoy_build_sha.sh +++ b/ci/envoy_build_sha.sh @@ -1,2 +1,2 @@ -ENVOY_BUILD_SHA=$(grep envoyproxy/envoy-build .circleci/config.yml | sed -e 's#.*envoyproxy/envoy-build:\(.*\)#\1#' | uniq) +ENVOY_BUILD_SHA=$(grep envoyproxy/envoy-build $(dirname $0)/../.circleci/config.yml | sed -e 's#.*envoyproxy/envoy-build:\(.*\)#\1#' | uniq) [[ $(wc -l <<< "${ENVOY_BUILD_SHA}" | awk '{$1=$1};1') == 1 ]] || (echo ".circleci/config.yml hashes are inconsistent!" && exit 1) diff --git a/ci/run_envoy_docker.sh b/ci/run_envoy_docker.sh index 3fd04a01e283..63e9d672c86a 100755 --- a/ci/run_envoy_docker.sh +++ b/ci/run_envoy_docker.sh @@ -2,7 +2,7 @@ set -e -. ci/envoy_build_sha.sh +. $(dirname $0)/envoy_build_sha.sh # We run as root and later drop permissions. This is requried to setup the USER # in useradd below, which is need for correct Python execution in the Docker