lotta-schule / web

Lotta Web Monorepo
https://lotta.schule
GNU Affero General Public License v3.0
4 stars 0 forks source link

Feature/preview envs #219

Closed ptitmouton closed 1 month ago

ptitmouton commented 2 months ago

Dieser PR ermöglicht es, ein Docker-Image der lotta-Webapp zu erstellen, ohne dass dafür npm-Packages veröffentlicht werden müssen.

Die Veröffentlichung von @lotta-schule/theme soll komplett wegfallen Die Veröffentlichung von @lotta-schule/storybook-addon-theme und @lotta-schule/hubert soll nur noch bei Release neben der Veröffentlichung eines aktuellen Docker-Images vonstatten gehen.

Dass npm-Packages nicht mehr zwangsläufig veröffentlicht werden müssen, um ein Docker-Image eines beliebigen git-Commits zu bekommen, soll es ermöglichen, flexibler zu deployen:

Die Möglichkeit, einzelne Branches zu deployen soll gleich dazu genutzt werden, Preview Environments in PRs anzubieten. Perspektivisch könnten darauf auch e2e-Tests durchgeführt werden.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.43%. Comparing base (219864f) to head (aa0caf3). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #219 +/- ## ========================================== + Coverage 63.53% 69.43% +5.90% ========================================== Files 349 350 +1 Lines 5558 6855 +1297 Branches 732 2184 +1452 ========================================== + Hits 3531 4760 +1229 - Misses 1815 1873 +58 - Partials 212 222 +10 ``` | [Flag](https://app.codecov.io/gh/lotta-schule/web/pull/219/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lotta-schule) | Coverage Δ | | |---|---|---| | [hubert](https://app.codecov.io/gh/lotta-schule/web/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lotta-schule) | `88.92% <ø> (+4.76%)` | :arrow_up: | | [storybook-addon-theme](https://app.codecov.io/gh/lotta-schule/web/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lotta-schule) | `?` | | | [webapp](https://app.codecov.io/gh/lotta-schule/web/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lotta-schule) | `66.38% <ø> (+6.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lotta-schule#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lotta-argocd-notification[bot] commented 1 month ago

Preview-Anwendung wurde erfolgreich deployed. Erreichbar unter: https://*.preview-219.lotta.schule Beispiel: https://info.preview-219.lotta.schule