From 1eb493ac7f403b4b4720f4d289eef0400ff43ac6 Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Mon, 11 Apr 2022 13:05:28 +0000 Subject: [PATCH] Bump pipeline from 1.19.0 to 1.20.0 Bumps pipeline from 1.19.0 to 1.20.0. Signed-off-by: GitHub --- .github/pipeline-version | 2 +- .github/workflows/create-package.yml | 5 -- .github/workflows/tests.yml | 86 +------------------ .../workflows/update-tomee-7-microprofile.yml | 2 +- .github/workflows/update-tomee-7-plume.yml | 2 +- .github/workflows/update-tomee-7-plus.yml | 2 +- .../workflows/update-tomee-7-webprofile.yml | 2 +- .../workflows/update-tomee-8-microprofile.yml | 2 +- .github/workflows/update-tomee-8-plume.yml | 2 +- .github/workflows/update-tomee-8-plus.yml | 2 +- .../workflows/update-tomee-8-webprofile.yml | 2 +- .../workflows/update-tomee-9-microprofile.yml | 2 +- .github/workflows/update-tomee-9-plume.yml | 2 +- .github/workflows/update-tomee-9-plus.yml | 2 +- .../workflows/update-tomee-9-webprofile.yml | 2 +- 15 files changed, 14 insertions(+), 103 deletions(-) diff --git a/.github/pipeline-version b/.github/pipeline-version index 815d5ca..3989355 100644 --- a/.github/pipeline-version +++ b/.github/pipeline-version @@ -1 +1 @@ -1.19.0 +1.20.0 diff --git a/.github/workflows/create-package.yml b/.github/workflows/create-package.yml index 6134349..2288366 100644 --- a/.github/workflows/create-package.yml +++ b/.github/workflows/create-package.yml @@ -91,11 +91,6 @@ jobs: set -euo pipefail - if [ -z "${GITHUB_REF+set}" ]; then - echo "GITHUB_REF set to [${GITHUB_REF-}], 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]} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aad7712..2bd4e16 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -65,11 +65,6 @@ jobs: set -euo pipefail - if [ -z "${GITHUB_REF+set}" ]; then - echo "GITHUB_REF set to [${GITHUB_REF-}], 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]} @@ -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: @@ -262,6 +178,6 @@ jobs: set -euo pipefail - richgo test ./... -run Unit + richgo test ./... env: RICHGO_FORCE_COLOR: "1" diff --git a/.github/workflows/update-tomee-7-microprofile.yml b/.github/workflows/update-tomee-7-microprofile.yml index 28a07a6..dbe00ab 100644 --- a/.github/workflows/update-tomee-7-microprofile.yml +++ b/.github/workflows/update-tomee-7-microprofile.yml @@ -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 diff --git a/.github/workflows/update-tomee-7-plume.yml b/.github/workflows/update-tomee-7-plume.yml index 9e3e65b..615cd68 100644 --- a/.github/workflows/update-tomee-7-plume.yml +++ b/.github/workflows/update-tomee-7-plume.yml @@ -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 diff --git a/.github/workflows/update-tomee-7-plus.yml b/.github/workflows/update-tomee-7-plus.yml index babf4ac..d1be25b 100644 --- a/.github/workflows/update-tomee-7-plus.yml +++ b/.github/workflows/update-tomee-7-plus.yml @@ -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 diff --git a/.github/workflows/update-tomee-7-webprofile.yml b/.github/workflows/update-tomee-7-webprofile.yml index aa7d17a..8cb7e62 100644 --- a/.github/workflows/update-tomee-7-webprofile.yml +++ b/.github/workflows/update-tomee-7-webprofile.yml @@ -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 diff --git a/.github/workflows/update-tomee-8-microprofile.yml b/.github/workflows/update-tomee-8-microprofile.yml index ba5b213..e8da0b9 100644 --- a/.github/workflows/update-tomee-8-microprofile.yml +++ b/.github/workflows/update-tomee-8-microprofile.yml @@ -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 diff --git a/.github/workflows/update-tomee-8-plume.yml b/.github/workflows/update-tomee-8-plume.yml index 2d85fde..1fd18c8 100644 --- a/.github/workflows/update-tomee-8-plume.yml +++ b/.github/workflows/update-tomee-8-plume.yml @@ -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 diff --git a/.github/workflows/update-tomee-8-plus.yml b/.github/workflows/update-tomee-8-plus.yml index 8fae00f..43dc2a1 100644 --- a/.github/workflows/update-tomee-8-plus.yml +++ b/.github/workflows/update-tomee-8-plus.yml @@ -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 diff --git a/.github/workflows/update-tomee-8-webprofile.yml b/.github/workflows/update-tomee-8-webprofile.yml index 5f3fe34..9a22cad 100644 --- a/.github/workflows/update-tomee-8-webprofile.yml +++ b/.github/workflows/update-tomee-8-webprofile.yml @@ -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 diff --git a/.github/workflows/update-tomee-9-microprofile.yml b/.github/workflows/update-tomee-9-microprofile.yml index b644cad..f29dd7e 100644 --- a/.github/workflows/update-tomee-9-microprofile.yml +++ b/.github/workflows/update-tomee-9-microprofile.yml @@ -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 diff --git a/.github/workflows/update-tomee-9-plume.yml b/.github/workflows/update-tomee-9-plume.yml index b8575a6..a0883de 100644 --- a/.github/workflows/update-tomee-9-plume.yml +++ b/.github/workflows/update-tomee-9-plume.yml @@ -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 diff --git a/.github/workflows/update-tomee-9-plus.yml b/.github/workflows/update-tomee-9-plus.yml index 6dc2567..c508c58 100644 --- a/.github/workflows/update-tomee-9-plus.yml +++ b/.github/workflows/update-tomee-9-plus.yml @@ -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 diff --git a/.github/workflows/update-tomee-9-webprofile.yml b/.github/workflows/update-tomee-9-webprofile.yml index a5ea1a7..2cbaf82 100644 --- a/.github/workflows/update-tomee-9-webprofile.yml +++ b/.github/workflows/update-tomee-9-webprofile.yml @@ -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