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

Added containers for testing #8707

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BOHEUS
Copy link
Contributor

@BOHEUS BOHEUS commented Nov 24, 2024

Related to #8469 and #6641

Webhook.site container must be in compose file as it requires 3 containers, one of them being Redis which is already used by Twenty. To prevent any problems with running 2 Redis containers simultaneously, network was created to separate both containers.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Added Docker container configurations for testing authentication and webhook functionality in the e2e testing environment.

  • Added mock-saml container setup in packages/twenty-e2e-testing/Makefile for SAML authentication testing
  • Added smtp4dev container in Makefile for email testing on ports 8090, 2525, and 143
  • Created isolated webhook testing environment in containers/webhook.yml with separate Redis instance to avoid conflicts
  • Configured webhook.site container with Laravel Echo server for real-time event handling
  • Requires configuration of public/private key pair for mock-saml container before use

2 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings | Greptile

packages/twenty-e2e-testing/Makefile Show resolved Hide resolved
Comment on lines +4 to +11
docker run \
--name mock_saml \
-p 4000:4000 \
-e APP_URL="http://localhost:4000" \
-e ENTITY_ID="https://saml.example.com/entityid" \
-e PUBLIC_KEY= \
-e PRIVATE_KEY= \
-d boxyhq/mock-saml
Copy link
Contributor

Choose a reason for hiding this comment

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

style: No restart policy specified - container will not automatically restart if it crashes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants