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

chore: fix release workflow #508

Merged
merged 8 commits into from
Feb 28, 2024
Merged

Conversation

codemonkey800
Copy link
Contributor

#437

  • Rename package name to cryoet-data-portal-web to be clearer it's a frontend tag
  • Adds workflow to generate frontend release PR for every push to main
    • Any existing PRs will edited to include the updated changelog
  • Refactored the prod workflow
    • Fix issue with workflow not detecting previous release tags
    • Able to tag a release after PR is merged
    • Adds a comment to the PR with a link to the tag the PR was released in
    • Add workflow dispatch option to deploy to Terraform and skip PR merging + tagging

Demos

All example runs, PRs, and tags can be found in my fork:
https://github.com/codemonkey800/cryoet-data-portal

image image

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.06%. Comparing base (48bce7f) to head (919a8ad).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #508   +/-   ##
=======================================
  Coverage   96.06%   96.06%           
=======================================
  Files           8        8           
  Lines         661      661           
=======================================
  Hits          635      635           
  Misses         26       26           
Flag Coverage Δ
unittests 96.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.github/workflows/prod-deploy.yml Outdated Show resolved Hide resolved
@@ -1,5 +1,5 @@
{
"name": "cryoet-data-portal",
"name": "cryoet-data-portal-web",
Copy link
Contributor

Choose a reason for hiding this comment

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

🔥

@manasaV3
Copy link
Contributor

We should also have a way to rerun the workflow for the case where a version was tagged successfully, but requires redeployment because the prod deploy failed. 🙈

.github/workflows/prod-deploy.yml Outdated Show resolved Hide resolved
.github/workflows/prod-deploy.yml Outdated Show resolved Hide resolved
.github/workflows/prod-deploy.yml Outdated Show resolved Hide resolved
.github/workflows/prod-deploy.yml Show resolved Hide resolved
@codemonkey800 codemonkey800 changed the title fix release workflow ci: fix release workflow Feb 27, 2024
@codemonkey800 codemonkey800 changed the title ci: fix release workflow chore: fix release workflow Feb 27, 2024
Copy link
Contributor

@manasaV3 manasaV3 left a comment

Choose a reason for hiding this comment

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

:shipit:

@codemonkey800 codemonkey800 merged commit 1cf95e6 into main Feb 28, 2024
16 of 18 checks passed
@codemonkey800 codemonkey800 deleted the jeremy/fix-release-workflow branch February 28, 2024 03:30
github-actions bot added a commit that referenced this pull request Feb 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.1.0](web-v1.0.1...web-v1.1.0)
(2024-02-29)


### ✨ Features

* annotation table updates
([#481](#481))
([097e271](097e271))


### 🐞 Bug Fixes

* Mapping samplings available to db field
([#487](#487))
([7730efb](7730efb))
* remove axios cache
([#505](#505))
([6b4d2f2](6b4d2f2))


### 🧹 Miscellaneous Chores

* fix release workflow
([#508](#508))
([1cf95e6](1cf95e6))
* **main:** release cryoet-data-portal 1.0.1
([#506](#506))
([c9896c7](c9896c7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
kne42 added a commit that referenced this pull request Feb 29, 2024
* main:
  chore: Fixing prod e2e test name (#519)
  chore: support more conventional commit types (#515)
  chore(main): release web 1.1.1 (#517)
  chore: add sh to readme (#518)
  fix: prod deploy tagging (#516)
  chore(main): release web 1.1.0 (#511)
  fix: fix deploy var (#514)
  feat: annotation table updates (#481)
  fix: Mapping samplings available to db field (#487)
  chore: fix release workflow (#508)
  feat: Update workflow for automating prod deploy (#471)
  chore(main): release cryoet-data-portal 1.0.1 (#506)
  fix: remove axios cache (#505)
  release changelog workflow (#476)
  E2E tests workflow (#473)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants