-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
ci: allow port for mssql-server #38976
base: release
Are you sure you want to change the base?
Conversation
WalkthroughThe changes introduce modifications to the GitHub Actions workflow for the Appsmith CI Test. A command Changes
Possibly related PRs
Suggested reviewers
Poem
Tip 🌐 Web search-backed reviews and chat
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/ci-test-custom-script.yml (2)
27-31
: Default Tag Consistency:
The default for theted_tag
input is now set tonightly
, which clearly indicates a preference for nightly builds over the previouslatest
tag. However, note that in the Docker run command (line 157) the image reference is still using the fallback${ted_tag:-latest}
. For consistency, consider removing the fallback (or updating it) to ensure that the default value is alwaysnightly
.- "appsmith/test-event-driver:${ted_tag:-latest}" + "appsmith/test-event-driver:${ted_tag}"
158-160
: SQL Server Service Setup:
The new steps to check the status ofmssql-server
, accept the EULA, and restart the container are crucial for initializing SQL Server within the container environment. It might be beneficial to add error handling or checks (e.g., verifying the exit status) to ensure these commands succeed, which could help in diagnosing any startup issues during CI runs.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/ci-test-custom-script.yml
(3 hunks)
🔇 Additional comments (2)
.github/workflows/ci-test-custom-script.yml (2)
152-152
: Firewall Rule Addition:
Adding the linesudo ufw allow 1433/tcp
appropriately opens up the SQL Server port on the host. Please ensure that this change aligns with your CI security policies and does not inadvertently expose the port in an unintended environment.
155-157
: Exposing MSSQL Port in Docker Run:
The updated Docker run command now explicitly maps port1433
from the container to the host (-p 1433:1433
), which is essential for enabling SQL Server connectivity in the CI environment. Confirm that this port mapping is free from conflicts with other services running in the CI.
Description
Tip
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.
Fixes #
Issue Number
or
Fixes
Issue URL
Warning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags="@tag.Datasource"
🔍 Cypress test results
Warning
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13138688065
Commit: 514fc7b
Cypress dashboard.
Tags: @tag.Datasource
Spec:
It seems like no tests ran 😔. We are not able to recognize it, please check workflow here.
Tue, 04 Feb 2025 15:26:25 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
Summary by CodeRabbit
ted_tag
input in the testing workflow to improve version management.