-
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: Features | ||
body: ' Add new workflow for internal patch releases' | ||
time: 2024-03-18T03:31:36.425644-07:00 | ||
custom: | ||
Author: versusfacit | ||
Issue: "38" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Release internal patch | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version_number: | ||
description: "The release version number (i.e. 1.0.0b1)" | ||
type: string | ||
required: true | ||
sha: | ||
description: "The sha to use (leave empty to use latest on main)" | ||
type: string | ||
required: false | ||
package_test_command: | ||
description: "Package test command" | ||
type: string | ||
default: "python -c \"import dbt.adapters.snowflake\"" | ||
required: true | ||
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 commentThe reason will be displayed to describe this comment to others. Learn more. Would this ever be a value besides |
||
required: true | ||
workflow_call: | ||
inputs: | ||
version_number: | ||
description: "The release version number (i.e. 1.0.0b1)" | ||
type: string | ||
required: true | ||
sha: | ||
description: "The sha to use (leave empty to use latest on main)" | ||
type: string | ||
required: false | ||
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 commentThe reason will be displayed to describe this comment to others. Learn more. Nit; should we change this to |
||
required: true | ||
dbms_name: | ||
description: "The name of the warehouse the adapter connects to." | ||
type: string | ||
default: "snowflake" | ||
required: true | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
env: | ||
PYTHON_TARGET_VERSION: 3.11 | ||
|
||
jobs: | ||
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 commentThe reason will be displayed to describe this comment to others. Learn more. Should we migrate this workflow to the |
||
|
||
with: | ||
version_number: ${{ inputs.version_number }} | ||
package_test_command: ${{ inputs.package_test_command }} | ||
dbms_name: ${{ inputs.dbms_name }} | ||
sha: ${{ inputs.sha }} | ||
|
||
secrets: inherit |
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
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?