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

hotfix/release process #84

Merged
merged 8 commits into from
Aug 4, 2023
Merged

hotfix/release process #84

merged 8 commits into from
Aug 4, 2023

Conversation

njooma
Copy link
Member

@njooma njooma commented Aug 3, 2023

Update the release process to use environments. What are environments? Well they are a way to deploy code with protections and customizable secrets. That way, we could have different secrets for different deployments (e.g. a test or internal package repository for RC deployments, vs a public package repo for production deployments).

It also means we can get rid of some janky steps in the workflow. Anyone can now run the action, but people from our team need to approve it. This makes it more like PRs, where people can request deployments and we approve them.

It's also a lot safer -- both pypi and pub.dev allow for restricting deployments only from specific environments

@njooma njooma requested a review from a team as a code owner August 3, 2023 19:20
@njooma njooma requested review from stuqdog and jckras August 3, 2023 19:20
@njooma njooma merged commit d101c96 into main Aug 4, 2023
1 check passed
@njooma njooma deleted the hotfix/release-process branch August 4, 2023 15:49
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