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

[CI/CD] Update release workflow and introduce workflow for nightly releases #6602

Merged
merged 9 commits into from
Jan 27, 2023

Conversation

alexander-smolyakov
Copy link
Contributor

@alexander-smolyakov alexander-smolyakov commented Jan 13, 2023

resolves - N/A

Description

This pull request contains the following changes:

  • Updates for release workflow to use reusable workflows;
  • Introduces nightly releases workflow;

Changelog:
release.yml:

  • Added workflow_call trigger;
  • Updated workflow inputs;
  • Steps replaced with reusable workflows;

nightly-release.yml:

  • Added initial implementation;

env-setup.sh:

  • Added script to setup environment for integration tests;

.bumpversion.cfg:

  • Updated parse and serialize properties of config to respect the development segment for nightly releases;

Checklist

@alexander-smolyakov alexander-smolyakov added repo ci/cd Testing and continuous integration for dbt-core + adapter plugins Skip Changelog Skips GHA to check for changelog file labels Jan 13, 2023
@cla-bot
Copy link

cla-bot bot commented Jan 13, 2023

Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA.

In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, don't hesitate to ping @drewbanin.

CLA has not been signed by users: @alexander-smolyakov

@alexander-smolyakov alexander-smolyakov self-assigned this Jan 13, 2023
@jtcohen6 jtcohen6 added the tech_debt Behind-the-scenes changes, with little direct impact on end-user functionality label Jan 15, 2023
@cla-bot cla-bot bot added the cla:yes label Jan 16, 2023
- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`
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.

This looks good. We won't be setting up the temp slack channel in this repo so we need to update the token to be the final token.

@alexander-smolyakov alexander-smolyakov marked this pull request as ready for review January 27, 2023 11:58
@alexander-smolyakov alexander-smolyakov requested review from leahwicz and a team as code owners January 27, 2023 11:58
@emmyoop emmyoop merged commit 82d9b2f into main Jan 27, 2023
@emmyoop emmyoop deleted the users/alexander-smolyakov/update-release-workflow branch January 27, 2023 15:04
alexander-smolyakov added a commit that referenced this pull request Jan 31, 2023
…leases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI
alexander-smolyakov added a commit that referenced this pull request Jan 31, 2023
…leases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI
alexander-smolyakov added a commit that referenced this pull request Jan 31, 2023
…leases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI
alexander-smolyakov added a commit that referenced this pull request Jan 31, 2023
…leases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI
emmyoop added a commit that referenced this pull request Feb 1, 2023
* [CI/CD] Update release workflow and introduce workflow for nightly releases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI

* Update release workflow (#6778)

- Update AWS secrets
- Rework condition for Slack notification

---------

Co-authored-by: Emily Rockman <[email protected]>
emmyoop added a commit that referenced this pull request Feb 3, 2023
* [CI/CD] Update release workflow and introduce workflow for nightly releases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI

* Update release workflow (#6778)

- Update AWS secrets
- Rework condition for Slack notification

* update regex to match all iterations (#6839)

* update regex to match all iterations

* convert to num to match all adapters

* add comments, remove extra .

* clarify with more comments

* Update .bumpversion.cfg

Co-authored-by: Nathaniel May <[email protected]>

---------

Co-authored-by: Nathaniel May <[email protected]>
# Conflicts:
#	.bumpversion.cfg

* put back correct version

---------

Co-authored-by: Emily Rockman <[email protected]>
emmyoop added a commit that referenced this pull request Feb 3, 2023
* [CI/CD] Update release workflow and introduce workflow for nightly releases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI

* Update release workflow (#6778)

- Update AWS secrets
- Rework condition for Slack notification

* update regex to match all iterations (#6839)

* update regex to match all iterations

* convert to num to match all adapters

* add comments, remove extra .

* clarify with more comments

* Update .bumpversion.cfg

Co-authored-by: Nathaniel May <[email protected]>

---------

Co-authored-by: Nathaniel May <[email protected]>
# Conflicts:
#	.bumpversion.cfg

* put back correct version

---------

Co-authored-by: Emily Rockman <[email protected]>
emmyoop added a commit that referenced this pull request Feb 3, 2023
* [CI/CD] Update release workflow and introduce workflow for nightly releases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI

* Update release workflow (#6778)

- Update AWS secrets
- Rework condition for Slack notification

* update regex to match all iterations (#6839)

* update regex to match all iterations

* convert to num to match all adapters

* add comments, remove extra .

* clarify with more comments

* Update .bumpversion.cfg

Co-authored-by: Nathaniel May <[email protected]>

---------

Co-authored-by: Nathaniel May <[email protected]>
# Conflicts:
#	.bumpversion.cfg

* put back correct version

---------

Co-authored-by: Emily Rockman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes repo ci/cd Testing and continuous integration for dbt-core + adapter plugins Skip Changelog Skips GHA to check for changelog file tech_debt Behind-the-scenes changes, with little direct impact on end-user functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants