From aec72aa507a5b33cfefcc50b0fb759bee353702b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 15 Jun 2021 19:50:08 +0000 Subject: [PATCH] chore: new owl bot post processor docker image (#520) Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:3796fe5c26bbf814f0a82a2eab2749b5710f87e7197dc011e5fa3c694e532462 --- java-resourcemanager/.github/.OwlBot.lock.yaml | 3 ++- java-resourcemanager/.kokoro/dependencies.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/java-resourcemanager/.github/.OwlBot.lock.yaml b/java-resourcemanager/.github/.OwlBot.lock.yaml index f1cb49a401d6..6d4dbc4680ec 100644 --- a/java-resourcemanager/.github/.OwlBot.lock.yaml +++ b/java-resourcemanager/.github/.OwlBot.lock.yaml @@ -1,3 +1,4 @@ docker: image: gcr.io/repo-automation-bots/owlbot-java:latest - digest: sha256:689e998ca8b33117d8607b1c3df12b9cfebd68b621ba5ab6ce17be8715506203 + digest: sha256:3796fe5c26bbf814f0a82a2eab2749b5710f87e7197dc011e5fa3c694e532462 + diff --git a/java-resourcemanager/.kokoro/dependencies.sh b/java-resourcemanager/.kokoro/dependencies.sh index 59d2aafc790f..a7e999d33bfb 100755 --- a/java-resourcemanager/.kokoro/dependencies.sh +++ b/java-resourcemanager/.kokoro/dependencies.sh @@ -46,7 +46,7 @@ function completenessCheck() { # This is stripped from the output as it is not present in the flattened pom. # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." @@ -70,7 +70,7 @@ function completenessCheck() { set +e error_count=0 -for path in $(find -name ".flattened-pom.xml") +for path in **/.flattened-pom.xml do # Check flattened pom in each dir that contains it for completeness dir=$(dirname "$path")