dbt-labs / dbt-snowflake

dbt-snowflake contains all of the code enabling dbt to work with Snowflake
https://getdbt.com
Apache License 2.0
296 stars 176 forks source link

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

Closed mikealfare closed 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`, `version-bump`, etc.)

Suggestions

Style standards:

mikealfare commented 3 months ago

This issue is consolidated into https://github.com/dbt-labs/dbt-snowflake/issues/1004.