Add Rover CLI Installation and Apollo License Acceptance to TUI Installer
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 17h 7m
- Merged PRs (30d)
- 358
Description
## Motivation
- TUI installer requires Rover CLI to generate `supergraph.graphql` for Apollo GraphQL federation
- Rover CLI installation was previously manual, requiring additional setup steps
- Apollo ELv2 license acceptance needs to be automated for non-interactive installations
## Required Features
- **Rover CLI Detection**: Check if Rover is already installed in `~/.rover/bin` or available in system PATH
- **Automated Rover Installation**: Install Rover CLI via official curl script if not present
- **Bashrc Configuration**:
- Add Rover bin path to PATH (`export PATH="$HOME/.rover/bin:$PATH"`)
- Add Apollo ELv2 license acceptance (`export APOLLO_ELV2_LICENSE=accept`)
- Only add entries if not already present in `.bashrc`
- **Environment Setup**: Set `APOLLO_ELV2_LICENSE=accept` in process environment for supergraph generation
## Impact
- Eliminates manual Rover CLI installation steps
- Enables automated supergraph generation during TUI installation
- Ensures Apollo license is accepted for non-interactive deployments
- Persists Rover configuration in `.bashrc` for future sessions
JIRA Issue: BA-4077
Contributor guide
Assessment
This issue has not been assessed yet.