Contents

Licence Enterprise

Your licence is a small signed file. The server checks it without calling home, so it also works in a closed network.

Install the licence

Give the file to every server.

DeploymentHow
AnyGITTA_LICENSE_FILE=/path/example.license, --license-file, or the contents in GITTA_LICENSE
Helm--set-file license=example.license
deploy.shGITTA_LICENSE_FILE=example.license

The server prints the licence state at start.

 Terminal
gitta server: licensed to Example AB (50 seats), valid 365 more days

A file that was changed by hand is refused, and the server does not start.

 Terminal
gitta server: licence not accepted: licence signature does not match: the file was changed or is not from gitta

The licence file is not secret. It is valid only for the customer, seats and dates written in it.

Check the state

 Terminal
$ curl -s -H "Authorization: Bearer <admin token>" https://gitta-1.example.com/v1/license
{
    "status": {
        "state": "evaluation"
    },
    "license": null,
    "people_last_30_days": 2,
    "notice": "Evaluation: 2 of 5 people. Add a licence to use gitta Enterprise with your whole team."
}

The team view shows the same notice.

Seats

A seat is a person or CI runner that sent a report in the last 30 days. gitta counts seats and shows them to the admin. It does not lock anybody out when you use more seats than the licence has. Additional seats are agreed at renewal.

States

StateWhat happens
Evaluation, no licenceEverything works for up to 5 people. A sixth person's agents are told why they get no warnings from other machines.
ValidEverything works. The team view shows when renewal is less than 30 days away.
Expired, first 30 daysEverything works. The team view warns that the licence expired.
Expired, after 30 daysWarnings between machines stop. Agents are told why. Everything on each machine continues, and audit events are still kept.

To renew, replace the file and restart the servers one at a time.

If the server does not accept the licence, see Troubleshooting. For questions about seats, write to us through Support.