mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
VAULT-34830 actions(plugin-update): update plugins from enterprise (#31474)
* [VAULT-34830] actions(plugin-update): update plugins from enterprise Signed-off-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
parent
7af25674b4
commit
b5b4a95280
1 changed files with 6 additions and 2 deletions
8
.github/workflows/plugin-update.yml
vendored
8
.github/workflows/plugin-update.yml
vendored
|
|
@ -16,6 +16,10 @@ on:
|
|||
description: 'Version of the plugin with *NO* "v", e.g., 1.2.3'
|
||||
required: true
|
||||
type: string
|
||||
ent-only:
|
||||
description: Whether or not the plugin is enterprise only
|
||||
required: true
|
||||
type: boolean
|
||||
reviewer:
|
||||
description: 'Reviewer to tag on the PR'
|
||||
required: false
|
||||
|
|
@ -52,13 +56,13 @@ jobs:
|
|||
git config user.name hc-github-team-secure-vault-ecosystem
|
||||
git config user.email hc-github-team-secure-vault-ecosystem@users.noreply.github.com
|
||||
|
||||
- if: steps.metadata.outputs.is-ent-branch != 'true'
|
||||
- if: ! inputs.ent-only
|
||||
name: Update plugin
|
||||
run: |
|
||||
go get "github.com/hashicorp/${{ inputs.plugin }}@v${{ inputs.version }}"
|
||||
go mod tidy
|
||||
|
||||
- if: steps.metadata.outputs.is-ent-branch == 'true'
|
||||
- if: inputs.ent-only
|
||||
name: Update Enterprise-only plugin
|
||||
run: |
|
||||
(cd vault_ent && go get "github.com/hashicorp/${{ inputs.plugin }}@v${{ inputs.version }}" && go mod tidy)
|
||||
|
|
|
|||
Loading…
Reference in a new issue