Skip to content

Commit 1b14395

Browse files
authored
Hack week 2025: remove unneeded FBV instances (13) - Enterprise & OIDC (#53982)
1 parent 8b6d917 commit 1b14395

File tree

13 files changed

+8
-147
lines changed

13 files changed

+8
-147
lines changed

content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ $ ghe-announce -u
3333
> Removed the announcement message
3434
```
3535

36-
{% ifversion ghe-announce-dismiss %}
3736
To allow each user to dismiss the announcement for themselves, use the `-d` flag.
3837

3938
```shell
@@ -46,8 +45,6 @@ $ ghe-announce -u
4645
> dismissible: MESSAGE
4746
```
4847

49-
{% endif %}
50-
5148
You can also set an announcement banner using the enterprise settings on {% data variables.product.product_name %}. For more information, see [AUTOTITLE](/admin/user-management/managing-users-in-your-enterprise/customizing-user-messages-for-your-enterprise#creating-a-global-announcement-banner).
5249

5350
<!--For earlier releases of GHES, see the previous service `ghe-resque-info`-->
@@ -791,8 +788,6 @@ Flag | Description
791788

792789
{% endif %}
793790

794-
{% ifversion ghe-spokes-deprecation-phase-1 %}
795-
796791
### ghe-spokesctl
797792

798793
This utility allows you to manage replication of repositories on the distributed Git servers.
@@ -813,36 +808,6 @@ To evacuate storage services on a cluster node:
813808
ghe-spokesctl server set evacuating git-server-UUID
814809
```
815810

816-
{% else %}
817-
818-
### ghe-spokes
819-
820-
This utility allows you to manage the three copies of each repository on the distributed Git servers.
821-
822-
```shell
823-
ghe-spokes
824-
```
825-
826-
To show a summary of repository location and health:
827-
828-
```shell
829-
ghe-spokes status
830-
```
831-
832-
To show the servers in which the repository is stored:
833-
834-
```shell
835-
ghe-spokes route
836-
```
837-
838-
To evacuate storage services on a cluster node:
839-
840-
```shell
841-
ghe-spokes server evacuate git-server-UUID
842-
```
843-
844-
{% endif %}
845-
846811
### ghe-storage
847812

848813
This utility allows you to evacuate all storage services before evacuating a cluster node.
@@ -984,13 +949,9 @@ This utility tests the blob storage configuration for {% data variables.product.
984949
985950
For more information about the configuration of {% data variables.product.prodname_actions %}, see [AUTOTITLE](/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-server).
986951
987-
{% ifversion ghes-actions-storage-oidc %}
988-
989952
> [!NOTE]
990953
> This utility only works with configurations that use a credentials-based connection to the storage provider. To test OpenID Connect (OIDC) configurations, use [`ghe-actions-test-storage-with-oidc`](#ghe-actions-test-storage-with-oidc).
991954
992-
{% endif %}
993-
994955
```shell
995956
ghe-actions-precheck -p [PROVIDER] -cs ["CONNECTION-STRING"]
996957
```
@@ -1001,8 +962,6 @@ If your storage system is configured correctly, you'll see the following output.
1001962
All Storage tests passed
1002963
```
1003964

1004-
{% ifversion ghes-actions-storage-oidc %}
1005-
1006965
### ghe-actions-test-storage-with-oidc
1007966

1008967
This utility checks that the blob storage provider for {% data variables.product.prodname_actions %} on {% data variables.location.product_location %} is valid when OpenID Connect (OIDC) is used.
@@ -1014,8 +973,6 @@ This utility checks that the blob storage provider for {% data variables.product
1014973
ghe-actions-test-storage-with-oidc -p [PROVIDER] -cs ["CONNECTION-STRING"]
1015974
```
1016975

1017-
{% endif %}
1018-
1019976
### ghe-actions-stop
1020977

1021978
This utility stops {% data variables.product.prodname_actions %} from running on {% data variables.location.product_location %}.
@@ -1330,8 +1287,6 @@ In this example, `ghe-repl-status -vv` sends verbose status information from a r
13301287
13311288
## Upgrading {% data variables.product.prodname_ghe_server %}
13321289
1333-
{% ifversion ghes-upgrade-complete-indicator %}
1334-
13351290
### ghe-check-background-upgrade-jobs
13361291
13371292
During an upgrade to a feature release, this utility displays the status of background jobs on {% data variables.location.product_location %}. If you're running back-to-back upgrades, you should use this utility to check that all background jobs are complete before proceeding with the next upgrade.
@@ -1347,10 +1302,6 @@ During an upgrade to a feature release, this utility displays the status of back
13471302
ghe-check-background-upgrade-jobs
13481303
```
13491304

1350-
{% endif %}
1351-
1352-
{% ifversion ghe-migrations-cli-utility %}
1353-
13541305
### ghe-migrations
13551306

13561307
During an upgrade to a feature release, this utility displays the status of active database migrations on {% data variables.location.product_location %}. The output includes a version identifier for the migration, the migration's name, the migration's status, and the current duration of the migration.
@@ -1373,8 +1324,6 @@ By default, the visualizer refreshes every second. To specify the duration in se
13731324
ghe-migrations -refresh_rate SECONDS
13741325
```
13751326

1376-
{% endif %}
1377-
13781327
### ghe-update-check
13791328

13801329
This utility will check to see if a new patch release of {% data variables.product.prodname_enterprise %} is available. If it is, and if space is available on your instance, it will download the package. By default, it's saved to _/var/lib/ghe-updates_. An administrator can then [perform the upgrade](/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources).

content/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ People with admin permissions can set a more granular forking policy. For more i
119119
{% data reusables.enterprise-accounts.repositories-tab %}
120120
1. Under "Repository forking", review the information about changing the setting. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %}
121121
1. Under "Repository forking", select the dropdown menu and click a policy.
122-
{%- ifversion innersource-fork-policies %}
123122
1. If forking is enabled, select a policy for where users are allowed to fork repositories.
124-
{%- endif %}
125123

126124
## Enforcing a policy for inviting{% ifversion ghec %} outside{% endif %} collaborators to repositories
127125

content/admin/managing-accounts-and-repositories/communicating-information-to-users-in-your-enterprise/customizing-user-messages-for-your-enterprise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ You can also set an announcement banner{% ifversion ghes %} in the administrativ
107107
{% data reusables.enterprise-accounts.access-enterprise %}
108108
{% data reusables.enterprise-accounts.settings-tab %}
109109
{% data reusables.enterprise-accounts.messages-tab %}
110-
{%- ifversion ghe-announce-dismiss %}
110+
{%- ifversion ghes %}
111111
1. Optionally, to allow each user to dismiss the announcement, select **User dismissible**.
112112
{%- endif %}
113113
1. Optionally, to allow each user to dismiss the announcement, select **Allow users to dismiss the announcement**.

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

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ shortTitle: Amazon S3 storage
1818

1919
{% data reusables.actions.enterprise-storage-about %}
2020

21-
{% ifversion ghes-actions-storage-oidc %}
2221
{% data reusables.actions.enterprise-storage-about-oidc %}
23-
{% endif %}
2422

2523
## Prerequisites
2624

@@ -35,8 +33,6 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
3533
{% data reusables.actions.enterprise-common-prereqs %}
3634
{% data reusables.actions.enterprise-oidc-prereqs %}
3735

38-
{% ifversion ghes-actions-storage-oidc %}
39-
4036
## Enabling {% data variables.product.prodname_actions %} with Amazon S3 using OIDC (recommended)
4137

4238
To configure {% data variables.product.prodname_ghe_server %} to use OIDC with an Amazon S3 bucket, you must first create an Amazon OIDC provider, then create an Identity and Access Management (IAM) role, and finally configure {% data variables.product.prodname_ghe_server %} to use the provider and role to access your S3 bucket.
@@ -150,9 +146,7 @@ To configure {% data variables.product.prodname_ghe_server %} to use OIDC with a
150146
{% data reusables.enterprise_management_console.test-storage-button %}
151147
{% data reusables.enterprise_management_console.save-settings %}
152148

153-
{% endif %}
154-
155-
## Enabling {% data variables.product.prodname_actions %} with Amazon S3 storage{% ifversion ghes-actions-storage-oidc %} using access keys{% endif %}
149+
## Enabling {% data variables.product.prodname_actions %} with Amazon S3 storage using access keys
156150

157151
1. Using the AWS Console or CLI, create an access key for your storage bucket.
158152
{% data reusables.actions.enterprise-s3-permission %}
@@ -162,16 +156,10 @@ To configure {% data variables.product.prodname_ghe_server %} to use OIDC with a
162156
{% data reusables.enterprise_site_admin_settings.management-console %}
163157
{% data reusables.enterprise_management_console.actions %}
164158
{% data reusables.actions.enterprise-enable-checkbox %}
165-
{%- ifversion ghes-actions-storage-oidc %}
166159
{% data reusables.actions.enterprise-s3-storage-setup %}
167160
1. Under "Authentication", select **Credentials-based**, and enter your storage bucket's details:
168161
169162
{% data reusables.actions.enterprise-s3-storage-credential-fields %}
170-
{%- else %}
171-
1. Under "Artifact & Log Storage", select **Amazon S3**, then enter your storage bucket's details:
172-
173-
{% data reusables.actions.enterprise-s3-storage-credential-fields %}
174-
{%- endif %}
175163
{% data reusables.enterprise_management_console.test-storage-button %}
176164
{% data reusables.enterprise_management_console.save-settings %}
177165

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

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ shortTitle: Azure Blob storage
1818

1919
{% data reusables.actions.enterprise-storage-about %}
2020

21-
{% ifversion ghes-actions-storage-oidc %}
2221
{% data reusables.actions.enterprise-storage-about-oidc %}
23-
{% endif %}
2422

2523
## Prerequisites
2624

@@ -38,8 +36,6 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
3836
{% data reusables.actions.enterprise-common-prereqs %}
3937
{% data reusables.actions.enterprise-oidc-prereqs %}
4038

41-
{% ifversion ghes-actions-storage-oidc %}
42-
4339
## Enabling {% data variables.product.prodname_actions %} with Azure Blob storage using OIDC (recommended)
4440

4541
To configure {% data variables.product.prodname_ghe_server %} to use OIDC with an Azure storage account, you must first register a Microsoft Entra ID (previously known as Azure AD) application with OIDC credentials, then configure your storage account, and finally configure {% data variables.product.prodname_ghe_server %} to access the storage container using the Entra ID.
@@ -94,20 +90,14 @@ To configure {% data variables.product.prodname_ghe_server %} to use OIDC with a
9490
{% data reusables.enterprise_management_console.test-storage-button %}
9591
{% data reusables.enterprise_management_console.save-settings %}
9692

97-
{% endif %}
98-
99-
## Enabling {% data variables.product.prodname_actions %} with Azure Blob storage{% ifversion ghes-actions-storage-oidc %} using a connection string{% endif %}
93+
## Enabling {% data variables.product.prodname_actions %} with Azure Blob storage using a connection string
10094

10195
{% data reusables.enterprise_site_admin_settings.access-settings %}
10296
{% data reusables.enterprise_site_admin_settings.management-console %}
10397
{% data reusables.enterprise_management_console.actions %}
10498
{% data reusables.actions.enterprise-enable-checkbox %}
105-
{%- ifversion ghes-actions-storage-oidc %}
10699
{% data reusables.actions.enterprise-azure-storage-setup %}
107100
1. Under "Authentication", select **Credentials-based**, 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).
108-
{%- else %}
109-
1. Under "Artifact & Log Storage", select **Azure Blob Storage**, then enter your Azure storage account's connection string. For more information about getting the connection string for your storage account, see the [View account access keys](https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal#view-account-access-keys) on Microsoft Learn.
110-
{%- endif %}
111101
{% data reusables.enterprise_management_console.test-storage-button %}
112102
{% data reusables.enterprise_management_console.save-settings %}
113103

content/admin/managing-github-actions-for-your-enterprise/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-google-cloud-storage.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ redirect_from:
2020
2121
{% data reusables.actions.enterprise-storage-about %}
2222

23-
{% ifversion ghes-actions-storage-oidc %}
2423
{% data reusables.actions.enterprise-storage-about-oidc %}
25-
{% endif %}
2624

2725
## Prerequisites
2826

@@ -32,8 +30,6 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
3230
{% data reusables.actions.enterprise-common-prereqs %}
3331
{% data reusables.actions.enterprise-oidc-prereqs %}
3432

35-
{% ifversion ghes-actions-storage-oidc %}
36-
3733
## Enabling {% data variables.product.prodname_actions %} with Google Cloud Storage using OIDC (recommended)
3834

3935
To configure {% data variables.product.prodname_ghe_server %} to use OIDC with Google Cloud Storage, you must first create a Google Cloud service account, then create a Google Cloud identity pool and identity provider, and finally configure {% data variables.product.prodname_ghe_server %} to use the provider and service account to access your Google Cloud Storage bucket.
@@ -119,9 +115,7 @@ To configure {% data variables.product.prodname_ghe_server %} to use OIDC with G
119115
{% data reusables.enterprise_management_console.test-storage-button %}
120116
{% data reusables.enterprise_management_console.save-settings %}
121117
122-
{% endif %}
123-
124-
## Enabling {% data variables.product.prodname_actions %} with Google Cloud Storage{% ifversion ghes-actions-storage-oidc %} using a HMAC key{% endif %}
118+
## Enabling {% data variables.product.prodname_actions %} with Google Cloud Storage using a HMAC key
125119
126120
1. 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.
127121
@@ -140,16 +134,10 @@ To configure {% data variables.product.prodname_ghe_server %} to use OIDC with G
140134
{% data reusables.enterprise_site_admin_settings.management-console %}
141135
{% data reusables.enterprise_management_console.actions %}
142136
{% data reusables.actions.enterprise-enable-checkbox %}
143-
{%- ifversion ghes-actions-storage-oidc %}
144137
{% data reusables.actions.enterprise-gcp-storage-setup %}
145138
1. Under "Authentication", select **Credentials-based**, and enter your storage bucket's details:
146139
147140
{% data reusables.actions.enterprise-gcp-storage-credential-fields %}
148-
{%- else %}
149-
1. Under "Artifact & Log Storage", select **Google Cloud Storage**, and enter your bucket's details:
150-
151-
{% data reusables.actions.enterprise-gcp-storage-credential-fields %}
152-
{%- endif %}
153141
{% data reusables.enterprise_management_console.test-storage-button %}
154142
{% data reusables.enterprise_management_console.save-settings %}
155143

content/admin/managing-github-actions-for-your-enterprise/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-minio-storage.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,13 @@ Before enabling {% data variables.product.prodname_actions %}, make sure you hav
3737
{% data reusables.enterprise_site_admin_settings.management-console %}
3838
{% data reusables.enterprise_management_console.actions %}
3939
{% data reusables.actions.enterprise-enable-checkbox %}
40-
{%- ifversion ghes-actions-storage-oidc %}
4140
{% data reusables.actions.enterprise-s3-storage-setup %}
4241
1. Under "Authentication", select **Credentials-based**, and enter your storage bucket's details:
4342

4443
> [!NOTE]
4544
> For MinIO, you cannot use OpenID Connect (OIDC) authentication. You must use credentials-based authentication.
4645
4746
{% data reusables.actions.enterprise-minio-storage-credential-fields %}
48-
{%- else %}
49-
1. Under "Artifact & Log Storage", select **Amazon S3**, and enter your storage bucket's details:
50-
51-
{% data reusables.actions.enterprise-minio-storage-credential-fields %}
52-
{% endif %}
5347
1. Under "Artifact & Log Storage", select **Force path style**.
5448
{% data reusables.enterprise_management_console.test-storage-button %}
5549
{% data reusables.enterprise_management_console.save-settings %}

content/admin/monitoring-and-managing-your-instance/configuring-clustering/evacuating-a-cluster-node-running-data-services.md

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,14 @@ If you plan to take a node offline and the node runs any of the following roles,
4949

5050
* `git-server`:
5151

52-
{% ifversion ghe-spokes-deprecation-phase-1 %}
5352
* Command:
5453

5554
```shell
5655
ghe-spokesctl server status git-server-UUID
5756
```
5857

5958
* Relevant output: `NETWORKS`, `GISTS`
60-
{% else %}
61-
* Command:
62-
63-
```shell
64-
ghe-spokes evac-status git-server-UUID
65-
```
6659

67-
* Relevant output: `Networks`, `Gists`
68-
{% endif %}
6960
* `pages-server`:
7061

7162
* Command:
@@ -90,20 +81,10 @@ If you plan to take a node offline and the node runs any of the following roles,
9081

9182
* Command (replace REASON FOR EVACUATION with the reason for evacuation):
9283

93-
{%- ifversion ghe-spokes-deprecation-phase-1 %}
94-
9584
```shell
9685
ghe-spokesctl server set evacuating git-server-UUID 'REASON FOR EVACUATION'
9786
```
9887

99-
{%- else %}
100-
101-
```shell
102-
ghe-spokes server evacuate git-server-UUID 'REASON FOR EVACUATION'
103-
```
104-
105-
{%- endif %}
106-
10788
* `pages-server`:
10889

10990
* Command:
@@ -133,20 +114,10 @@ If you plan to take a node offline and the node runs any of the following roles,
133114
134115
* `git-server`:
135116
136-
{%- ifversion ghe-spokes-deprecation-phase-1 %}
137-
138117
```shell
139118
ghe-spokesctl server evac-status git-server-UUID
140119
```
141120
142-
{%- else %}
143-
144-
```shell
145-
ghe-spokes evac-status git-server-UUID
146-
```
147-
148-
{%- endif %}
149-
150121
* `pages-server`:
151122
152123
```shell

0 commit comments

Comments
 (0)