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

Finish internal build workflow #945

Merged
merged 12 commits into from
Mar 26, 2024
Merged

Conversation

VersusFacit
Copy link
Contributor

@VersusFacit VersusFacit commented Mar 21, 2024

Problem

We need a workflow that calls the internal build release workflow found here.

Solution

This PR adds the file and documents the what/how/why.

Proof of the build process working:

image

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@VersusFacit VersusFacit self-assigned this Mar 21, 2024
@cla-bot cla-bot bot added the cla:yes label Mar 21, 2024
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-snowflake contributing guide.


uses: VersusFacit/dbt-release/.github/workflows/internal-archive-release.yml@main
uses: "dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@mp/finish_internal_workflow"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to change this once main has all the changes needed to support all the other workflows. Since this PR's workflow can be invoked using the branch reference, I'll merge at the time I can revert to main (unless there is an alternate path desired)

setup.py Outdated
@@ -33,8 +33,9 @@ def _get_plugin_version_dict():
_version_path = os.path.join(this_directory, "dbt", "adapters", "snowflake", "__version__.py")
_semver = r"""(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)"""
_pre = r"""((?P<prekind>a|b|rc)(?P<pre>\d+))?"""
_build = r"""(\+build[0-9]+)?"""
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ? renders it optional which is what I think we want -- there will be many builds without this suffix.

@VersusFacit VersusFacit force-pushed the add_release_internal_workflow branch from e7fd38f to fe6bffa Compare March 21, 2024 08:09
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, but same comments as dbt-labs/dbt-redshift#735

@VersusFacit VersusFacit added the Skip Changelog Skips GHA to check for changelog file label Mar 26, 2024
setup.py Show resolved Hide resolved
@VersusFacit
Copy link
Contributor Author

VersusFacit commented Mar 26, 2024

Finished build for last sha! https://github.com/dbt-labs/dbt-snowflake/actions/runs/8443836576

@VersusFacit
Copy link
Contributor Author

sha concern will be followed up in next PR.

@VersusFacit VersusFacit merged commit f3aa240 into main Mar 26, 2024
36 checks passed
@VersusFacit VersusFacit deleted the add_release_internal_workflow branch March 26, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes Skip Changelog Skips GHA to check for changelog file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants