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

Pipeline Polishing #17

Merged
merged 1 commit into from
Oct 9, 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
24 changes: 12 additions & 12 deletions .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
"https://github.com/buildpacks/pack/releases/download/v${PACK_VERSION}/pack-v${PACK_VERSION}-linux.tgz" \
| tar -C "${HOME}"/bin/ -xzv pack
--location \
--show-error \
--silent \
"https://github.com/buildpacks/pack/releases/download/v${PACK_VERSION}/pack-v${PACK_VERSION}-linux.tgz" \
| tar -C "${HOME}"/bin/ -xzv pack
env:
PACK_VERSION: 0.14.1
- id: version
Expand Down Expand Up @@ -86,14 +86,14 @@ jobs:

if [[ -n "${INCLUDE_DEPENDENCIES+x}" ]]; then
create-package \
--cache-location "${HOME}"/carton-cache \
--destination "${HOME}"/buildpack \
--include-dependencies \
--version "${VERSION}"
--cache-location "${HOME}"/carton-cache \
--destination "${HOME}"/buildpack \
--include-dependencies \
--version "${VERSION}"
else
create-package \
--destination "${HOME}"/buildpack \
--version "${VERSION}"
--destination "${HOME}"/buildpack \
--version "${VERSION}"
fi

[[ -e package.toml ]] && cp package.toml "${HOME}"/package.toml
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/minimal-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Minimal Labels
"on":
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
"https://github.com/buildpacks/pack/releases/download/v${PACK_VERSION}/pack-v${PACK_VERSION}-linux.tgz" \
| tar -C "${HOME}"/bin/ -xzv pack
--location \
--show-error \
--silent \
"https://github.com/buildpacks/pack/releases/download/v${PACK_VERSION}/pack-v${PACK_VERSION}-linux.tgz" \
| tar -C "${HOME}"/bin/ -xzv pack
env:
PACK_VERSION: 0.14.1
- id: version
Expand Down Expand Up @@ -79,14 +79,14 @@ jobs:

if [[ -n "${INCLUDE_DEPENDENCIES+x}" ]]; then
create-package \
--cache-location "${HOME}"/carton-cache \
--destination "${HOME}"/buildpack \
--include-dependencies \
--version "${VERSION}"
--cache-location "${HOME}"/carton-cache \
--destination "${HOME}"/buildpack \
--include-dependencies \
--version "${VERSION}"
else
create-package \
--destination "${HOME}"/buildpack \
--version "${VERSION}"
--destination "${HOME}"/buildpack \
--version "${VERSION}"
fi

[[ -e package.toml ]] && cp package.toml "${HOME}"/package.toml
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/update-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-jdk-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 11(?:\.[\d]+(?:\.[\d]+)?)?
VERSION_PATTERN: 11\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
body: Bumps `JDK 11` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update-buildpack/jdk-11
branch: update/buildpack/jdk-11
commit-message: |-
Bump JDK 11 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-jdk-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 14(?:\.[\d]+(?:\.[\d]+)?)?
VERSION_PATTERN: 14\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
body: Bumps `JDK 14` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update-buildpack/jdk-14
branch: update/buildpack/jdk-14
commit-message: |-
Bump JDK 14 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-jdk-15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 15(?:\.[\d]+(?:\.[\d]+)?)?
VERSION_PATTERN: 15\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
body: Bumps `JDK 15` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update-buildpack/jdk-15
branch: update/buildpack/jdk-15
commit-message: |-
Bump JDK 15 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-jdk-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 8(?:\.[\d]+(?:\.[\d]+)?)?
VERSION_PATTERN: 8\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
body: Bumps `JDK 8` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update-buildpack/jdk-8
branch: update/buildpack/jdk-8
commit-message: |-
Bump JDK 8 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-jre-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 11(?:\.[\d]+(?:\.[\d]+)?)?
VERSION_PATTERN: 11\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
body: Bumps `JRE 11` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update-buildpack/jre-11
branch: update/buildpack/jre-11
commit-message: |-
Bump JRE 11 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-jre-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 14(?:\.[\d]+(?:\.[\d]+)?)?
VERSION_PATTERN: 14\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
body: Bumps `JRE 14` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update-buildpack/jre-14
branch: update/buildpack/jre-14
commit-message: |-
Bump JRE 14 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-jre-15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 15(?:\.[\d]+(?:\.[\d]+)?)?
VERSION_PATTERN: 15\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
body: Bumps `JRE 15` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update-buildpack/jre-15
branch: update/buildpack/jre-15
commit-message: |-
Bump JRE 15 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/update-jre-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
set -euo pipefail

mkdir -p "${HOME}"/bin
echo "::add-path::${HOME}/bin"
echo "${HOME}/bin" >> "${GITHUB_PATH}"

curl \
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"
--location \
--show-error \
--silent \
--output "${HOME}"/bin/yj \
"https://github.com/sclevine/yj/releases/download/v${YJ_VERSION}/yj-linux"

chmod +x "${HOME}"/bin/yj
env:
Expand Down Expand Up @@ -76,11 +76,11 @@ jobs:
SHA256: ${{ steps.dependency.outputs.sha256 }}
URI: ${{ steps.dependency.outputs.uri }}
VERSION: ${{ steps.dependency.outputs.version }}
VERSION_PATTERN: 8(?:\.[\d]+(?:\.[\d]+)?)?
VERSION_PATTERN: 8\.[\d]+\.[\d]+
- uses: peter-evans/create-pull-request@v3
with:
body: Bumps `JRE 8` from `${{ steps.buildpack.outputs.old-version }}` to `${{ steps.buildpack.outputs.new-version }}`.
branch: update-buildpack/jre-8
branch: update/buildpack/jre-8
commit-message: |-
Bump JRE 8 from ${{ steps.buildpack.outputs.old-version }} to ${{ steps.buildpack.outputs.new-version }}

Expand Down
Loading