From 352d4dc5b17cb74733f3b849f8e87a6abcfa4561 Mon Sep 17 00:00:00 2001 From: Nanci Lancaster Date: Wed, 14 Apr 2021 18:38:11 -0500 Subject: [PATCH 1/2] Add OK a.m.b.a. to adopters.md file Adding just logo for now. Use case will come at a later time. --- ADOPTERS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ADOPTERS.md b/ADOPTERS.md index 44c211be..932a4f4b 100644 --- a/ADOPTERS.md +++ b/ADOPTERS.md @@ -9,6 +9,8 @@ list, [follow these directions](#adding-your-organization-to-the-list-of-adopter kubeapps +ok-amba + ## Solutions built with Pinniped Below is a list of solutions where Pinniped is being used as a component. From f63ded99bcb128f394ca8fbf14db981987f5d5c5 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Thu, 15 Apr 2021 10:27:00 -0700 Subject: [PATCH 2/2] Add a flag for skipping chromedriver version check to hack script --- hack/prepare-for-integration-tests.sh | 32 +++++++++++++++++---------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/hack/prepare-for-integration-tests.sh b/hack/prepare-for-integration-tests.sh index b697d7ce..e2909d2a 100755 --- a/hack/prepare-for-integration-tests.sh +++ b/hack/prepare-for-integration-tests.sh @@ -49,6 +49,7 @@ help=no skip_build=no clean_kind=no api_group_suffix="pinniped.dev" # same default as in the values.yaml ytt file +skip_chromedriver_check=no while (("$#")); do case "$1" in @@ -74,6 +75,10 @@ while (("$#")); do api_group_suffix=$1 shift ;; + --live-dangerously) + skip_chromedriver_check=yes + shift + ;; -*) log_error "Unsupported flag $1" >&2 exit 1 @@ -115,18 +120,21 @@ check_dependency chromedriver "Please install chromedriver. e.g. 'brew install c # Check that Chrome and chromedriver versions match. If chromedriver falls a couple versions behind # then usually tests start to fail with strange error messages. -if [[ "$OSTYPE" == "darwin"* ]]; then - chrome_version=$(/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version | cut -d ' ' -f3 | cut -d '.' -f1) -else - chrome_version=$(google-chrome --version | cut -d ' ' -f3 | cut -d '.' -f1) -fi -chromedriver_version=$(chromedriver --version | cut -d ' ' -f2 | cut -d '.' -f1) -if [[ "$chrome_version" != "$chromedriver_version" ]]; then - log_error "It appears that you are using Chrome $chrome_version with chromedriver $chromedriver_version." - log_error "Please use the same version of chromedriver as Chrome." - log_error "If you are using the latest version of Chrome, then you can upgrade" - log_error "to the latest chromedriver, e.g. 'brew upgrade chromedriver' on MacOS." - exit 1 +if [[ "$skip_chromedriver_check" == "no" ]]; then + if [[ "$OSTYPE" == "darwin"* ]]; then + chrome_version=$(/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version | cut -d ' ' -f3 | cut -d '.' -f1) + else + chrome_version=$(google-chrome --version | cut -d ' ' -f3 | cut -d '.' -f1) + fi + chromedriver_version=$(chromedriver --version | cut -d ' ' -f2 | cut -d '.' -f1) + if [[ "$chrome_version" != "$chromedriver_version" ]]; then + log_error "It appears that you are using Chrome $chrome_version with chromedriver $chromedriver_version." + log_error "Please use the same version of chromedriver as Chrome." + log_error "If you are using the latest version of Chrome, then you can upgrade" + log_error "to the latest chromedriver, e.g. 'brew upgrade chromedriver' on MacOS." + log_error "Feeling lucky? Add --live-dangerously to skip this check." + exit 1 + fi fi # Require kubectl >= 1.18.x