-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumps pipeline from 1.39.0 to 1.40.0. Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e8ffffa
commit 1a1509e
Showing
32 changed files
with
196 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gomod | ||
directory: / | ||
schedule: | ||
interval: daily | ||
ignore: | ||
- dependency-name: github.com/onsi/gomega | ||
labels: | ||
- semver:patch | ||
- type:dependency-upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.39.0 | ||
1.40.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,24 +33,13 @@ jobs: | |
set -euo pipefail | ||
go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/create-package@latest | ||
- uses: buildpacks/github-actions/setup-tools@v5.6.0 | ||
- uses: buildpacks/github-actions/setup-tools@v5.7.2 | ||
with: | ||
crane-version: 0.19.1 | ||
yj-version: 5.1.0 | ||
- name: Install pack | ||
run: | | ||
#!/usr/bin/env bash | ||
# this is coming from a copy of https://github.com/buildpacks/pack/actions/runs/8118576298 stored on box | ||
# TODO to revisit when the official one is out | ||
set -euo pipefail | ||
echo "Installing pack experimental" | ||
mkdir -p "${HOME}"/bin | ||
echo "${HOME}/bin" >> "${GITHUB_PATH}" | ||
curl -L "https://ent.box.com/shared/static/j4d1bfe9uk1sb0i7zjvci0md9xmy41u4" -o ${HOME}/bin/pack | ||
chmod +x "${HOME}"/bin/pack | ||
- uses: buildpacks/github-actions/[email protected] | ||
with: | ||
pack-version: 0.34.2 | ||
- name: Enable pack Experimental | ||
if: ${{ false }} | ||
run: | | ||
|
@@ -219,7 +208,7 @@ jobs: | |
DIGEST: ${{ steps.package.outputs.digest }} | ||
GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} | ||
- if: ${{ true }} | ||
uses: docker://ghcr.io/buildpacks/actions/registry/request-add-entry:5.6.0 | ||
uses: docker://ghcr.io/buildpacks/actions/registry/request-add-entry:5.7.2 | ||
with: | ||
address: docker.io/paketobuildpacks/java@${{ steps.package.outputs.digest }} | ||
id: paketo-buildpacks/java | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,20 +25,9 @@ jobs: | |
set -euo pipefail | ||
go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/create-package@latest | ||
- name: Install pack | ||
run: | | ||
#!/usr/bin/env bash | ||
# this is coming from a copy of https://github.com/buildpacks/pack/actions/runs/8118576298 stored on box | ||
# TODO to revisit when the official one is out | ||
set -euo pipefail | ||
echo "Installing pack experimental" | ||
mkdir -p "${HOME}"/bin | ||
echo "${HOME}/bin" >> "${GITHUB_PATH}" | ||
curl -L "https://ent.box.com/shared/static/j4d1bfe9uk1sb0i7zjvci0md9xmy41u4" -o ${HOME}/bin/pack | ||
chmod +x "${HOME}"/bin/pack | ||
- uses: buildpacks/github-actions/[email protected] | ||
with: | ||
pack-version: 0.34.2 | ||
- name: Enable pack Experimental | ||
if: ${{ false }} | ||
run: | | ||
|
@@ -177,16 +166,58 @@ jobs: | |
fi | ||
env: | ||
FORMAT: image | ||
PACKAGES: test | ||
TTL_SH_PUBLISH: "false" | ||
VERSION: ${{ steps.version.outputs.version }} | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'liberica' | ||
PACKAGES: ttl.sh/test-${{ steps.version.outputs.version }} | ||
TTL_SH_PUBLISH: "true" | ||
VERSION: 1h | ||
- name: Run Integration Tests | ||
run: "BP_UNDER_TEST=${PACKAGE}:${VERSION} make integration" | ||
run: | | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
go test ./integration/... -run Integration | ||
env: | ||
PACKAGE: test | ||
VERSION: ${{ steps.version.outputs.version }} | ||
unit: | ||
name: Unit Test | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/cache@v4 | ||
with: | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
path: ${{ env.HOME }}/go/pkg/mod | ||
restore-keys: ${{ runner.os }}-go- | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
- name: Install richgo | ||
run: | | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
echo "Installing richgo ${RICHGO_VERSION}" | ||
mkdir -p "${HOME}"/bin | ||
echo "${HOME}/bin" >> "${GITHUB_PATH}" | ||
curl \ | ||
--location \ | ||
--show-error \ | ||
--silent \ | ||
"https://github.com/kyoh86/richgo/releases/download/v${RICHGO_VERSION}/richgo_${RICHGO_VERSION}_linux_amd64.tar.gz" \ | ||
| tar -C "${HOME}"/bin -xz richgo | ||
env: | ||
RICHGO_VERSION: 0.3.10 | ||
- name: Run Tests | ||
run: | | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
richgo test ./... -run Unit | ||
env: | ||
RICHGO_FORCE_COLOR: "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.