diff --git a/.github/pipeline-version b/.github/pipeline-version index 2b17ffd..39fc130 100644 --- a/.github/pipeline-version +++ b/.github/pipeline-version @@ -1 +1 @@ -1.34.0 +1.36.0 diff --git a/.github/workflows/pb-update-google-stackdriver-debugger-java.yml b/.github/workflows/pb-update-google-stackdriver-debugger-java.yml index 5a7aad3..d4c1831 100644 --- a/.github/workflows/pb-update-google-stackdriver-debugger-java.yml +++ b/.github/workflows/pb-update-google-stackdriver-debugger-java.yml @@ -55,11 +55,8 @@ jobs: set -euo pipefail - OLD_VERSION=$(yj -tj < buildpack.toml | jq -r " - .metadata.dependencies[] | - select( .id == env.ID ) | - select( .version | test( env.VERSION_PATTERN ) ) | - .version") + OLD_VERSION=$(yj -tj < buildpack.toml | \ + jq -r ".metadata.dependencies[] | select( .id == env.ID ) | select( .version | test( env.VERSION_PATTERN ) ) | select( .purl | contains( env.ARCH ) ) | .version") update-buildpack-dependency \ --buildpack-toml buildpack.toml \ @@ -90,6 +87,7 @@ jobs: echo "new-version=${VERSION}" >> "$GITHUB_OUTPUT" echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: + ARCH: "" CPE: ${{ steps.dependency.outputs.cpe }} CPE_PATTERN: "" ID: google-stackdriver-debugger-java diff --git a/.github/workflows/pb-update-google-stackdriver-debugger-nodejs.yml b/.github/workflows/pb-update-google-stackdriver-debugger-nodejs.yml index f5e05b7..c533934 100644 --- a/.github/workflows/pb-update-google-stackdriver-debugger-nodejs.yml +++ b/.github/workflows/pb-update-google-stackdriver-debugger-nodejs.yml @@ -52,11 +52,8 @@ jobs: set -euo pipefail - OLD_VERSION=$(yj -tj < buildpack.toml | jq -r " - .metadata.dependencies[] | - select( .id == env.ID ) | - select( .version | test( env.VERSION_PATTERN ) ) | - .version") + OLD_VERSION=$(yj -tj < buildpack.toml | \ + jq -r ".metadata.dependencies[] | select( .id == env.ID ) | select( .version | test( env.VERSION_PATTERN ) ) | select( .purl | contains( env.ARCH ) ) | .version") update-buildpack-dependency \ --buildpack-toml buildpack.toml \ @@ -87,6 +84,7 @@ jobs: echo "new-version=${VERSION}" >> "$GITHUB_OUTPUT" echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: + ARCH: "" CPE: ${{ steps.dependency.outputs.cpe }} CPE_PATTERN: "" ID: google-stackdriver-debugger-nodejs diff --git a/.github/workflows/pb-update-google-stackdriver-profiler-java.yml b/.github/workflows/pb-update-google-stackdriver-profiler-java.yml index c5697a5..7a40613 100644 --- a/.github/workflows/pb-update-google-stackdriver-profiler-java.yml +++ b/.github/workflows/pb-update-google-stackdriver-profiler-java.yml @@ -50,11 +50,8 @@ jobs: set -euo pipefail - OLD_VERSION=$(yj -tj < buildpack.toml | jq -r " - .metadata.dependencies[] | - select( .id == env.ID ) | - select( .version | test( env.VERSION_PATTERN ) ) | - .version") + OLD_VERSION=$(yj -tj < buildpack.toml | \ + jq -r ".metadata.dependencies[] | select( .id == env.ID ) | select( .version | test( env.VERSION_PATTERN ) ) | select( .purl | contains( env.ARCH ) ) | .version") update-buildpack-dependency \ --buildpack-toml buildpack.toml \ @@ -85,6 +82,7 @@ jobs: echo "new-version=${VERSION}" >> "$GITHUB_OUTPUT" echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: + ARCH: "" CPE: ${{ steps.dependency.outputs.cpe }} CPE_PATTERN: "" ID: google-stackdriver-profiler-java diff --git a/.github/workflows/pb-update-google-stackdriver-profiler-nodejs.yml b/.github/workflows/pb-update-google-stackdriver-profiler-nodejs.yml index 918f6a6..bd32899 100644 --- a/.github/workflows/pb-update-google-stackdriver-profiler-nodejs.yml +++ b/.github/workflows/pb-update-google-stackdriver-profiler-nodejs.yml @@ -52,11 +52,8 @@ jobs: set -euo pipefail - OLD_VERSION=$(yj -tj < buildpack.toml | jq -r " - .metadata.dependencies[] | - select( .id == env.ID ) | - select( .version | test( env.VERSION_PATTERN ) ) | - .version") + OLD_VERSION=$(yj -tj < buildpack.toml | \ + jq -r ".metadata.dependencies[] | select( .id == env.ID ) | select( .version | test( env.VERSION_PATTERN ) ) | select( .purl | contains( env.ARCH ) ) | .version") update-buildpack-dependency \ --buildpack-toml buildpack.toml \ @@ -87,6 +84,7 @@ jobs: echo "new-version=${VERSION}" >> "$GITHUB_OUTPUT" echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: + ARCH: "" CPE: ${{ steps.dependency.outputs.cpe }} CPE_PATTERN: "" ID: google-stackdriver-profiler-nodejs