fix(driver): Allow duplicate subnet names (#198) #4
Workflow file for this run
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
name: Notify Integration Release (Tag) | |
on: | |
push: | |
tags: | |
- '*.*.*' # Proper releases | |
jobs: | |
strip-version: | |
runs-on: ubuntu-latest | |
outputs: | |
packer-version: ${{ steps.strip.outputs.packer-version }} | |
steps: | |
- name: Strip leading v from version tag | |
id: strip | |
env: | |
REF: ${{ github.ref_name }} | |
run: | | |
echo "packer-version=$(echo "$REF" | sed -E 's/v?([0-9]+\.[0-9]+\.[0-9]+)/\1/')" >> "$GITHUB_OUTPUT" | |
notify-release: | |
needs: | |
- strip-version | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout this repo | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
ref: ${{ github.ref }} | |
# Ensure that Docs are Compiled | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
- shell: bash | |
run: make generate | |
- shell: bash | |
run: | | |
if [[ -z "$(git status -s)" ]]; then | |
echo "OK" | |
else | |
echo "Docs have been updated, but the compiled docs have not been committed." | |
echo "Run 'make generate', and commit the result to resolve this error." | |
exit 1 | |
fi | |
# Perform the Release | |
- name: Checkout integration-release-action | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
repository: hashicorp/integration-release-action | |
path: ./integration-release-action | |
- name: Notify Release | |
uses: ./integration-release-action | |
with: | |
# The integration identifier will be used by the Packer team to register the integration | |
# the expected format is packer/<GitHub Org Name>/<plugin-name> | |
integration_identifier: "packer/nutanix-cloud-native/nutanix" | |
release_version: ${{ needs.strip-version.outputs.packer-version }} | |
release_sha: ${{ github.ref }} | |
github_token: ${{ secrets.GITHUB_TOKEN }} |