Skip to content

Commit 324b3db

Browse files
committed
chore: prepare for repo transfer to broadcom
1 parent a437f5a commit 324b3db

File tree

4 files changed

+20
-13
lines changed

4 files changed

+20
-13
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Copyright (c) HashiCorp, Inc.
21
# SPDX-License-Identifier: MPL-2.0
32

43
# This GitHub action can publish assets for release when a tag is created.
@@ -48,16 +47,18 @@ jobs:
4847
- name: Describe plugin
4948
id: plugin_describe
5049
run: echo "api_version=$(go run . describe | jq -r '.api_version')" >> "$GITHUB_OUTPUT"
51-
- name: Install signore
52-
uses: hashicorp/setup-signore-package@v1
50+
- name: Import GPG key
51+
id: import_gpg
52+
uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec # v6.3.0
53+
with:
54+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
55+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
5356
- name: Run GoReleaser
5457
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
5558
with:
5659
version: latest
5760
args: release --clean --timeout 120m
5861
env:
62+
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
5963
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6064
API_VERSION: ${{ steps.plugin_describe.outputs.api_version }}
61-
SIGNORE_CLIENT_ID: ${{ secrets.SIGNORE_CLIENT_ID }}
62-
SIGNORE_CLIENT_SECRET: ${{ secrets.SIGNORE_CLIENT_SECRET }}
63-
SIGNORE_SIGNER: ${{ secrets.SIGNORE_SIGNER }}

.goreleaser.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Copyright (c) HashiCorp, Inc.
21
# SPDX-License-Identifier: MPL-2.0
32

43
# This is an example goreleaser.yaml file with some defaults.
@@ -94,10 +93,17 @@ checksum:
9493
name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
9594
algorithm: sha256
9695
signs:
97-
- cmd: signore
98-
args: ["sign", "--dearmor", "--file", "${artifact}", "--out", "${signature}"]
99-
artifacts: checksum
100-
signature: ${artifact}.sig
96+
- artifacts: checksum
97+
args:
98+
# if you are using this is in a GitHub action or some other automated pipeline, you
99+
# need to pass the batch flag to indicate its not interactive.
100+
- "--batch"
101+
- "--local-user"
102+
- "{{ .Env.GPG_FINGERPRINT }}"
103+
- "--output"
104+
- "${signature}"
105+
- "--detach-sign"
106+
- "${artifact}"
101107

102108
changelog:
103109
use: github-native

.web-docs/metadata.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
integration {
77
name = "VMware vSphere"
88
description = "The vSphere plugin is able to create vSphere virtual machines for use with any VMware product."
9-
identifier = "packer/hashicorp/vsphere"
9+
identifier = "packer/vmware/vsphere"
1010
flags = ["hcp-ready"]
1111
component {
1212
type = "builder"

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @hashicorp/packer
1+
* @tenthirtyam @hashicorp/packer

0 commit comments

Comments
 (0)