-
Notifications
You must be signed in to change notification settings - Fork 179
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
Add Snowflake internal build process workflow #931
Conversation
42a52b2
to
27e9cdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the same questions/changes from dbt-labs/dbt-redshift#732
@@ -0,0 +1,6 @@ | |||
kind: Features | |||
body: ' Add new workflow for internal patch releases' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If adapters wants these changelogs
body: ' Add new workflow for internal patch releases' | |
body: 'Add new workflow for internal patch releases' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been tagging GH actions changes with Skip Changelog
(since these aren't shipped to end users).
Do we want to do that here too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving as is for now with the understanding that more PRs will follow on after testing since none of this can be tested before the workflow gets merged. Since this is a workflow that will be manually submitted there is little risk in this approach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM, few nits
@@ -0,0 +1,6 @@ | |||
kind: Features | |||
body: ' Add new workflow for internal patch releases' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been tagging GH actions changes with Skip Changelog
(since these aren't shipped to end users).
Do we want to do that here too?
dbms_name: | ||
description: "The name of the warehouse the adapter connects to." | ||
type: string | ||
default: "snowflake" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this ever be a value besides snowflake
?
package_test_command: | ||
description: "Package test command" | ||
type: string | ||
default: "python -c \"import dbt.adapters.snowflake\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit; should we change this to import dbt.adapters as adapters; assert hasattr(adapters, 'snowflake')
to make this a bit clearer?
invoke-reusable-workflow: | ||
name: Build and Release Internally | ||
|
||
uses: VersusFacit/dbt-release/.github/workflows/internal-archive-release.yml@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we migrate this workflow to the dbt-labs
namespace before merging?
resolves 38 of epic
This PR adds a workflow file for bigquery testing. It is based on dbt-labs/dbt-redshift#732. I assume there will be some quirks to work out. Also, we'll need to add aws secrets.