From ec66cd58c09cc1727b41bac12c17b7ddf516c424 Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Tue, 31 Jan 2023 05:03:26 +0000 Subject: [PATCH] Bump pipeline from 1.29.0 to 1.30.0 Bumps pipeline from 1.29.0 to 1.30.0. Signed-off-by: GitHub --- .github/pipeline-version | 2 +- .github/workflows/pb-create-package.yml | 8 ++++---- .github/workflows/pb-minimal-labels.yml | 4 ++-- .github/workflows/pb-tests.yml | 8 ++++---- .github/workflows/pb-update-bellsoft-liberica.yml | 6 +++--- .github/workflows/pb-update-ca-certificates.yml | 6 +++--- .github/workflows/pb-update-environment-variables.yml | 6 +++--- .github/workflows/pb-update-executable-jar.yml | 6 +++--- .github/workflows/pb-update-gradle.yml | 6 +++--- .github/workflows/pb-update-image-labels.yml | 6 +++--- .github/workflows/pb-update-leiningen.yml | 6 +++--- .github/workflows/pb-update-maven.yml | 6 +++--- .github/workflows/pb-update-native-image.yml | 6 +++--- .github/workflows/pb-update-pipeline.yml | 8 +++++--- .github/workflows/pb-update-procfile.yml | 6 +++--- .github/workflows/pb-update-sbt.yml | 6 +++--- .github/workflows/pb-update-spring-boot.yml | 6 +++--- .github/workflows/pb-update-syft.yml | 6 +++--- .github/workflows/pb-update-upx.yml | 6 +++--- 19 files changed, 58 insertions(+), 56 deletions(-) diff --git a/.github/pipeline-version b/.github/pipeline-version index 5e57fb89..034552a8 100644 --- a/.github/pipeline-version +++ b/.github/pipeline-version @@ -1 +1 @@ -1.29.0 +1.30.0 diff --git a/.github/workflows/pb-create-package.yml b/.github/workflows/pb-create-package.yml index 1ca4cec9..67167e16 100644 --- a/.github/workflows/pb-create-package.yml +++ b/.github/workflows/pb-create-package.yml @@ -102,15 +102,15 @@ jobs: MAJOR_VERSION="$(echo "${VERSION}" | awk -F '.' '{print $1 }')" MINOR_VERSION="$(echo "${VERSION}" | awk -F '.' '{print $1 "." $2 }')" - echo "::set-output name=version-major::${MAJOR_VERSION}" - echo "::set-output name=version-minor::${MINOR_VERSION}" + echo "version-major=${MAJOR_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-minor=${MINOR_VERSION}" >> "$GITHUB_OUTPUT" elif [[ ${GITHUB_REF} =~ refs/heads/(.+) ]]; then VERSION=${BASH_REMATCH[1]} else VERSION=$(git rev-parse --short HEAD) fi - echo "::set-output name=version::${VERSION}" + echo "version=${VERSION}" >> "$GITHUB_OUTPUT" echo "Selected ${VERSION} from * ref: ${GITHUB_REF} * sha: ${GITHUB_SHA} @@ -166,7 +166,7 @@ jobs: crane tag "${PACKAGE}:${VERSION}" "${VERSION_MAJOR}" fi crane tag "${PACKAGE}:${VERSION}" latest - echo "::set-output name=digest::$(crane digest "${PACKAGE}:${VERSION}")" + echo "digest=$(crane digest "${PACKAGE}:${VERSION}")" >> "$GITHUB_OUTPUT" # copy to other repositories specified for P in "${PACKAGE_LIST[@]}" diff --git a/.github/workflows/pb-minimal-labels.yml b/.github/workflows/pb-minimal-labels.yml index 8f4aab50..39c568eb 100644 --- a/.github/workflows/pb-minimal-labels.yml +++ b/.github/workflows/pb-minimal-labels.yml @@ -12,7 +12,7 @@ jobs: runs-on: - ubuntu-latest steps: - - uses: mheap/github-action-required-labels@v2 + - uses: mheap/github-action-required-labels@v3 with: count: 1 labels: semver:major, semver:minor, semver:patch @@ -22,7 +22,7 @@ jobs: runs-on: - ubuntu-latest steps: - - uses: mheap/github-action-required-labels@v2 + - uses: mheap/github-action-required-labels@v3 with: count: 1 labels: type:bug, type:dependency-upgrade, type:documentation, type:enhancement, type:question, type:task diff --git a/.github/workflows/pb-tests.yml b/.github/workflows/pb-tests.yml index c729081d..1b0488a3 100644 --- a/.github/workflows/pb-tests.yml +++ b/.github/workflows/pb-tests.yml @@ -76,15 +76,15 @@ jobs: MAJOR_VERSION="$(echo "${VERSION}" | awk -F '.' '{print $1 }')" MINOR_VERSION="$(echo "${VERSION}" | awk -F '.' '{print $1 "." $2 }')" - echo "::set-output name=version-major::${MAJOR_VERSION}" - echo "::set-output name=version-minor::${MINOR_VERSION}" + echo "version-major=${MAJOR_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-minor=${MINOR_VERSION}" >> "$GITHUB_OUTPUT" elif [[ ${GITHUB_REF} =~ refs/heads/(.+) ]]; then VERSION=${BASH_REMATCH[1]} else VERSION=$(git rev-parse --short HEAD) fi - echo "::set-output name=version::${VERSION}" + echo "version=${VERSION}" >> "$GITHUB_OUTPUT" echo "Selected ${VERSION} from * ref: ${GITHUB_REF} * sha: ${GITHUB_SHA} @@ -138,7 +138,7 @@ jobs: crane tag "${PACKAGE}:${VERSION}" "${VERSION_MAJOR}" fi crane tag "${PACKAGE}:${VERSION}" latest - echo "::set-output name=digest::$(crane digest "${PACKAGE}:${VERSION}")" + echo "digest=$(crane digest "${PACKAGE}:${VERSION}")" >> "$GITHUB_OUTPUT" # copy to other repositories specified for P in "${PACKAGE_LIST[@]}" diff --git a/.github/workflows/pb-update-bellsoft-liberica.yml b/.github/workflows/pb-update-bellsoft-liberica.yml index 211e7347..1e7a28cd 100644 --- a/.github/workflows/pb-update-bellsoft-liberica.yml +++ b/.github/workflows/pb-update-bellsoft-liberica.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/bellsoft-liberica - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-ca-certificates.yml b/.github/workflows/pb-update-ca-certificates.yml index 0cca416a..b32d9d17 100644 --- a/.github/workflows/pb-update-ca-certificates.yml +++ b/.github/workflows/pb-update-ca-certificates.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/ca-certificates - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-environment-variables.yml b/.github/workflows/pb-update-environment-variables.yml index 506868bf..f6e53312 100644 --- a/.github/workflows/pb-update-environment-variables.yml +++ b/.github/workflows/pb-update-environment-variables.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/environment-variables - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-executable-jar.yml b/.github/workflows/pb-update-executable-jar.yml index 8d51e116..09ad422f 100644 --- a/.github/workflows/pb-update-executable-jar.yml +++ b/.github/workflows/pb-update-executable-jar.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/executable-jar - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-gradle.yml b/.github/workflows/pb-update-gradle.yml index ef0d84b1..fc85b3ce 100644 --- a/.github/workflows/pb-update-gradle.yml +++ b/.github/workflows/pb-update-gradle.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/gradle - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-image-labels.yml b/.github/workflows/pb-update-image-labels.yml index 418c5390..685d8750 100644 --- a/.github/workflows/pb-update-image-labels.yml +++ b/.github/workflows/pb-update-image-labels.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/image-labels - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-leiningen.yml b/.github/workflows/pb-update-leiningen.yml index 1158f054..a6b59eec 100644 --- a/.github/workflows/pb-update-leiningen.yml +++ b/.github/workflows/pb-update-leiningen.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/leiningen - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-maven.yml b/.github/workflows/pb-update-maven.yml index ed578a4a..e586317c 100644 --- a/.github/workflows/pb-update-maven.yml +++ b/.github/workflows/pb-update-maven.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/maven - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-native-image.yml b/.github/workflows/pb-update-native-image.yml index cc736a12..db824d05 100644 --- a/.github/workflows/pb-update-native-image.yml +++ b/.github/workflows/pb-update-native-image.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/native-image - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-pipeline.yml b/.github/workflows/pb-update-pipeline.yml index 598f5fc4..2736a82f 100644 --- a/.github/workflows/pb-update-pipeline.yml +++ b/.github/workflows/pb-update-pipeline.yml @@ -57,9 +57,11 @@ jobs: git add .github/ git checkout -- . - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=release-notes::${RELEASE_NOTES//$'\n'/%0A}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + + DELIMITER=$(openssl rand -hex 16) # roughly the same entropy as uuid v4 used in https://github.com/actions/toolkit/blob/b36e70495fbee083eb20f600eafa9091d832577d/packages/core/src/file-command.ts#L28 + printf "release-notes<<%s\n%s\n%s\n" "${DELIMITER}" "${RELEASE_NOTES}" "${DELIMITER}" >> "${GITHUB_OUTPUT}" # see https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings env: DESCRIPTOR: .github/pipeline-descriptor.yml GITHUB_TOKEN: ${{ secrets.JAVA_GITHUB_TOKEN }} diff --git a/.github/workflows/pb-update-procfile.yml b/.github/workflows/pb-update-procfile.yml index b9922541..6166ead9 100644 --- a/.github/workflows/pb-update-procfile.yml +++ b/.github/workflows/pb-update-procfile.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/procfile - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-sbt.yml b/.github/workflows/pb-update-sbt.yml index 2e2940a5..6a2e8345 100644 --- a/.github/workflows/pb-update-sbt.yml +++ b/.github/workflows/pb-update-sbt.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/sbt - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-spring-boot.yml b/.github/workflows/pb-update-spring-boot.yml index 28a6acfe..6410ac98 100644 --- a/.github/workflows/pb-update-spring-boot.yml +++ b/.github/workflows/pb-update-spring-boot.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/spring-boot - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-syft.yml b/.github/workflows/pb-update-syft.yml index 03976b40..27fe0217 100644 --- a/.github/workflows/pb-update-syft.yml +++ b/.github/workflows/pb-update-syft.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/syft - uses: peter-evans/create-pull-request@v4 diff --git a/.github/workflows/pb-update-upx.yml b/.github/workflows/pb-update-upx.yml index 4f5961c2..cc6fc491 100644 --- a/.github/workflows/pb-update-upx.yml +++ b/.github/workflows/pb-update-upx.yml @@ -113,9 +113,9 @@ jobs: LABEL="semver:patch" fi - echo "::set-output name=old-version::${OLD_VERSION}" - echo "::set-output name=new-version::${NEW_VERSION}" - echo "::set-output name=version-label::${LABEL}" + echo "old-version=${OLD_VERSION}" >> "$GITHUB_OUTPUT" + echo "new-version=${NEW_VERSION}" >> "$GITHUB_OUTPUT" + echo "version-label=${LABEL}" >> "$GITHUB_OUTPUT" env: DEPENDENCY: gcr.io/paketo-buildpacks/upx - uses: peter-evans/create-pull-request@v4