Skip to main content

High availability for GitHub Actions

There are some special considerations for administering GitHub Actions in a high availability configuration.

Replication or redundancy of your GitHub Actions data

GitHub Actions использует внешнее хранилище для хранения артефактов и журналов рабочих процессов. Эти данные хранятся во внешнем поставщике, например хранилище BLOB-объектов Azure, Amazon S3, Google Cloud служба хранилища, или MinIO. В результате GitHub Enterprise Server резервные копии и GitHub Enterprise Server конфигурации высокой доступности не обеспечивают защиту данных, хранящихся в этом внешнем хранилище, и вместо этого полагаются на защиту данных и реплика tion, предоставляемую внешним поставщиком хранилища, например Azure, Google Cloud, или AWS.

We strongly recommend that you configure your GitHub Actions external storage to use data redundancy or replication. For more information, refer to your storage provider's documentation:

High availability replicas

Promoting a replica

When enabling a high availability configuration, any replicas are automatically configured to use the GitHub Actions external storage configuration. If you need to initiate a failover to promote a replica, no extra configuration changes are required for GitHub Actions.

For more information, see "Инициализация отработки отказа на устройство реплики."

Removing a high availability replica

Avoid letting multiple instances to write to the same GitHub Actions external storage. This could occur when using the ghe-repl-teardown command to stop and permanently remove a GitHub Actions-enabled replica. This is because the replica will be converted into a standalone GitHub Enterprise Server, and after the teardown it will still use the same external storage configuration as the primary.

To help avoid this issue, we recommend either decommissioning the replica server or updating its GitHub Actions configuration with different external storage.