Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pipeline from 1.8.1 to 1.9.0 #42

Merged
merged 1 commit into from
Dec 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/pipeline-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.1
1.9.0
20 changes: 17 additions & 3 deletions .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ jobs:
| tar -C "${HOME}"/bin -xz pack
env:
PACK_VERSION: 0.15.0
- if: ${{ false }}
name: Enable pack Experimental
run: |
#!/usr/bin/env bash

set -euo pipefail

echo "Enabling pack experimental features"

mkdir -p "${HOME}"/.pack
echo "experimental = true" >> "${HOME}"/.pack/config.toml
- uses: actions/checkout@v2
- if: ${{ false }}
uses: actions/cache@v2
Expand Down Expand Up @@ -112,9 +123,10 @@ jobs:
fi

[[ -e package.toml ]] && cp package.toml "${HOME}"/package.toml
printf '[buildpack]\nuri = "%s"' "${HOME}"/buildpack >> "${HOME}"/package.toml
printf '[buildpack]\nuri = "%s"\n\n[platform]\nos = "%s"\n' "${HOME}"/buildpack "${OS}" >> "${HOME}"/package.toml
env:
INCLUDE_DEPENDENCIES: "false"
OS: linux
VERSION: ${{ steps.version.outputs.version }}
- id: package
name: Package Buildpack
Expand All @@ -134,7 +146,8 @@ jobs:
else
pack package-buildpack \
"${PACKAGE}:${VERSION}" \
--config "${HOME}"/package.toml
--config "${HOME}"/package.toml \
--format "${FORMAT}"
fi
env:
PACKAGE: gcr.io/paketo-buildpacks/graalvm
Expand Down Expand Up @@ -162,7 +175,8 @@ jobs:
env:
DIGEST: ${{ steps.package.outputs.digest }}
GITHUB_TOKEN: ${{ secrets.JAVA_GITHUB_TOKEN }}
- uses: docker://ghcr.io/buildpacks/actions/registry:main
- if: ${{ true }}
uses: docker://ghcr.io/buildpacks/actions/registry:main
with:
address: gcr.io/paketo-buildpacks/graalvm@${{ steps.package.outputs.digest }}
id: paketo-buildpacks/graalvm
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ jobs:
| tar -C "${HOME}"/bin -xz pack
env:
PACK_VERSION: 0.15.0
- if: ${{ false }}
name: Enable pack Experimental
run: |
#!/usr/bin/env bash

set -euo pipefail

echo "Enabling pack experimental features"

mkdir -p "${HOME}"/.pack
echo "experimental = true" >> "${HOME}"/.pack/config.toml
- uses: actions/setup-go@v2
with:
go-version: "1.15"
Expand Down Expand Up @@ -93,9 +104,10 @@ jobs:
fi

[[ -e package.toml ]] && cp package.toml "${HOME}"/package.toml
printf '[buildpack]\nuri = "%s"' "${HOME}"/buildpack >> "${HOME}"/package.toml
printf '[buildpack]\nuri = "%s"\n\n[platform]\nos = "%s"\n' "${HOME}"/buildpack "${OS}" >> "${HOME}"/package.toml
env:
INCLUDE_DEPENDENCIES: "true"
OS: linux
VERSION: ${{ steps.version.outputs.version }}
- name: Package Buildpack
run: |
Expand All @@ -114,9 +126,11 @@ jobs:
else
pack package-buildpack \
"${PACKAGE}:${VERSION}" \
--config "${HOME}"/package.toml
--config "${HOME}"/package.toml \
--format "${FORMAT}"
fi
env:
FORMAT: image
PACKAGE: test
VERSION: ${{ steps.version.outputs.version }}
unit:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-jdk-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
VERSION_PATTERN: 11\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>
body: Bumps `JDK 11` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/jdk-11
commit-message: |-
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-jdk-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
VERSION_PATTERN: 8\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>
body: Bumps `JDK 8` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/jdk-8
commit-message: |-
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-jvmkill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
VERSION_PATTERN: '[\d]+\.[\d]+\.[\d]+'
- uses: peter-evans/create-pull-request@v3
with:
author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>
body: Bumps `jvmkill` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/jvmkill
commit-message: |-
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-native-image-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
VERSION_PATTERN: 11\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>
body: Bumps `Native Image 11` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/native-image-11
commit-message: |-
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-native-image-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
VERSION_PATTERN: 8\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>
body: Bumps `Native Image 8` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update/buildpack/native-image-8
commit-message: |-
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.JAVA_GITHUB_TOKEN }}
- uses: peter-evans/create-pull-request@v3
with:
author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com>
body: |-
Bumps pipeline from `${{ steps.pipeline.outputs.old-version }}` to `${{ steps.pipeline.outputs.new-version }}`.

Expand Down