{% extends "settings/layout.html" %} {% block settings_content %}

Installation

Update how this Governor instance authenticates with Google Cloud and GitHub. Changes apply immediately after save.

{% if flash %}
{{ flash.message }}
{% endif %}

Local dev reminder

After switching this instance to local development, each project still needs Manifest Source = Manual upload in its configuration. Upload manifest.json on the configuration detail page after saving the project.

Installation Mode

Choose the operating mode for this Governor instance.

{% if errors.get('installation_mode') %}

{{ errors['installation_mode'] }}

{% endif %}

Google Cloud

Governor uses this for project discovery, logging, and BigQuery Information Schema access.

{% if errors.get('gcp_auth_method') %}

{{ errors['gcp_auth_method'] }}

{% endif %}

Example values: us, eu, us-central1.

{% if errors.get('bigquery_region') %}

{{ errors['bigquery_region'] }}

{% endif %}
{% if has_saved_gcp_credentials %} A service account JSON is already stored. Leave the fields below blank to keep it. {% else %} No service account JSON is stored yet. {% endif %}
{% if errors.get('gcp_credentials_json') %}

{{ errors['gcp_credentials_json'] }}

{% endif %}

GitHub

Governor uses GitHub to fetch repository files and create pull requests.

{% if errors.get('github_auth_mode') %}

{{ errors['github_auth_mode'] }}

{% endif %} {% if errors.get('github') %}

{{ errors['github'] }}

{% endif %}
{% if has_saved_github_app_credentials %} GitHub App credentials are already stored. Leave fields blank to keep them. {% else %} No GitHub App credentials are stored yet. {% endif %}
{% if errors.get('app_id') %}

{{ errors['app_id'] }}

{% endif %}
{% if errors.get('installation_id') %}

{{ errors['installation_id'] }}

{% endif %}
{% if errors.get('private_key') %}

{{ errors['private_key'] }}

{% endif %}
{% if has_saved_github_personal_access_token %} A personal access token is already stored. Leave the field blank to keep it. {% else %} No personal access token is stored yet. {% endif %}

Use a token that can read repositories and create branches and pull requests.

{% if errors.get('personal_access_token') %}

{{ errors['personal_access_token'] }}

{% endif %}
{% endblock %}