mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
test: don't use actions-set-product-version in release testing (#22948)
Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
15
.github/workflows/enos-release-testing-oss.yml
vendored
15
.github/workflows/enos-release-testing-oss.yml
vendored
@@ -12,13 +12,12 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
product-metadata:
|
product-metadata:
|
||||||
if: ${{ startsWith(github.event.client_payload.payload.branch, 'release/') }}
|
if: ${{ startsWith(github.event.client_payload.payload.branch, 'release/') }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
vault-revision: ${{ steps.get-metadata.outputs.vault-revision }}
|
vault-revision: ${{ github.event.client_payload.payload.sha }}
|
||||||
vault-version: ${{ steps.set-product-version.outputs.product-version }}
|
vault-version: ${{ github.event.client_payload.payload.version }}
|
||||||
vault-version-package: ${{ steps.get-metadata.outputs.vault-version-package }}
|
vault-version-package: ${{ steps.get-metadata.outputs.vault-version-package }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||||
@@ -26,15 +25,11 @@ jobs:
|
|||||||
# Check out the repository at the same Git SHA that was used to create
|
# Check out the repository at the same Git SHA that was used to create
|
||||||
# the artifacts to get the correct metadata.
|
# the artifacts to get the correct metadata.
|
||||||
ref: ${{ github.event.client_payload.payload.sha }}
|
ref: ${{ github.event.client_payload.payload.sha }}
|
||||||
- name: Set Product version
|
|
||||||
id: set-product-version
|
|
||||||
uses: hashicorp/actions-set-product-version@v1
|
|
||||||
- id: get-metadata
|
- id: get-metadata
|
||||||
|
env:
|
||||||
|
VAULT_VERSION: ${{ github.event.client_payload.payload.version }}
|
||||||
run: |
|
run: |
|
||||||
# shellcheck disable=SC2129
|
echo "vault-version-package=$(make ci-get-version-package)" >> "$GITHUB_OUTPUT"
|
||||||
echo "vault-revision=$(make ci-get-revision)" >> "$GITHUB_OUTPUT"
|
|
||||||
echo "vault-version-package=$(echo ${{ steps.set-product-version.outputs.product-version }} | awk '{ gsub("-","~",$1); print $1 }')" >> "$GITHUB_OUTPUT"
|
|
||||||
# Get the workflow summary similar to CRT workflows
|
|
||||||
- name: Release Artifact Info
|
- name: Release Artifact Info
|
||||||
run: |
|
run: |
|
||||||
# shellcheck disable=SC2129
|
# shellcheck disable=SC2129
|
||||||
|
|||||||
Reference in New Issue
Block a user