Skip to main content
Each environment runs a separate EigenPal installation. Git shares released workflow definitions, version pointers and, with Git LFS, the dataset files. Credentials and access policies stay local.

Connect environments

Use the same repositories and the same ordered environments in each installation, selecting its own environment. The first environment allows authoring; later ones receive releases. Declare each Git repository once under repositories, by a short name, and say which one every environment is kept in.
Each installation holds one token per repository, secrets.promotionTokens.<repository>, with the same keys in every installation. In the app config the same token is repositories.<name>.token. The token’s rights decide what the installation does there: it needs write access in the repository of its own environment and in the one of the next environment, read access everywhere else. Without a read token, the environments kept in that repository show as not visible from this installation. Configure branch approval rules on each repository. Every installation must reach the Git host. With artifactStore.git: true, dataset files are stored with Git LFS in the same repository: each release commits a pointer file under workflows/<workflow>/dataset/<sha256>, LFS must be enabled for the project, and the credential must be allowed to write to it. Instead of Git LFS you can use artifactStore.s3 or artifactStore.path; then every installation must reach that store. Required file-source names must exist in each environment with local credentials.
Switching an existing setup from artifactStore.s3 or path to git: true: versions released before the switch keep their dataset files in the old store only, so rolling back to one of them fails. Release each workflow once after the switch, and keep the old store until no environment needs to roll back further. Finish or close releases in progress before upgrading: what an apply replaced is now kept in each environment’s own storage, so an apply interrupted by the upgrade has nothing to put back.

Release a workflow

Save a numbered workflow version in the first environment, add a note, and start a release. The receiving environment validates a candidate with its own connections. After approval and merge, it activates that version and opens the next environment’s request. The merge is the release decision. Checks provide the approval signal on the open request, and EigenPal only merges automatically when they pass. If a reviewer merges despite failed or unfinished checks, the environment lets running checks finish, then activates the pinned version regardless of their result and continues to the next environment. Reports and History record any overridden failures. Missing connections, conflicting versions and dataset or activation errors still hold the release. If you release a newer version of a workflow before the older one reached an environment, EigenPal opens the new request there and closes the older one. The History shows the older request as Superseded by v1.0.12, and its running checks are stopped, not reported as failed. A request that someone closes in the Git host without a newer version showing up in that environment reads Cancelled. A release is listed under In progress while it is still moving and in the History once it is finished (live where it goes, cancelled, superseded, or stopped by failed checks), never in both. While an environment runs the checks of a release, its step in In progress opens the running evaluation, so you can watch the checks as they finish. The UI shows the version desired and actually live in each environment, plus any reason promotion has paused.

Variables across environments

Variables ({{ env.NAME }}) keep their values in each environment; only names, types and how they are shared travel with a release, in its envVars list:
API_URL is one organization variable. API_TOKEN is a single variable that this workflow shares with wf_receipts, so they use one value. TENANT_ID belongs to this workflow alone, so another workflow’s TENANT_ID is a separate variable with its own value. Satisfying a release takes the name and type; scope and sharedWith also preserve the intended global, workflow-only or shared definition when a missing value is created. When a declared sharing partner already exists in the receiving environment, its one matching variable applies automatically to the incoming workflow on the next release check. This adds a local binding and records an audit event; it does not copy the value, including for secrets. A same-name variable outside the declared sharing group is not reused. Conflicting types and ambiguous matches remain unresolved. An existing variable for the incoming workflow takes precedence, followed by a matching global variable. The release page shows resolved values as compact rows. Global and shared values stay protected until Edit or Replace is selected, with the affected scope shown before saving. Existing secrets show Already set and are never prefilled. Only missing values need input; saving a value and retrying release checks remain separate actions. Environments never read each other’s database, and nothing about one environment is published for the others to read ahead of time. Everything an environment says about a release is on the release’s own pull request (or merge request) into it: its checks, its comment and, once merged, where the release ended up. File sources are set in each environment’s own settings, never in Git.
  • Releasing never waits on another environment’s variables. If the next environment lacks a variable (or has it with another type), it holds the release and says so on the request. The release screen lists what is missing and, when the environment’s url is set in the promotion config, links Define in SIT to that environment’s Variables page with the form filled in: name, type, and the workflows it applies to (this one and any that share the variable where it comes from). An owner or admin there types the value, which never goes in the link. A workflow’s variable can be defined there before the workflow’s first release arrives, since workflows keep their ids across environments. If that environment already has a variable of that name for any of those workflows, the link adds the others to it instead of making a copy.
  • In the receiving environment, a held release shows on the Variables page with what it needs and a Define button. The next pull takes the release once the variables exist.
  • A file source the version names that the environment lacks holds the release the same way. Add it in either of two ways: in Settings > File sources in that environment (owners and admins), or under fileSources in its deployment configuration (Helm values). Both origins use the same rules: the connection must be enabled and its settings valid. A Config or Studio badge identifies where it is defined; configuration entries are read-only in Studio. When a file source of that name exists but cannot be used, the request says whether it is turned off or its settings are invalid.
  • A held release is checked again by itself. Every pull, and Check now, looks at each held request again: the report names everything that is still missing, and the checks run as soon as nothing is, on the same request with no new commit or release. An owner or admin can also retry it from the release’s checks page.
  • A release held in one environment only stops that version. A newer version saved in the first environment can be promoted to that environment at once; it replaces the held request there.
  • Promotion is an early feature: releases are written in manifest format 1, and releases written by earlier builds are not read. Upgrade every environment together and release again.

Integration details

GitHub credentials need contents, pull requests and statuses read/write, plus administration read for branch rules. For a GitHub App, set repositories.<name>.app.id; the private key then goes in secrets.promotionTokens.<name>.For GitLab, set provider: gitlab, the full project path as project and apiUrl for a self-managed server. A repository on another host sets its own provider and apiUrl. Use project access tokens: Developer where an installation writes, Reporter where it only reads. Give each environment its own token and set bot on every environment to the user it writes as in its own repository (the GitLab bot user of its token, or the GitHub login, <app>[bot] for an app): the next environment accepts a release request, and this environment’s state, only from that user. Each installation’s setup check lists every repository with the token used, the user it writes as, and whether its rights match what that installation needs.Who approves is set by the Git host’s branch rules, not by EigenPal. Automatic merging requires readable rules that prevent relevant authors from approving their own changes; otherwise reviewers merge in Git. An environment whose token may not merge into its branch (a GitLab Developer on a branch only Maintainers merge) never tries: it checks each request, reports its status and goes live once someone merges it.
Each environment is kept in exactly one repository; several environments can share one. For example, the team that runs production can own the repository production is kept in and merge into it themselves.
  • acceptsFrom names the user the environment before writes as in this environment’s repository. It defaults to that environment’s bot and is needed when the two are kept in different repositories, because a project token is a different bot in each project.
  • releasedWith releases an environment by the same request as the environment right before it, in the same repository. Each checks the request and reports its own status; neither merges it before both passed, and both go live once it merges.
  • The environment before opens the request in the next repository with its token for it. The request carries the version’s files, its rollout and, with artifactStore.git: true, its dataset files, so the receiving installations need only their own repository.
  • A token is used only for the repository it is set for. Missing a token where an installation writes is a setup check error; missing one where it only reads leaves those environments not visible from there.
  • workflows/<name>/<version>/ stores immutable released definitions and manifests. Ordinary development saves stay in the local database.
  • workflows/<name>/dataset/<sha256> holds a Git LFS pointer per dataset file, with a .gitattributes that marks them as LFS (only with artifactStore.git). A release may add only the pointers its manifest lists, with exactly that content.
  • environments/<environment>/<workflow>.yaml pins the desired version.
  • rollouts/<workflow>.yaml records release intent, requester, note and start time. Git history and promotion requests retain earlier changes and approvals.
Missing or invalid rollout intent pauses continuation. Closed requests stay closed until reopened or replaced by a new release. A filesystem artifact store must refer to genuinely shared storage across installations; a Git LFS store needs nothing beyond the repository.
Later environments poll every 15 minutes by default. An owner or admin can check at once with Check now on the Environments page. A request that cannot be checked shows its error under the setup list there. For faster reconciliation, enable callbacks:
The secret comes from secrets.promotionWebhookSecret (default Secret eigenpal-promotion, key webhook-secret), one per installation. Configure each repository the installation reads to call https://<receiving-host>/api/webhooks/promotion with that installation’s random secret of at least 32 characters; an event is matched to its repository by the project path. Configure each receiving installation separately and keep TLS verification enabled.Use GitHub push, pull request and pull request review events, or GitLab push and merge request events. GitHub signs the request body with HMAC; GitLab supplies X-Gitlab-Token.Verified deliveries enter a durable queue with deduplication and retries. Polling recovers missed events. Callbacks trigger reconciliation; Git approvals still control deployment.
See the Helm fields for Secret references and the YAML fields for direct configuration. A first release appears under In progress in its receiving installation while checks run or approval is pending, even before the workflow first goes live there. Its current request and check results are available from that entry; the same active version is excluded from History. Owners and administrators can see incoming workflows that have no local placement yet. Other users continue to see only workflows allowed by local access rules. A later installation shows a new workflow when a release request reaches that installation, rather than anticipating an earlier installation’s approval.