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

Refactor project configuration and CI/CD workflows #981

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

maximilianoertel
Copy link
Collaborator

@maximilianoertel maximilianoertel commented Dec 6, 2024

* Remove firebaserc files

* Remove firebase exports

* Remove hard-coded configs in favour of env variables

* Add support for dotenvx

* Add dotenvx pre-commit to husky hook

* Add env-configs submodule

* Add dotenvx support to Vite

* Fix env var boolean parsing

* Remove markRaw firekit config

* Rename check-format cmd to format:check

* Simplify package dev and build cmds
@maximilianoertel maximilianoertel self-assigned this Dec 6, 2024
@maximilianoertel maximilianoertel added the enhancement New feature or request label Dec 6, 2024
Copy link

cypress bot commented Dec 6, 2024

roar-dashboard-e2e    Run #10529

Run Properties:  status check passed Passed #10529  •  git commit 8c998f4d3a: Refactor project configuration and CI/CD workflows (#981)
Project roar-dashboard-e2e
Branch Review feat/project-config
Run status status check passed Passed #10529
Run duration 02m 18s
Commit git commit 8c998f4d3a: Refactor project configuration and CI/CD workflows (#981)
Committer Maximilian Oertel
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 87
View all changes introduced in this branch ↗︎

* Fix dotenvx support for Cypress

* Remove obsolete sharp dependency

* Adjust vite preview port config

* Adjust vitest config to support test env

* Temporarily disable cypress workflows

* Introduce build action

* Introduce deploy action

* Introduce setup-node-environment action

* Introduce deploy-firestore-config action

* Introduce update-deployment-manifest action

* Introduce whitelist-appcheck-environment action

* Refactor ci workflow to use internal actions

* Introduce deploy-development workflow

* Introduce deploy-staging workflow

* Merge firebase.json

* Delete function symlinks

* Add production deployment workflow

* Remove redundant conditionals

* Remove obsolete workflows

* Add Sentry release to production workflow

* Add project matrix fallback for manifest update steps

* Temporarily disable E2E tests

* Add debug step

* Bump env-configs

* Fix app deployment action

* Fix deployment URL output

* Re-enable workflow steps

* Bump env-configs submodule

* Add missing dotenvx key
Update `feat/project-config` from `main`
Copy link

github-actions bot commented Jan 17, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines Unknown% 0 / 0
🔵 Statements Unknown% 0 / 0
🔵 Functions Unknown% 0 / 0
🔵 Branches Unknown% 0 / 0
File CoverageNo changed files found.
Generated in workflow #1269 for commit 322322d by the Vitest Coverage Report Action

* Refactor ci workflow to use internal actions

* Enable component tests

* Remove redundant env var mapping

* Add participant and partner auth specs

* Move assent form test to legal spec

* Introduce waitForParticipantHomepage cmd

* Remove timeout from navigateTo cmd

* Improve auth cmds

* Update .env.test.example

* Remove legacy clever sign-in helper

* Combine score report specs

* Remove obsolete logout spec

* Combine progress report specs

* Refactor list orgs specs

* Refactor individual report specs

* Remove left-over whitelisted route

* Add missing data-cy attrs

* Remove obsolete specs and adjust file names

* Fix base url usage

* Remove arbitrary timeout overrides

* Remove @vite-pwa/assets-generator due to dependency conflicts

* Add temporary debug steps

* Fix debug cmd

* Remove debug steps

* Add missing cypress-wait-until dependency

* Temporarily disable component tests

* Temporarily change e2e matrix

* Fix app route constant

* Fix route definition

* Fix participant homepage test ids

* Fix test id override

* Move assessment tests into dedicated directory

* Standardize assessment specs

* Refactor parent signup invitation code specs

* Add parent test suite to E2E CI step

* Enable container parallelisation for E2E tests

* Re-enable browser matrix for E2E tests

* Remove unused old-tests directory

* Remove individual E2E test workflows

* Simplify helper functions wait statements

* Fix dotenvx support for Cypress

* Remove obsolete sharp dependency

* Adjust vite preview port config

* Add debug step

* Bump env-configs

* Fix app deployment action

* Re-enable workflow steps

* Fix formatting offenses

* Introduce cy.waitForAssessmentReadyState cmd

* Fix missing env var from example file

* Restore SWR test timeouts

* Fix config files

* Fix HomeParticipant rebase conflicts

* Fix remaining merge conflicts and formatting offenses

* Remove obsolete Cypress cmd

* Fix navbar test ids

* Fix selectors and test ids

* Add missing data table test ids

* Fix report tests

* Bump Cypress docker image

* Switch config error to console log

* Re-enable component tests

* Align auth test IDs

* Fix component test path

* Fix docker image name typo
@maximilianoertel maximilianoertel marked this pull request as ready for review January 29, 2025 17:37
@maximilianoertel maximilianoertel requested a review from a team as a code owner January 29, 2025 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants