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

Clean up gpg-sign and papertrail actions #5

Merged
merged 6 commits into from
May 10, 2024

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented May 10, 2024

  • Fix handling of multiple files, supporting glob patterns
  • Require a release version for papertrail
  • Typo fixes

Example run: https://github.com/blink1073/winkerberos/actions/runs/9024423244/job/24798319965

@blink1073 blink1073 requested a review from alcaeus May 10, 2024 00:03
@@ -54,5 +54,5 @@ runs:
-v $(pwd):$(pwd) \
-w $(pwd) \
${{ inputs.artifactory_registry }}/${{ inputs.artifactory_image }} \
/bin/bash -c 'gpgloader && for filename in "${{ inputs.filenames }}"; do gpg --detach-sign --armor --output ${filename}.sig ${filename}; done'
/bin/bash -c 'gpgloader && for filename in ${{ inputs.filenames }}; do gpg --detach-sign --armor --output ${filename}.sig ${filename}; done'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh, I was under the assumption that the space separated lists needed to be quoted. This is much better!

Copy link
Member Author

Choose a reason for hiding this comment

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

It would have. We only support single filenames or a glob pattern now. But it was surprisingly difficult to generate a space separated list from a directory listing.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I see. Works for me 👍

@alcaeus alcaeus merged commit 798f0de into mongodb-labs:main May 10, 2024
1 check passed
@blink1073 blink1073 deleted the test branch May 10, 2024 10:34
@blink1073 blink1073 restored the test branch May 10, 2024 10:36
@blink1073 blink1073 deleted the test branch May 10, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants