Jarvis Panel

Integrations

Source Controls

A source control is a saved connection to your Git provider. Jarvisway uses it to read your repositories and branches, add the server's deploy key, and set up the webhook for auto deploy.

Open your organization settings and select Source Controls. The table lists every connection with its ID, provider, name, and creation date.

Connect a source control

  1. Click Connect.
  2. Under Choose Provider, select your Git provider.
  3. Enter a Profile Name to recognise this connection later, for example Company GitHub.
  4. Fill in the provider's credentials. Each form shows a short hint, a Show permissions toggle, and a link back to this guide.
Provider Fields
Github Token
Gitlab Token
Self-hosted GitLab Base URL, Personal access token, and an optional SSH URL
Bitbucket Key and Secret of a Bitbucket OAuth consumer
  1. Click Connect.

Jarvisway checks the credentials with the provider before saving them. If the check fails, confirm the token is correct, not expired, and has the permissions listed below.

GitHub

Jarvisway supports a classic personal access token and a fine-grained personal access token.

Classic token

  1. In GitHub, open Settings → Developer settings → Personal access tokens → Tokens (classic), or use Create token in the connect form.
  2. Click Generate new token (classic).
  3. Enter a note, for example Jarvisway, and choose an expiration.
  4. Tick the scopes repo and admin:repo_hook.
  5. Click Generate token and copy it. GitHub shows it only once.
  6. Paste it into the Token field in Jarvisway.

Fine-grained token

  1. In GitHub, open Settings → Developer settings → Personal access tokens → Fine-grained tokens.
  2. Click Generate new token.
  3. Under Resource owner, pick the account or organization that owns the repositories.
  4. Under Repository access, choose all repositories or only the ones you deploy.
  5. Under Repository permissions, set:
Permission Access Used for
Contents Read-only Cloning and listing branches
Metadata Read-only Listing repositories
Administration Read and write Adding the deploy key
Webhooks Read and write Auto deploy
  1. Click Generate token, copy it, and paste it into the Token field in Jarvisway.

Organization repositories

Repositories owned by a GitHub organization need a few extra things:

  • Your role: you need the admin role on the repository. Deploy keys and webhooks can't be added without it.
  • Fine-grained token: set Resource owner to the organization. The organization must allow fine-grained tokens, and an owner may need to approve your token before it works.
  • Classic token with SAML SSO: after creating the token, click Configure SSO next to it and Authorize it for the organization.
  • Deploy keys policy: the organization must allow deploy keys. If an owner has disabled them, site installation stops at Deploy SSH key with the message "GitHub has deploy keys disabled". Ask an owner to enable deploy keys, or turn off Add server key to source control when you create the site.

GitLab

  1. In GitLab, open Preferences → Access tokens, or use Create token in the connect form. For a group or a single project, open its Settings → Access tokens instead.
  2. Click Add new token and enter a name, for example Jarvisway.
  3. Tick the api scope.
  4. For a group or project token, choose the Maintainer role.
  5. Click Create token, copy it, and paste it into the Token field in Jarvisway.

You need at least the Maintainer role on a project to add deploy keys and webhooks.

Self-hosted GitLab

Use Self-hosted GitLab for your own GitLab server instead of gitlab.com.

  1. Create a token on your GitLab server the same way as for GitLab, with the api scope.
  2. In Jarvisway, choose Self-hosted GitLab.
  3. Enter the Base URL, the address you open GitLab at, for example https://gitlab.example.com.
  4. Paste the token into Personal access token.
  5. Fill in SSH URL only if Git over SSH uses a different host or port than the Base URL, for example [email protected]:2222. Leave it empty to use the Base URL's host on port 22.

Sites that use a deploy key clone over SSH, so the SSH host and port must be reachable from your server.

Bitbucket

A workspace admin creates an OAuth consumer once for the workspace.

  1. In Bitbucket, open Workspace settings → OAuth consumers.
  2. Click Add consumer and enter a name, for example Jarvisway.
  3. Enter any Callback URL, for example your Jarvisway address.
  4. Tick This is a private consumer.
  5. Under Permissions, tick Account: Read, Repositories: Admin and Webhooks: Read and write.
  6. Click Save, then open the consumer to copy its Key and Secret into Jarvisway.

Edit a source control

  1. Open the actions menu on a connection and click Edit.
  2. Change the Profile Name, or enter new credentials, for example after a token expired or was deleted.
  3. Leave the credential fields blank to keep the current ones.
  4. Click Save.

Jarvisway checks new credentials before saving them. Sites that clone over HTTPS (without a deploy key) are updated to use the new token automatically.

Delete a source control

  1. Open the actions menu on a connection and click Delete.
  2. Click Delete to confirm.

You can't delete a source control while a site uses it. Change the site's source control in its settings first.