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

Refactor Actions and Add Python-Specific Actions #6

Merged
merged 40 commits into from
May 23, 2024

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented May 22, 2024

  • Add a top-level setup action that handles secrets from AWS and sets up environment
  • Change git-sign and gpg-sign to use the file and environment variables created in setup
  • Rename the papertrail action to be more generic
  • Add opinionated python actions for bump-and-tag, and publishing.
  • We will need to tag current main as v1 and call this v2.
  • Update top level readme
  • Tested with PYTHON-4417 Use refactored actions from drivers-github-tools mongodb/winkerberos#86

@blink1073 blink1073 requested a review from alcaeus May 22, 2024 11:49
@blink1073 blink1073 marked this pull request as ready for review May 22, 2024 11:49
Copy link
Collaborator

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

Left some feedback. Note that I haven't reviewed the Python action and would defer to someone from the Python team for that.

README.md Outdated Show resolved Hide resolved
setup/setup.sh Outdated Show resolved Hide resolved
setup/action.yml Show resolved Hide resolved
setup/action.yml Outdated Show resolved Hide resolved
gpg-sign/action.yml Outdated Show resolved Hide resolved
blink1073 and others added 4 commits May 22, 2024 08:00
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
README.md Outdated Show resolved Hide resolved
version:
description: "The published version"
required: true
post_version:
Copy link
Collaborator

Choose a reason for hiding this comment

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

post_version is a little ambiguous: I'd prefer to rename this something more explicit like following_version.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

gh release upload ${VERSION} $RELEASE_ASSETS/*.*
gh release view ${VERSION} >> $GITHUB_STEP_SUMMARY
else
echo "Dry run, not uploading to s3 or creating GitHub Release"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it make sense to have the dry run print information about what it would have published?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

blink1073 and others added 2 commits May 22, 2024 11:13
@blink1073 blink1073 requested a review from NoahStapp May 22, 2024 16:17
README.md Outdated Show resolved Hide resolved
Co-authored-by: Noah Stapp <[email protected]>
@blink1073 blink1073 requested a review from NoahStapp May 22, 2024 17:36
Copy link
Collaborator

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

Just a small suggestion to use the v2 tag in the readme, but since we haven't tagged it yet I'll let you decide whether you want to make the change now or defer until later.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
blink1073 and others added 14 commits May 23, 2024 08:23
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
@blink1073 blink1073 requested a review from alcaeus May 23, 2024 13:28
@blink1073 blink1073 merged commit a1f9615 into mongodb-labs:main May 23, 2024
1 check passed
@blink1073 blink1073 deleted the refactor branch May 23, 2024 13:57
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.

3 participants