-
Notifications
You must be signed in to change notification settings - Fork 59
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
using string interpoloation to gather correct pointer for dbt-core te… #80
Conversation
* Slack message for failed nightly runs (#41) * Add Redshift parameter to create tables with backup option specified (#42) * Update impl and adapters to support backup parameter * Add test files * Add test files * Add PR link to Changelog * Add EOF newlines * Debug and split test into two separate cases * Add contributor info Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com> * Bumping version to 1.0.0rc2 (#45) * Bumping version to 1.0.0rc2 * Update changelog Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com> Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com> Co-authored-by: Dan Bryan <dlb8685@gmail.com> Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com>
* Bumping version to 1.0.0 (#47) Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com> * Update CHANGELOG.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com>
…sts against release branches
4b7b12f
to
5571085
Compare
…om:dbt-labs/dbt-redshift into mcknight/fix_gha_for_adapter_releases
Tests pass when we change |
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.
couple small comments. Slack me and I'll prioritize a rereview.
tests/integration/backup_table_tests/test_backup_table_option.py
Outdated
Show resolved
Hide resolved
tests/integration/backup_table_tests/test_backup_table_option.py
Outdated
Show resolved
Hide resolved
tests/integration/backup_table_tests/test_backup_table_option.py
Outdated
Show resolved
Hide resolved
.github/workflows/main.yml
Outdated
- name: Install python dependencies | ||
run: | | ||
pip install --user --upgrade pip | ||
pip install tox | ||
pip --version | ||
tox --version | ||
|
||
- name: Install dbt-core latest | ||
- name: Install dbt-core from branch ${{ steps.dbt-core-version.outputs.dbt-version.dbt-core-ref }} |
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.
- name: Install dbt-core from branch ${{ steps.dbt-core-version.outputs.dbt-version.dbt-core-ref }} | |
- name: Install dbt-core from branch ${{ steps.dbt-core-version.outputs.dbt-version }} |
I don't think you need the dbt-core-ref
anymore do you?
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.
name change was based on suggestion by @kwigley in earlier comments #80 (comment)
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 see. I think the problem here is the name change only happens in single place (the install step name) but nowhere else. That variable is not set to anything so it is blank.
Also the name change should remove dbt-version
then and not just append to it:
Original name: steps.dbt-core-version.outputs.dbt-version
Suggested name: steps.dbt-core-version.outputs.dbt-core-ref
What is here: steps.dbt-core-version.outputs.dbt-version.dbt-core-ref
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.
Name change modified in steps description, postgres section and steps to all be assigned same.
…e iof where version is coming from
…om:dbt-labs/dbt-redshift into mcknight/fix_gha_for_adapter_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.
Looks good! Thanks Matt!
* backporting #80 to unstick releases for adapters * updating dev_requirements and commenting out lines in main.yaml * adding backport of pr#58 to get rid of testing error based on pr #4512 in dbt-core * uncommenting to see if we can make pointers of local install and tox install the same * testing if tox change is all thats needed * tests failed proving the addition is needed as backport #58 * trying out removal of dbt-core-ref install * remove white-space * remove whitespace * remove trailing whitespace on main.yml
dbt-labs#80) * Merge `main` into `1.0.latest` (dbt-labs#46) * Slack message for failed nightly runs (dbt-labs#41) * Add Redshift parameter to create tables with backup option specified (dbt-labs#42) * Update impl and adapters to support backup parameter * Add test files * Add test files * Add PR link to Changelog * Add EOF newlines * Debug and split test into two separate cases * Add contributor info Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com> * Bumping version to 1.0.0rc2 (dbt-labs#45) * Bumping version to 1.0.0rc2 * Update changelog Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com> Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com> Co-authored-by: Dan Bryan <dlb8685@gmail.com> Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com> * [Backport] Bumping version to 1.0.0 (dbt-labs#47) (dbt-labs#48) * Bumping version to 1.0.0 (dbt-labs#47) Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com> * Update CHANGELOG.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com> * Fix package version (dbt-labs#49) * using string interpoloation to gather correct pointer for dbt-core tests against release branches * created new job for gha to grab correct version of dbt-core to test branch against * minor update * adding Get dbt-core-version step to integration.yaml * modifying version parameters * change for integration testing * updating file * readding pull_request_target now that tests pass * make nit: suggested changes * testing conditional logic in integration.yml * updating test names * creating main.yml versions of new condtional steps for dbt-version gather * trying different version of test v.2 * v.3 of conditional mix of original version of tests and leah logic * adding comment and changelog entry * changes made after review by @VersusFacit and @kwigley * name change * minor updates * updating name of version ref * name change of dbt-version step to dbt-core-ref to be more descriptive iof where version is coming from * Update test_backup_table_option.py * Update test_backup_table_option.py * reseting file that shouldn't of been changed Co-authored-by: leahwicz <60146280+leahwicz@users.noreply.github.com> Co-authored-by: Dan Bryan <dlb8685@gmail.com> Co-authored-by: Jeremy Cohen <jeremy@dbtlabs.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com>
resolves #77
Description
adds github action itenterpoloation
NOTE: possible issue to fix later on in cases of pushing to none main or latest branches. ex feature branches
Checklist
CHANGELOG.md
and added information about my change to the "dbt-redshift next" section.