Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community: Switch to upstream ghaction-import-gpg action #10

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Jul 15, 2022

Reference: hashicorp/ghaction-import-gpg#11

The GitHub hosted runners are now running gpg-agent by default, which can cause the following error:

Run hashicorp/ghaction-import-gpg@v2.1.0
Run gpg-agent --daemon --default-cache-ttl 7200
gpg-agent[1632]: directory '/home/runner/.gnupg' created
gpg-agent[1632]: directory '/home/runner/.gnupg/private-keys-v1.d' created
gpg-agent: a gpg-agent is already running - not starting a new one
Error: Process completed with exit code 2.

The hashicorp fork of the ghaction-import-gpg action is not maintained and the recommendation is to switch to the upstream action.

Reference: hashicorp/ghaction-import-gpg#11

The GitHub hosted runners are now running `gpg-agent` by default, which can cause the following error:

```text
Run hashicorp/ghaction-import-gpg@v2.1.0
Run gpg-agent --daemon --default-cache-ttl 7200
gpg-agent[1632]: directory '/home/runner/.gnupg' created
gpg-agent[1632]: directory '/home/runner/.gnupg/private-keys-v1.d' created
gpg-agent: a gpg-agent is already running - not starting a new one
Error: Process completed with exit code 2.
```

The `hashicorp` fork of the `ghaction-import-gpg` action is not maintained and the recommendation is to switch to the upstream action.
@bflad bflad added the bug Something isn't working label Jul 15, 2022
@bflad bflad requested a review from mdeggies July 15, 2022 17:31
@bflad bflad requested a review from a team as a code owner July 15, 2022 17:31
Copy link
Member

@mdeggies mdeggies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, Brian! I'm working on a script to update these references across projects, but it's great to have this reflected here so quickly. TY!

@bflad bflad merged commit 5c2f2c9 into main Jul 15, 2022
@bflad bflad deleted the bflad-import-gpg-update branch July 15, 2022 20:24
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants