Tutorial
Sync and authenticate private Taps with Workbrew
Joe Nash
Workbrew supports automatic installation of private Taps through our GitHub or GitLab integrations for Workbrew Enterprise Workspaces.
Connect your private Taps with GitHub
- Open your Workspace settings and navigate to the GitHub Installations tab
- Click Install GitHub App
- During the GitHub OAuth flow, choose the organization to install Workbrew Console in, and grant permissions to your private tap repositories
- Return to the Workspace settings page in the console and navigate to the GitHub Installations tab
- Select each private Tap that you want to automatically sync to devices
Connect your private Taps with GitLab
- Open your Workspace settings and navigate to the GitLab Integrations tab
- Click Install GitLab.com Integration
- During the GitLab Oatuh flow, choose the organization to install Workbrew Console in, and grant permissions to your private tap repositories
- Return to the Workspace settings page in the console and navigate to the GitLab Integrations tab
- Select each private Tap that you want to automatically sync to devices
Troubleshooting private Taps
Once the GitHub or GitLab integration is setup, private Taps in that organization should sync automatically. If a private tap isn't appearing on end-user machines, check the following:
- The repository name follows Homebrew’s naming convention (for example homebrew-[something])
- The formula in the tap is valid and parses cleanly
- The tap repository is private and resides in the same organization connected to Workbrew
Authenticate private repositories
Workbrew doesn't currently fetch or mirror external files referenced in a formula, even if they're located in another private repository within the same organization. To ensure users can access the artifacts, the address in the formula must point to one of the following:
- A public or pre-signed URL (for example from S3)
- GitHub Releases that users already have access to (for example through a Personal Access Token)