38 Commits

Author SHA1 Message Date
Carlos Santos
13858f6cca ci: update pnpm version to 10.18.3 in workflow files 2025-10-16 11:23:22 +02:00
Carlos Santos
3d4f04feb1 Migrate to pnpm
chore: migrate project to pnpm and update workspace configuration

- Added pnpm workspace configuration in pnpm-workspace.yaml to manage packages.
- Updated prepare.sh script to use pnpm for installing and building packages.
- Modified testapp/package.json scripts to use pnpm instead of npm.
- Enhanced tsconfig.client.json and tsconfig.json with additional options and exclusions.
- Updated typings README.md to reflect the use of pnpm for installation and building.

streamline build process in prepare script and update dependency installation

Refactor code structure for improved readability and maintainability

refactor: optimize Dockerfile for better layer caching and dependency installation

refactor: migrate typings from '@lib/typings/ce' to '@openvidu-meet/typings'

- Updated imports across multiple components and services to use the new '@openvidu-meet/typings' package.
- Removed legacy typings references and adjusted paths in the frontend and webcomponent projects.
- Cleaned up the typings package structure and added build scripts for TypeScript.
- Removed the sync-types.sh script as it is no longer needed with the new structure.
- Updated README and package.json files to reflect the new package name and structure.
feat: add nodemon configuration for API documentation updates and enhance development scripts

feat: implement type checking in watch mode and update development scripts

feat: enhance development scripts with wait-for-typings and watch-typings utilities

fix: remove obsolete sync:backend script and enhance dev script with preserveWatchOutput option

feat: enhance development scripts with typings guard and improve watch behavior

Refactors build and dev scripts

Simplifies and consolidates build and development-related scripts for improved maintainability.

- Updates the build process to be more streamlined.
- Improves the development workflow by consolidating common tasks.
- Removes redundant scripts.

Replaces prepare script with meet script

Replaces the old `prepare.sh` script with a new `meet.sh` script to provide a more user-friendly and comprehensive interface for building and managing the project.

- Integrates command-line arguments for different build targets.
- Includes documentation generation for web components and REST APIs.
- Provides improved error handling and user feedback.
- Simplifies the build process with `pnpm`.

chore: update typescript version to 5.9.2 across multiple package.json files
refactor: replace constructor injection with inject function for AppDataService

feat: add commands to build webcomponent and run unit tests

meet.sh: add end-to-end testing support for webcomponent with optional Playwright browser installation

chore: update pnpm version to 10 and streamline test commands in workflows

meet.sh: rename build_webcomponent_only to build_webcomponent and streamline dependency installation

gitignore: add test-results directory to ignore list

meet.sh: rename build_webcomponent_only to build_webcomponent for consistency

Updated pnpm-lock.yml

refactor: streamline build scripts and enhance service start options in meet.sh

ci: update OpenVidu Meet actions to use meet-pnpm-migration version

refactor: update import paths for WebComponentCommand and WebComponentEvent to use shared typings

fix: add moduleNameMapper for typings path in jest configuration

fix: correct action version syntax for OpenVidu Meet setup in workflow

fix: update typings imports to use shared @openvidu-meet/typings package

fix: add skip-install and skip-typings options to meet.sh and update workflows

meet.sh: add development mode command and update start services options

fix: format code in meeting.component.ts and remove unused export in public-api.ts

added openvidu-components-angular to the local workspace and watch for changes in dev mode

fix: update Node.js action to v5 and streamline build steps in wc-unit-test.yaml

fix: remove pnpm install from build scripts in package.json

fix: update backend unit test workflow and add test unit command in meet.sh

fix: update unit test command in package.json to use pnpm exec

Updates import path for LiveKit permissions

Updates the import path for LiveKit permissions to align with the new typings package location, ensuring the test suite remains functional after the project's dependencies are migrated.

fix: remove redundant dependency installation and build steps in start_services function

fix: update Node.js setup action version and adjust OpenVidu actions for pnpm migration

fix: update tsconfig.json to exclude specific type declaration paths

fix: remove deprecated dependencies and update openapi-generate-html version

fix: update build messages and streamline start commands for production and CI modes

fix: update OpenVidu Meet and Testapp actions to use main branch and streamline pre-startup commands

Refactors type import for auth mode

Updates the import path for the authentication transport mode type.

This change ensures consistency across the application by using a centralized type definition.

Refactors backend integration tests

Streamlines the backend integration test workflow.

Consolidates test jobs for better organization and efficiency.
Leverages matrix testing for recordings API with different storage providers.
Improves AWS runner management for recording tests.
Adds artifact cleanup to prevent storage bloat.

Sets up Node.js and pnpm

Adds Node.js and pnpm setup steps to the integration test workflow.

This enables the use of pnpm for managing dependencies during integration tests.

Refactors test commands to use pnpm exec

Updates the test commands in package.json to use `pnpm exec`
for running Jest.

This ensures that the Jest CLI is executed within the pnpm
managed environment, resolving potential path and dependency
issues.

Refactors imports to use the new typings package

Updates imports to use the new `@openvidu-meet/typings` package.
Removes now-unnecessary module name mappings.

This change is part of the pnpm migration, ensuring correct
resolution of shared types.

Enhances backend integration tests and updates Node.js setup

Simplifies integration tests execution

Updates integration test scripts to streamline execution.

- Uses a single, parameterized script to run all backend integration tests.
- Removes redundant prefixes from test script names.

Refactors jest configuration to include moduleNameMapper for improved module resolution

Updates Jest integration test commands to use experimental VM modules and adjusts TypeScript root directory settings for better output structure

Ensures OpenVidu Meet logs are uploaded

Guarantees OpenVidu Meet logs are uploaded as artifacts, regardless of test outcome.

Moves log upload to ensure consistent capture, and does so for all test scenarios.

Commented backend integration tests

Fix build script to specify TypeScript configuration file

Refactor integration test command to use pnpm bin for jest execution

Update integration test commands to use relative paths for Jest execution

Revert "Commented backend integration tests"

This reverts commit 1da8cddb55e29036c2a816244f4bc8b665ede581.

Change log upload condition to trigger on failure for OpenVidu Meet logs

Add caching step for OpenVidu local deployment images in backend integration tests

Revert "Add caching step for OpenVidu local deployment images in backend integration tests"

This reverts commit bf4692d168c671100a88c09853a460ec5417979d.

Enhance AWS runner setup with storage provider matrix and update job names for clarity

Refactor AWS runner setup to separate jobs for S3, ABS, and GCS, enhancing clarity and maintainability

Update README.md to enhance structure and clarity, including detailed sections on prerequisites, getting started, development, and documentation.

Refactor Dockerfile and entrypoint script, remove deprecated image creation scripts, and enhance meet.sh with Docker build functionality and base href support

Update README.md to reflect changes in Docker image build commands using meet.sh

Update package.json to correct versioning and remove redundant entries

Added browser sync for live reloading

chore: update @typescript-eslint packages to version 8.46.1 in frontend and pnpm-lock.yaml

fix: correct argument skipping logic and ensure typings are built in install_dependencies function

Adapt project structure

backend: add TypeScript type annotations for Router instances in route files

fix: update path for nodemon configuration in dev:rest-api-docs script

fix: update paths in webcomponent documentation generation scripts

fix: update Dockerfile and entrypoint script for correct directory structure and improve error handling

fix: update .dockerignore and Dockerfile for improved directory handling and permissions; add backend type checker script

Added all tests files

Updates OpenVidu Meet action refs to main

Updates the OpenVidu Meet GitHub Action references
in the CI workflows to point to the `main` branch.

This ensures that the workflows use the latest version
of the action.
2025-10-15 17:42:04 +02:00
cruizba
56f1c67547 ci: update AWS access key ID references to use secrets 2025-10-02 17:55:15 +02:00
juancarmore
8894174eb9 ci: update MEET_S3_BUCKET variable to ensure consistent bucket name for GCS adn S3 storage. Change test.only to test for virtual background functionality in room tests 2025-09-26 10:12:08 +02:00
juancarmore
7978a10948 ci: update GCP credentials handling in backend integration tests and include recordings test job in components artifact removal job 2025-09-25 12:31:38 +02:00
juancarmore
77f6255b24 ci: add prejob to build OpenVidu Angular components once and remove Azure from test matrix (except recording tests) 2025-09-25 11:11:12 +02:00
Piwccle
1ceb6e0b54 fix: update GCP credentials handling in backend integration tests and add log upload on failure 2025-09-24 18:47:50 +02:00
Piwccle
19f6fa60c9 fix: update GCS storage provider setup to save credentials and modify egress.yaml configuration 2025-09-24 18:34:42 +02:00
Piwccle
5f3c785ead fix: update GCS storage provider configuration to use GCP in backend integration tests 2025-09-24 18:22:46 +02:00
Piwccle
d1316c9527 fix: correct syntax for GCS storage provider condition in backend integration tests 2025-09-24 17:59:18 +02:00
Piwccle
82395aa3f4 ci: include backend-integration-test.yaml in workflow trigger paths 2025-09-24 17:51:14 +02:00
Piwccle
9efda85a51 ci: add GCS support to backend integration tests 2025-09-24 17:49:09 +02:00
juancarmore
fa1582bee0 Rename global preferences to global config 2025-09-18 13:02:56 +02:00
Carlos Santos
c7668b5505 backend: update workflow triggers to include package.json and tests paths 2025-07-30 11:23:01 +02:00
Carlos Santos
4b896ff4d5 fix: ensure paths are specified for push and pull_request events in backend integration tests 2025-07-23 11:01:22 +02:00
Carlos Santos
c1d8044a2e ci: Excludes openvidu-meet from Docker Compose
Excludes the openvidu-meet container from the Docker Compose setup in integration tests.
This prevents conflicts and ensures a more focused testing environment.
Additionally, this commit changes the Azure container name to single quotes.
2025-07-15 12:26:52 +02:00
Juan Carlos Moreno García
98764597e2
Add Azure Blob Storage integration (#3)
* azure-features: added azure blob support for meet

* azure-feature: removed variables of .env files

* azure-features: added azure blob support for meet

* azure-feature: removed variables of .env files

* azure-features: fix to pass the boundary ranges test

* ci update Azure storage configuration in egress.yaml using yq

* ci: update yq command for modifying egress.yaml to use correct syntax

* ci: add logging for current storage provider in backend integration tests

* ci: update conditional syntax for Azure storage provider in backend integration tests

* feature-azure: modified package-lock

* ci: remove logging of current storage provider in backend integration tests

* ci: add pre-startup script execution for Azure setup in backend integration tests

* fix: streamline pre-startup command execution for Azure storage provider

* fix: update pre-startup command script for Azure storage provider

* fix: improve pre-startup command script for Azure storage provider

* fix: remove commented instruction for modifying egress.yaml in Azure setup

* fix: streamline pre-startup command execution in backend integration tests

* fix: correct command execution syntax in backend integration tests

* fix: add container name for Azure storage provider configuration

* fix: add container name and environment variables for Azure storage configuration

* ci: enhance recordings API tests to support Azure storage provider configuration

* ci: add support for Azure storage provider in webhook, security, global preferences, participants, meetings, and users API tests

* ci: add Azure container names for various API tests in backend integration workflow

* fix: update Azure storage container names for various API tests

* backend: fix - ensure all recordings are deleted after room security tests

* ci: remove MEET_WEBHOOK_ENABLED environment variable from OpenVidu Meet setup in all jobs

* backend: refactor storage services exports

* backend: update Azure Blob Storage references and error messages for consistency

* ci: add matrix strategy for Rooms API Tests to support multiple storage providers

* backend: rename ABS services for consistency

* backend: ensure maxResults is a number in listObjectsPaginated method

* ci: update storage provider from azure to abs in integration tests

---------

Co-authored-by: Piwccle <sergiosergi11@hotmail.com>
Co-authored-by: Carlos Santos <4a.santos@gmail.com>
2025-06-23 18:34:53 +02:00
Piwccle
bd512f782c refactor: remove Azure storage provider configuration from Rooms API Tests 2025-06-18 15:55:24 +02:00
Carlos Santos
be2faa6048 ci: update pre-startup commands syntax for Azure storage provider 2025-06-17 12:17:18 +02:00
Carlos Santos
3f91464610 ci: update configuration for Azure support 2025-06-17 12:13:11 +02:00
juancarmore
89295dda93 ci: add users API tests in integration tests workflow 2025-06-09 22:39:38 +02:00
Carlos Santos
ed15d51297 ci: update Node.js version to 22.13 in backend workflows 2025-06-06 13:00:48 +02:00
Carlos Santos
75f4f93946 ci: update default AWS EC2 instance type to c5.2xlarge 2025-06-04 15:45:01 +02:00
Carlos Santos
9177173221 ci: add condition for test-recordings job to ensure proper execution based on AWS runner status 2025-05-30 17:21:34 +02:00
Carlos Santos
9f05eac08e ci: update condition for starting AWS runner in backend integration tests 2025-05-30 13:58:15 +02:00
Carlos Santos
e7a5c4aea9 ci: update condition for stopping AWS EC2 runner in integration tests 2025-05-30 13:44:32 +02:00
Carlos Santos
69415e4dc7 ci: enhance backend integration tests with AWS EC2 runner setup and teardown 2025-05-30 13:13:17 +02:00
Carlos Santos
5d90602c88 ci: update workflow triggers to include workflow_dispatch for integration and unit tests 2025-05-30 11:30:01 +02:00
Carlos Santos
5884f9341e ci: remove wait-on installation from integration and unit test workflows, update wait logic in E2E test workflow 2025-05-30 11:27:42 +02:00
Carlos Santos
df3e0e05bb ci: migrate actions to use OpenVidu repository for setup and cleanup 2025-05-23 17:15:41 +02:00
Carlos Santos
6b15128af2 ci: remove checkout step for OpenVidu Meet in backend integration tests 2025-05-22 16:18:12 +02:00
Carlos Santos
3e9fa424f8 ci: remove redundant yarn setup and checkout steps in backend integration tests 2025-05-22 16:05:47 +02:00
Carlos Santos
9ea7bac71c ci: add reusable action for setting up OpenVidu Meet backend in workflows 2025-05-16 19:00:05 +02:00
Carlos Santos
fb6e03d596 ci: refactor OpenVidu Local Deployment setup into a reusable action 2025-05-16 18:54:24 +02:00
juancarmore
20bba0b886 test: add script to launch integration tests for Meetings API and include them in backend-integration-test workflow 2025-05-15 21:54:41 +02:00
Carlos Santos
6591238382 test: update participants API test command to use integration tests 2025-05-14 10:29:52 +02:00
juancarmore
34312e16d3 ci: add integration tests for participants API and update workflow 2025-05-13 14:41:36 +02:00
Carlos Santos
468278d9d1 ci: add backend and webcomponent integration test workflows 2025-05-08 16:12:45 +02:00