GitHub Integration
Set up FirmwareCI integration with GitHub repositories using the GitHub App.
Prerequisites
- Repository set up with
.firmwareciinfrastructure (see Repository Setup) fwciCLI tool authenticated
Setup Steps
1. Run Integration Command
Execute the integration command from your repository:
For GitHub repositories, you’ll receive output similar to:
2. Install GitHub App
Visit the FirmwareCI GitHub App page and install the app.
Installation options:
- Install for all repositories in your organization
- Install for specific repositories only
Grant the app access to the repositories where you want FirmwareCI enabled.
3. Verify Integration
Push a commit to your repository to trigger the first configuration update:
Check the commit status on GitHub - you should see the FirmwareCI status check appear.
How It Works
Automatic Configuration Updates:
- Branch pushes: Update that branch’s configuration on the FirmwareCI
server. Each pushed branch is tracked as a
gitbranch with its own configuration, somainand feature branches stay independent (see the Branches reference). - Pull request pushes: Run validation to catch configuration errors before merge
- Branch deletion: Deleting a branch on GitHub removes the corresponding
gitbranch from FirmwareCI (best-effort); its jobs and history remain reachable.
Status Reporting:
- Configuration validation results appear as commit status checks
- Test results are reported back to pull requests (see Job Triggers)
HTTPS Authentication
When cloning HTTPS remotes fails, see these extra authentication options:
Environment Variable (Recommended):
Interactive Prompt (Fallback):
Generate Token:
Create a Personal Access Token with repo scope.