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.19.0 to 1.20.0 #5

Closed
wants to merge 1 commit into from
Closed
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.19.0
1.20.0
5 changes: 0 additions & 5 deletions .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ jobs:

set -euo pipefail

if [ -z "${GITHUB_REF+set}" ]; then
echo "GITHUB_REF set to [${GITHUB_REF-<unset>}], but should never be empty or unset"
exit 255
fi

if [[ ${GITHUB_REF} =~ refs/tags/v([0-9]+\.[0-9]+\.[0-9]+) ]]; then
VERSION=${BASH_REMATCH[1]}

Expand Down
86 changes: 1 addition & 85 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ jobs:

set -euo pipefail

if [ -z "${GITHUB_REF+set}" ]; then
echo "GITHUB_REF set to [${GITHUB_REF-<unset>}], but should never be empty or unset"
exit 255
fi

if [[ ${GITHUB_REF} =~ refs/tags/v([0-9]+\.[0-9]+\.[0-9]+) ]]; then
VERSION=${BASH_REMATCH[1]}

Expand Down Expand Up @@ -144,85 +139,6 @@ jobs:
FORMAT: image
PACKAGE: test
VERSION: ${{ steps.version.outputs.version }}
integration:
name: Integration Test
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
path: ${{ env.HOME }}/go/pkg/mod
restore-keys: ${{ runner.os }}-go-
- uses: actions/setup-go@v2
with:
go-version: "1.17"
- name: Install create-package
run: |
#!/usr/bin/env bash

set -euo pipefail

GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/create-package
- name: Install pack
run: |
#!/usr/bin/env bash

set -euo pipefail

echo "Installing pack ${PACK_VERSION}"

mkdir -p "${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 -xz pack
env:
PACK_VERSION: 0.24.0
- name: Enable pack Experimental
if: ${{ false }}
run: |
#!/usr/bin/env bash

set -euo pipefail

echo "Enabling pack experimental features"

mkdir -p "${HOME}"/.pack
echo "experimental = true" >> "${HOME}"/.pack/config.toml
- 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 ./integration/... -run Integration
env:
RICHGO_FORCE_COLOR: "1"
unit:
name: Unit Test
runs-on:
Expand Down Expand Up @@ -262,6 +178,6 @@ jobs:

set -euo pipefail

richgo test ./... -run Unit
richgo test ./...
env:
RICHGO_FORCE_COLOR: "1"
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-7-microprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: microprofile
major: 7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-7-plume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: plume
major: 7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-7-plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: plus
major: 7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-7-webprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: webprofile
major: 7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-8-microprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: microprofile
major: 8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-8-plume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: plume
major: 8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-8-plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: plus
major: 8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-8-webprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: webprofile
major: 8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-9-microprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: microprofile
major: 9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-9-plume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: plume
major: 9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-9-plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: plus
major: 9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tomee-9-webprofile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
YJ_VERSION: 5.0.0
- uses: actions/checkout@v3
- id: dependency
uses: docker://paketo-buildpacks/tomee-dependency:main
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
dist: webprofile
major: 9
Expand Down