dbt-labs / dbt-postgres

Apache License 2.0
34 stars 14 forks source link

[CI/CD Improvements] Update and simplify CD workflows #139

Open mikealfare opened 3 months ago

mikealfare commented 3 months ago

Is this your first time submitting a feature request?

Describe the feature

As a maintainer, I want to simplify the CD jobs, so that deployment is more reliable and stable.

## Acceptance Criteria
- [ ] All workflows adhere to the style standards below
- [ ] This package is automatically published to dbt's private PyPI daily from `main`; the current workflow is cancelled in favor of the new workflow when this job is resubmitted
- [ ] This package can be published on demand to the public PyPI, GitHub, and Docker for the specified branch; the current workflow is cancelled in favor of the new workflow when this job is resubmitted for the same branch
- [ ] This package is tested against appropriate published packages prior to releasing
- [ ] I can publish to both test and production versions of publishing targets
- [ ] Publishing to PyPI is authorized via Trusted Publishers
- [ ] Integration tests are only configured in one place (e.g. environment variables, the Postgres service, etc.)
- [ ] Legacy workflows are removed (e.g. `release`, `release-internal`, `release_prep_hatch`, `version-bump`, etc.)

Suggestions

Style standards: