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

Create a branch for compute release #9637

Merged
merged 30 commits into from
Dec 4, 2024
Merged

Conversation

a-masterov
Copy link
Contributor

@a-masterov a-masterov commented Nov 5, 2024

Problem

We practice a manual release flow for the compute module. This will allow automation of the compute release process.

Summary of changes

The workflow was modified to make a compute release automatically on the branch release-compute.

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.
  • Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
  • If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

  • Do not forget to reformat commit message to not include the above checklist

@a-masterov a-masterov closed this Nov 5, 2024
@a-masterov a-masterov force-pushed the amasterov/release-compute branch from e5db27f to 4534f5c Compare November 5, 2024 14:52
@a-masterov a-masterov reopened this Nov 5, 2024
Copy link

github-actions bot commented Nov 5, 2024

7029 tests run: 6721 passed, 0 failed, 308 skipped (full report)


Flaky tests (3)

Postgres 17

Postgres 15

Postgres 14

Code coverage* (full report)

  • functions: 30.8% (8264 of 26844 functions)
  • lines: 47.8% (65160 of 136378 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
045ef92 at 2024-12-04T12:43:52.253Z :recycle:

@a-masterov a-masterov requested a review from bayandin November 7, 2024 15:58
Copy link
Member

@bayandin bayandin left a comment

Choose a reason for hiding this comment

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

I see mentions of release-proxy workflow in a couple of more files:

$ git grep -l release-proxy
.github/actions/allure-report-generate/action.yml
.github/actions/allure-report-store/action.yml
.github/workflows/build_and_test.yml
.github/workflows/release.yml
.github/workflows/trigger-e2e-tests.yml

Do we need to update them to take into account release-compute?

.github/workflows/release.yml Outdated Show resolved Hide resolved
@a-masterov a-masterov requested a review from bayandin November 12, 2024 16:59
Copy link
Member

@bayandin bayandin left a comment

Choose a reason for hiding this comment

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

Well done! Left a couple of suggestions and we're good to go!

Before merging we need to:

  • create release-compute branch (from release)

Right after the merge:

  • ask to use a release-compute branch instead of release (and a proper parameter for release.yml workflow)
  • let people know that for compute releases they should use release-compute- prefixed tag (instead of release-)

.github/workflows/build_and_test.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
@a-masterov a-masterov requested a review from ololobus November 18, 2024 12:21
bayandin added a commit that referenced this pull request Nov 19, 2024
## Problem

We have a bunch of duplicated code for automated releases. There will be
even more, once we have `release-compute` branch
(#9637).

Another issue with the current `release` workflow is that it creates a
PR from the main as is. If we create 2 different releases from the
same commit, GitHub could mix up results from different PRs.

## Summary of changes
- Create a reusable workflow for releases
- Create an empty commit to differentiate releases
@a-masterov a-masterov changed the title Creare a branch for compute release Create a branch for compute release Nov 21, 2024
@a-masterov a-masterov requested a review from a team as a code owner November 21, 2024 14:08
@a-masterov a-masterov marked this pull request as draft November 21, 2024 14:10
@a-masterov a-masterov marked this pull request as ready for review November 26, 2024 09:35
Copy link
Member

@bayandin bayandin left a comment

Choose a reason for hiding this comment

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

Looks really nice, thank you!

.github/workflows/release.yml Show resolved Hide resolved
@a-masterov a-masterov added this pull request to the merge queue Dec 4, 2024
Merged via the queue into main with commit dec2e2f Dec 4, 2024
85 checks passed
@a-masterov a-masterov deleted the amasterov/release-compute branch December 4, 2024 13:10
awarus pushed a commit that referenced this pull request Dec 5, 2024
## Problem
We practice a manual release flow for the compute module. This will
allow automation of the compute release process.

## Summary of changes
The workflow was modified to make a compute release automatically on the
branch release-compute.
## Checklist before requesting a review

- [x] I have performed a self-review of my code.
- [ ] If it is a core feature, I have added thorough tests.
- [ ] Do we need to implement analytics? if so did you add the relevant
metrics to the dashboard?
- [ ] If this PR requires public announcement, mark it with
/release-notes label and add several sentences in this section.

## Checklist before merging

- [ ] Do not forget to reformat commit message to not include the above
checklist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants