Skip to content

Commit 05a858f

Browse files
authored
GitHub Enterprise Server 3.7 release candidate (#31313)
1 parent 5ee600f commit 05a858f

File tree

172 files changed

+3409562
-3711
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+3409562
-3711
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# GitHub Docs <!-- omit in toc -->
2-
2+
33
This repository contains the documentation website code and Markdown source files for [docs.github.com](https://docs.github.com).
44

55
GitHub's Docs team works on pre-production content in a private repo that regularly syncs with this public repo.
Loading
Loading
Loading
Loading

content/admin/configuration/configuring-network-settings/enabling-subdomain-isolation.md

+5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ When subdomain isolation is enabled, {% data variables.product.prodname_ghe_serv
3232
| `http(s)://HOSTNAME/media/` | `http(s)://media.HOSTNAME/` |
3333
| `http(s)://HOSTNAME/pages/` | `http(s)://pages.HOSTNAME/` |
3434
| `http(s)://HOSTNAME/raw/` | `http(s)://raw.HOSTNAME/` |
35+
{%- ifversion viewscreen-and-notebooks %}
36+
| `http(s)://HOSTNAME/viewscreen/` | `http(s)://viewscreen.HOSTNAME/` |
37+
| `http(s)://HOSTNAME/notebooks/` | `http(s)://notebooks.HOSTNAME/` |
38+
{%- else %}
3539
| `http(s)://HOSTNAME/render/` | `http(s)://render.HOSTNAME/` |
40+
{%- endif %}
3641
| `http(s)://HOSTNAME/reply/` | `http(s)://reply.HOSTNAME/` |
3742
| `http(s)://HOSTNAME/uploads/` | `http(s)://uploads.HOSTNAME/` | {% ifversion ghes %}
3843
| `https://HOSTNAME/` | `http(s)://docker.HOSTNAME/`{% endif %}{% ifversion ghes %}

content/admin/configuration/configuring-your-enterprise/accessing-the-management-console.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ shortTitle: Access the management console
2323

2424
Use the {% data variables.enterprise.management_console %} for basic administrative activities:
2525
- **Initial setup**: Walk through the initial setup process when first launching {% data variables.location.product_location %} by visiting {% data variables.location.product_location %}'s IP address in your browser.
26+
- **Configuring authentication policies for the {% data variables.enterprise.management_console %}**: Set rate limits for login attempts, and the lockout duration if someone exceeds the rate limit.
2627
- **Configuring basic settings for your instance**: Configure DNS, hostname, SSL, user authentication, email, monitoring services, and log forwarding on the Settings page.
2728
- **Scheduling maintenance windows**: Take {% data variables.location.product_location %} offline while performing maintenance using the {% data variables.enterprise.management_console %} or administrative shell.
2829
- **Troubleshooting**: Generate a support bundle or view high level diagnostic information.
2930
- **License management**: View or update your {% data variables.product.prodname_enterprise %} license.
3031

3132
You can always reach the {% data variables.enterprise.management_console %} using {% data variables.location.product_location %}'s IP address, even when the instance is in maintenance mode, or there is a critical application failure or hostname or SSL misconfiguration.
3233

33-
To access the {% data variables.enterprise.management_console %}, you must use the administrator password established during initial setup of {% data variables.location.product_location %}. You must also be able to connect to the virtual machine host on port 8443. If you're having trouble reaching the {% data variables.enterprise.management_console %}, please check intermediate firewall and security group configurations.
34+
To access the {% data variables.enterprise.management_console %}, you must use the administrator password established during initial setup of {% data variables.location.product_location %}. You must also be able to connect to the virtual machine host on port 8443. If you're having trouble reaching the {% data variables.enterprise.management_console %}, please check intermediate firewall and security group configurations.
3435

3536
The {% data variables.enterprise.management_console %} password hash is stored in `/data/user/common/secrets.conf`, and that file is automatically synced from the primary appliance to any high-availability replicas. Any change to the primary's password will automatically be replicated to high-availability replicas. For more information about high availability, see "[About high availability configuration](/admin/enterprise-management/configuring-high-availability/about-high-availability-configuration)."
3637

@@ -52,9 +53,9 @@ The first time that you access the {% data variables.enterprise.management_conso
5253

5354
## Unlocking the {% data variables.enterprise.management_console %} after failed login attempts
5455

55-
The {% data variables.enterprise.management_console %} locks after ten failed login attempts are made in the span of ten minutes. You must wait for the login screen to automatically unlock before attempting to log in again. The login screen automatically unlocks as soon as the previous ten minute period contains fewer than ten failed login attempts. The counter resets after a successful login occurs.
56+
The {% data variables.enterprise.management_console %} locks after {% ifversion enterprise-authentication-rate-limits %}the number of failed login attempts configured by your authentication policies. For more information, see "[Configuring authentication policy rate limits](/admin/configuration/configuring-your-enterprise/configuring-rate-limits#configuring-authentication-policy-rate-limits)".{% else %}ten failed login attempts are made in the span of ten minutes. You must wait for the login screen to automatically unlock before attempting to log in again. The login screen automatically unlocks as soon as the previous ten minute period contains fewer than ten failed login attempts. The counter resets after a successful login occurs.{% endif %}
5657

57-
To immediately unlock the {% data variables.enterprise.management_console %}, use the `ghe-reactivate-admin-login` command via the administrative shell. For more information, see "[Command line utilities](/enterprise/admin/guides/installation/command-line-utilities#ghe-reactivate-admin-login)" and "[Accessing the administrative shell (SSH)](/enterprise/admin/guides/installation/accessing-the-administrative-shell-ssh/)."
58+
{% data reusables.enterprise_management_console.unlocking-management-console-with-shell %}
5859

5960
## Troubleshooting failed connections to the {% data variables.enterprise.management_console %}
6061

content/admin/configuration/configuring-your-enterprise/command-line-utilities.md

+56-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ ghe-org-admin-promote -a
282282

283283
### ghe-reactivate-admin-login
284284

285-
Use this command to immediately unlock the {% data variables.enterprise.management_console %} after 10 failed login attempts in the span of 10 minutes.
285+
Use this command to immediately unlock the {% data variables.enterprise.management_console %} after {% ifversion enterprise-authentication-rate-limits %}an account lockout. To configure authentication policies for {% data variables.location.product_location %}, see "[Configuring authentication policy rate limits](/admin/configuration/configuring-your-enterprise/configuring-rate-limits#configuring-authentication-policy-rate-limits)".{% else %}10 failed login attempts in the span of 10 minutes.{% endif %}
286286

287287
```shell
288288
$ ghe-reactivate-admin-login
@@ -314,6 +314,60 @@ This utility lists all of the services that have been started or stopped (are ru
314314

315315
```shell
316316
$ ghe-service-list
317+
{% ifversion viewscreen-and-notebooks %}
318+
active
319+
- alambic
320+
- alive
321+
- aqueduct-lite
322+
- authzd
323+
- babeld
324+
- codeload
325+
- consul, process 17114
326+
- consul-template, process 19493
327+
- driftwood
328+
- elasticsearch
329+
- enterprise-manage-unicorn, process 9359
330+
- ghe-user-disk, process 2545
331+
- git-daemon
332+
- github-env
333+
- github-gitauth
334+
- github-resqued
335+
- github-stream-processors
336+
- github-timerd
337+
- github-unicorn
338+
- gitrpcd
339+
- governor
340+
- gpgverify
341+
- grafana-server, process 19314
342+
- graphite-web, process 20189
343+
- hookshot-go
344+
- kafka-lite
345+
- kredz
346+
- lfs-server
347+
- mail-replies
348+
- memcached
349+
- minio
350+
- mysql
351+
- nginx
352+
- nomad, process 19562
353+
- pages
354+
- postfix
355+
- redis
356+
- spokesd
357+
- spokes-sweeper
358+
- svnbridge
359+
- token-scanning-api
360+
- token-scanning-backfill-worker
361+
- token-scanning-hydro-consumer
362+
- token-scanning-incremental-worker
363+
- token-scanning-udp-backfill-worker
364+
- treelights
365+
- turboscan
366+
- viewscreen
367+
368+
inactive
369+
- wireguard
370+
{% else %}
317371
start/running
318372
- github-resqued, process 12711
319373
- github-unicorn, process 12726
@@ -330,9 +384,9 @@ start/running
330384
- ghe-storage, process 2012
331385
- enterprise-manage-unicorn, process 2024
332386
- enterprise-manage-resque, process 2053
333-
334387
stop/waiting
335388
- ghe-replica-mode
389+
{% endif %}
336390
```
337391

338392
### ghe-set-password

content/admin/configuration/configuring-your-enterprise/configuring-rate-limits.md

+13
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ You can exempt a list of users from API rate limits using the `ghe-config` utili
3434
3. Type limits for authenticated and unauthenticated requests for each API, or accept the pre-filled default limits.
3535
{% data reusables.enterprise_management_console.save-settings %}
3636

37+
{% ifversion enterprise-authentication-rate-limits %}
38+
## Configuring rate limits for authentication to the {% data variables.enterprise.management_console %}
39+
40+
You can configure the lockout time and login attempt limits for the {% data variables.enterprise.management_console %}. If a user exceeds the login attempt limit, the {% data variables.enterprise.management_console %} will remain locked for the duration set by the lockout time. {% data reusables.enterprise_management_console.unlocking-management-console-with-shell %}
41+
42+
43+
{% data reusables.enterprise_site_admin_settings.access-settings %}
44+
{% data reusables.enterprise_site_admin_settings.management-console %}
45+
2. Under "Login attempt rate limiting", configure the lockout time and login attempt rate limit or accept the pre-filled default settings.
46+
![Fields for configuring lockout time and login attempt rate limit](/assets/images/enterprise/management-console/login-attempt-rate-limiting.png)
47+
{% data reusables.enterprise_management_console.save-settings %}
48+
49+
{% endif %}
3750
## Enabling secondary rate limits
3851

3952
Setting secondary rate limits protects the overall level of service on {% data variables.location.product_location %}.

content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-amazon-s3-storage.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
2626

2727
## Enabling {% data variables.product.prodname_actions %} with Amazon S3 storage
2828

29-
{% data reusables.enterprise_installation.ssh-into-instance %}
30-
{% data reusables.actions.perform-blob-storage-precheck %}
3129
{% data reusables.enterprise_site_admin_settings.access-settings %}
3230
{% data reusables.enterprise_site_admin_settings.management-console %}
3331
{% data reusables.enterprise_management_console.actions %}
@@ -41,6 +39,7 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
4139
* **AWS S3 Access Key** and **AWS S3 Secret Key**: The AWS access key ID and secret key for your bucket. For more information on managing AWS access keys, see the "[AWS Identity and Access Management Documentation](https://docs.aws.amazon.com/iam/index.html)."
4240

4341
![Radio button for selecting Amazon S3 Storage and fields for S3 configuration](/assets/images/enterprise/management-console/actions-aws-s3-storage.png)
42+
{% data reusables.enterprise_management_console.test-storage-button %}
4443
{% data reusables.enterprise_management_console.save-settings %}
4544

4645
{% data reusables.actions.enterprise-postinstall-nextsteps %}

content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-azure-blob-storage.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
3333

3434
## Enabling {% data variables.product.prodname_actions %} with Azure Blob storage
3535

36-
{% data reusables.enterprise_installation.ssh-into-instance %}
37-
{% data reusables.actions.perform-blob-storage-precheck %}
3836
{% data reusables.enterprise_site_admin_settings.access-settings %}
3937
{% data reusables.enterprise_site_admin_settings.management-console %}
4038
{% data reusables.enterprise_management_console.actions %}
4139
{% data reusables.actions.enterprise-enable-checkbox %}
4240
1. Under "Artifact & Log Storage", select **Azure Blob Storage**, and enter your Azure storage account's connection string. For more information on getting the connection string for your storage account, see the [Azure documentation](https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal#view-account-access-keys).
43-
![Radio button for selecting Azure Blob Storage and the Connection string field](/assets/images/enterprise/management-console/actions-azure-storage.png)
41+
42+
![Radio button for selecting Azure Blob Storage and the Connection string field](/assets/images/enterprise/management-console/actions-azure-storage.png)
43+
{% data reusables.enterprise_management_console.test-storage-button %}
4444
{% data reusables.enterprise_management_console.save-settings %}
4545

4646
{% data reusables.actions.enterprise-postinstall-nextsteps %}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: Enabling GitHub Actions with Google Cloud Storage
3+
intro: 'You can enable {% data variables.product.prodname_actions %} on {% data variables.product.prodname_ghe_server %} and use Google Cloud Storage to store data generated by workflow runs.'
4+
permissions: 'Site administrators can enable {% data variables.product.prodname_actions %} and configure enterprise settings.'
5+
versions:
6+
feature: 'actions-ghes-gcp-storage'
7+
type: how_to
8+
topics:
9+
- Actions
10+
- Enterprise
11+
- Infrastructure
12+
- Storage
13+
shortTitle: Google Cloud Storage
14+
---
15+
16+
{% note %}
17+
18+
**Note:** {% data variables.product.prodname_actions %} support for Google Cloud Storage is currently in beta and subject to change.
19+
20+
{% endnote %}
21+
22+
## Prerequisites
23+
24+
Before enabling {% data variables.product.prodname_actions %}, make sure you have completed the following steps:
25+
26+
* Create your Google Cloud Storage bucket for storing data generated by workflow runs.
27+
* Create a Google Cloud service account that can access the bucket, and create a Hash-based Message Authentication Code (HMAC) key for the service account. For more information, see "[Manage HMAC keys for service accounts](https://cloud.google.com/storage/docs/authentication/managing-hmackeys)" in the Google Cloud documentation.
28+
29+
The service account must have the following [Identity and Access Management (IAM) permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions) for the bucket:
30+
31+
* `storage.objects.create`
32+
* `storage.objects.get`
33+
* `storage.objects.list`
34+
* `storage.objects.update`
35+
* `storage.objects.delete`
36+
* `storage.multipartUploads.create`
37+
* `storage.multipartUploads.abort`
38+
* `storage.multipartUploads.listParts`
39+
* `storage.multipartUploads.list`
40+
{% data reusables.actions.enterprise-common-prereqs %}
41+
42+
## Enabling {% data variables.product.prodname_actions %} with Google Cloud Storage
43+
44+
{% data reusables.enterprise_site_admin_settings.access-settings %}
45+
{% data reusables.enterprise_site_admin_settings.management-console %}
46+
{% data reusables.enterprise_management_console.actions %}
47+
{% data reusables.actions.enterprise-enable-checkbox %}
48+
1. Under "Artifact & Log Storage", select **Google Cloud Storage**, and enter your bucket's details:
49+
50+
* **Service URL**: The service URL for your bucket. This is usually `https://storage.googleapis.com`.
51+
* **Bucket Name**: The name of your bucket.
52+
* **HMAC Access Id** and **HMAC Secret**: The Google Cloud access ID and secret for your storage account. For more information, see "[Manage HMAC keys for service accounts](https://cloud.google.com/storage/docs/authentication/managing-hmackeys)" in the Google Cloud documentation.
53+
54+
![Radio button for selecting Google Cloud Storage and fields for configuration](/assets/images/enterprise/management-console/actions-google-cloud-storage.png)
55+
{% data reusables.enterprise_management_console.test-storage-button %}
56+
{% data reusables.enterprise_management_console.save-settings %}
57+
58+
{% data reusables.actions.enterprise-postinstall-nextsteps %}

content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-minio-gateway-for-nas-storage.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
2828

2929
## Enabling {% data variables.product.prodname_actions %} with MinIO Gateway for NAS storage
3030

31-
{% data reusables.enterprise_installation.ssh-into-instance %}
32-
{% data reusables.actions.perform-blob-storage-precheck %}
3331
{% data reusables.enterprise_site_admin_settings.access-settings %}
3432
{% data reusables.enterprise_site_admin_settings.management-console %}
3533
{% data reusables.enterprise_management_console.actions %}
@@ -42,7 +40,9 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
4240

4341
![Radio button for selecting Amazon S3 Storage and fields for MinIO configuration](/assets/images/enterprise/management-console/actions-minio-s3-storage.png)
4442
1. Under "Artifact & Log Storage", select **Force path style**.
43+
4544
![Checkbox to Force path style](/assets/images/enterprise/management-console/actions-minio-force-path-style.png)
45+
{% data reusables.enterprise_management_console.test-storage-button %}
4646
{% data reusables.enterprise_management_console.save-settings %}
4747

4848
{% data reusables.actions.enterprise-postinstall-nextsteps %}

content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ topics:
88
children:
99
- /enabling-github-actions-with-azure-blob-storage
1010
- /enabling-github-actions-with-amazon-s3-storage
11+
- /enabling-github-actions-with-google-cloud-storage
1112
- /enabling-github-actions-with-minio-gateway-for-nas-storage
1213
- /managing-self-hosted-runners-for-dependabot-updates
1314
shortTitle: Enable GitHub Actions

content/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-server.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ To enable {% data variables.product.prodname_actions %} on {% data variables.pro
135135

136136
* Azure Blob storage
137137
* Amazon S3
138+
{%- ifversion actions-ghes-gcp-storage %}
139+
* Google Cloud Storage
140+
{%- endif %}
138141
* S3-compatible MinIO Gateway for NAS
139142

140143
{% note %}
@@ -145,8 +148,6 @@ To enable {% data variables.product.prodname_actions %} on {% data variables.pro
145148

146149
{% data reusables.actions.minio-gateways-removal %}
147150

148-
Before you enable {% data variables.product.prodname_actions %}, you can test your storage configuration from the administrative shell with the `ghe-actions-precheck` utility. For more information, see "[Command-line utilities](/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-actions-check)" and "[Accessing the administrative shell (SSH)](/admin/configuration/configuring-your-enterprise/accessing-the-administrative-shell-ssh)."
149-
150151
## Networking considerations
151152

152153
{% data reusables.actions.proxy-considerations %} For more information about using a proxy with {% data variables.product.prodname_ghe_server %}, see "[Configuring an outbound web proxy server](/admin/configuration/configuring-network-settings/configuring-an-outbound-web-proxy-server)."
@@ -157,9 +158,12 @@ Before you enable {% data variables.product.prodname_actions %}, you can test yo
157158

158159
Follow one of the procedures below to enable {% data variables.product.prodname_actions %} with your chosen storage provider:
159160

160-
* [Enabling GitHub Actions with Azure Blob storage](/admin/github-actions/enabling-github-actions-with-azure-blob-storage)
161-
* [Enabling GitHub Actions with Amazon S3 storage](/admin/github-actions/enabling-github-actions-with-amazon-s3-storage)
162-
* [Enabling GitHub Actions with MinIO Gateway for NAS storage](/admin/github-actions/enabling-github-actions-with-minio-gateway-for-nas-storage)
161+
* [Enabling GitHub Actions with Azure Blob storage](/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-azure-blob-storage)
162+
* [Enabling GitHub Actions with Amazon S3 storage](/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-amazon-s3-storage)
163+
{%- ifversion actions-ghes-gcp-storage %}
164+
* [Enabling GitHub Actions with Google Cloud Storage](/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-google-cloud-storage)
165+
{%- endif %}
166+
* [Enabling GitHub Actions with MinIO Gateway for NAS storage](/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-minio-gateway-for-nas-storage)
163167

164168
## Managing access permissions for {% data variables.product.prodname_actions %} in your enterprise
165169

0 commit comments

Comments
 (0)