-
Notifications
You must be signed in to change notification settings - Fork 8
Fix e2e test #78
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
Fix e2e test #78
Conversation
WalkthroughThe pull request introduces modifications to the end-to-end testing workflow, Makefile, and deployment script. The changes primarily focus on streamlining the E2E testing process by using a dedicated GitHub Action, adding support for the Changes
Sequence DiagramsequenceDiagram
participant Workflow as GitHub Workflow
participant E2EAction as Jumpstarter E2E Action
participant Controller as Repository Controller
Workflow->>E2EAction: Trigger with refs
E2EAction->>Controller: Checkout using specified refs
E2EAction-->>Workflow: Run E2E Tests
Poem
🪧 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
CodeRabbit Configuration File (
|
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 (1)
hack/deploy_with_helm.sh (1)
112-112: Consider enhancing error handling for grpcurl execution.While the change removes the podman dependency, it would be beneficial to add error handling for cases where grpcurl execution fails for reasons other than endpoint unavailability.
- while ! ${GRPCURL} -insecure ${ep} list; do + while ! ${GRPCURL} -insecure ${ep} list 2>/dev/null; do + if [ $? -eq 127 ]; then + echo "Error: grpcurl not found or not executable at ${GRPCURL}" + exit 1 + fi
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
.github/workflows/e2e.yaml(1 hunks)Makefile(4 hunks)hack/deploy_with_helm.sh(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: e2e-tests
- GitHub Check: deploy-kind
🔇 Additional comments (5)
.github/workflows/e2e.yaml (1)
12-15: LGTM! Workflow simplified using dedicated action.The change streamlines the E2E testing process by:
- Removing manual input requirements
- Replacing manual setup with a dedicated action
- Properly configuring references for controller and jumpstarter
hack/deploy_with_helm.sh (1)
6-6: LGTM! Added configurable GRPCURL variable.The change allows customizing the grpcurl tool path while providing a sensible default.
Makefile (3)
124-124: LGTM! Updated deploy dependencies.The change correctly adds grpcurl as a dependency for the deploy target.
155-155: LGTM! Added GRPCURL variable and version.The change follows the established pattern for tool variables and versions.
Also applies to: 164-164
191-195: LGTM! Added grpcurl installation target.The change properly implements the grpcurl installation using the existing go-install-tool pattern.
Summary by CodeRabbit
Workflow Changes
Build Process
grpcurltool to deployment workflowDeployment