Skip to content

Commit

Permalink
Merge pull request #223 from paketo-buildpacks/update/pipeline
Browse files Browse the repository at this point in the history
Bump pipeline from 1.11.0 to 1.12.0
  • Loading branch information
Daniel Mikusa authored Oct 26, 2021
2 parents 90715f7 + 8945530 commit 9d456bf
Show file tree
Hide file tree
Showing 14 changed files with 131 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/pipeline-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.12.0
11 changes: 10 additions & 1 deletion .github/workflows/update-ca-certificates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/ca-certificates
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/ca-certificates from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/ca-certificates from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-environment-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/environment-variables
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/environment-variables from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/environment-variables from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-executable-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/executable-jar
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/executable-jar from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/executable-jar from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/graalvm
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/graalvm from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/graalvm from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/gradle
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/gradle from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/gradle from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-image-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/image-labels
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/image-labels from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/image-labels from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-leiningen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/leiningen
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/leiningen from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/leiningen from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/maven
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/maven from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/maven from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-native-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/native-image
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/native-image from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/native-image from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-procfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/procfile
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/procfile from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/procfile from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-sbt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/sbt
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/sbt from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/sbt from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-spring-boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/spring-boot
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/spring-boot from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/spring-boot from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .github/workflows/update-upx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,17 @@ jobs:
git checkout -- .
if [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $1}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $1}')" ]; then
LABEL="semver:major"
elif [ "$(echo "$OLD_VERSION" | awk -F '.' '{print $2}')" != "$(echo "$NEW_VERSION" | awk -F '.' '{print $2}')" ]; then
LABEL="semver:minor"
else
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}"
env:
DEPENDENCY: gcr.io/paketo-buildpacks/upx
- uses: peter-evans/create-pull-request@v3
Expand All @@ -119,7 +128,7 @@ jobs:
Bumps gcr.io/paketo-buildpacks/upx from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}.
delete-branch: true
labels: semver:minor, type:dependency-upgrade
labels: ${{ steps.buildpack.outputs.version-label }}, type:dependency-upgrade
signoff: true
title: Bump gcr.io/paketo-buildpacks/upx from ${{ steps.package.outputs.old-version }} to ${{ steps.package.outputs.new-version }}
token: ${{ secrets.JAVA_GITHUB_TOKEN }}

0 comments on commit 9d456bf

Please sign in to comment.