-
Notifications
You must be signed in to change notification settings - Fork 48k
ci: Add gitea testcontainer for environment testing #21008
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
base: master
Are you sure you want to change the base?
Conversation
Allows us to override the configs of containers per test
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be so useful 👍
const DEFAULT_PASSWORD = 'giteapassword'; | ||
const DEFAULT_REPO = 'n8n-test-repo'; | ||
const DEFAULT_EMAIL = 'admin@example.com'; | ||
const DEFAULT_BRANCHES = ['development', 'staging', 'production']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we only have a main
branch to align with the default branch name in the environments.ee
feature?
See packages/cli/src/environments.ee/source-control/constants.ts
await expect(n8n.page.getByRole('option', { name: 'development' })).toBeVisible(); | ||
await expect(n8n.page.getByRole('option', { name: 'staging' })).toBeVisible(); | ||
await expect(n8n.page.getByRole('option', { name: 'production' })).toBeVisible(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be part of a specific test for the multi-branch setup. Because by default we start with a single branch setup
E2E Tests: n8n tests failed after 7m 5.9s Run Details
Groups
This message was posted automatically by
currents.dev | Integration Settings
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 14 files
52d0284
to
0c4cf6a
Compare
Summary
Adds Gitea as a test container to facilitate source control integration testing. This includes setting up a Gitea instance with a default admin user and repository, enabling connection from n8n via SSH.
Related Linear tickets, Github issues, and Community forum posts
Related to CAT-1507
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)