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

Add Snowflake internal build process workflow #931

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

VersusFacit
Copy link
Contributor

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.

@VersusFacit VersusFacit requested review from emmyoop and aranke March 18, 2024 10:34
@VersusFacit VersusFacit self-assigned this Mar 18, 2024
@cla-bot cla-bot bot added the cla:yes label Mar 18, 2024
@VersusFacit VersusFacit force-pushed the add_release_internal_workflow branch from 42a52b2 to 27e9cdf Compare March 18, 2024 10:35
Copy link
Member

@emmyoop emmyoop left a 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'
Copy link
Member

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

Suggested change
body: ' Add new workflow for internal patch releases'
body: 'Add new workflow for internal patch releases'

Copy link
Member

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?

Copy link
Member

@emmyoop emmyoop left a 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.

Copy link
Member

@aranke aranke left a 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'
Copy link
Member

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"
Copy link
Member

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\""
Copy link
Member

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
Copy link
Member

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?

@mikealfare mikealfare merged commit eecbbf3 into main Mar 19, 2024
25 checks passed
@mikealfare mikealfare deleted the add_release_internal_workflow branch March 19, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants