Skip to content

Commit 16a4855

Browse files
mchammer01vgrl
andauthored
Hack week 2025: remove unneeded FBV instances (7) - GHES, Projects, and CodeQL (#53902)
Co-authored-by: Vanessa <[email protected]>
1 parent d5409ab commit 16a4855

File tree

13 files changed

+17
-49
lines changed

13 files changed

+17
-49
lines changed

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

+2-6
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,6 @@ ghe-webhook-logs -g DELIVERY_GUID
562562

563563
## Clustering
564564

565-
{% ifversion cluster-rebalancing %}
566-
567565
### ghe-cluster-balance
568566

569567
This utility allows you to enforce an even distribution of allocations across your cluster nodes by checking the status of your cluster's allocations, then rebalancing problematic allocations. For more information, see [AUTOTITLE](/admin/enterprise-management/configuring-clustering/rebalancing-cluster-workloads).
@@ -608,8 +606,6 @@ To display a short description of the utility and any valid subcommands:
608606
ghe-cluster-balance help
609607
```
610608

611-
{% endif %}
612-
613609
### ghe-cluster-maintenance
614610

615611
With the `ghe-cluster-maintenance` utility, you can set or unset maintenance mode for every node in a cluster.
@@ -674,7 +670,7 @@ ssh -p 122 admin@HOSTNAME -- 'ghe-cluster-support-bundle -o' > cluster-support-b
674670
To create a standard bundle including data from the last 2 days:
675671

676672
```shell
677-
ssh -p 122 admin@HOSTNAME -- "ghe-cluster-support-bundle -p {% ifversion bundle-cli-syntax-no-quotes %}2days {% endif %} -o" > support-bundle.tgz
673+
ssh -p 122 admin@HOSTNAME -- "ghe-cluster-support-bundle -p 2days -o" > support-bundle.tgz
678674
```
679675

680676
To create an extended bundle including data from the last 8 days:
@@ -1295,7 +1291,7 @@ ssh -p 122 admin@HOSTNAME -- 'ghe-support-bundle -o' > support-bundle.tgz
12951291
To create a standard bundle including data from the last 2 days:
12961292

12971293
```shell
1298-
ssh -p 122 admin@HOSTNAME -- "ghe-support-bundle -p {% ifversion bundle-cli-syntax-no-quotes %}2days {% endif %} -o" > support-bundle.tgz
1294+
ssh -p 122 admin@HOSTNAME -- "ghe-support-bundle -p 2days -o" > support-bundle.tgz
12991295
```
13001296

13011297
To create an extended bundle including data from the last 8 days:

Diff for: content/admin/backing-up-and-restoring-your-instance/configuring-backups-on-your-instance.md

-4
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ On an instance in a high-availability configuration, after you restore to new di
188188
189189
To remediate after the restoration completes and before starting replication, you can tear down stale UUIDs using `ghe-repl-teardown`. If you need further assistance, visit {% data variables.contact.contact_ent_support %}.
190190
191-
{% ifversion backup-utilities-progress %}
192-
193191
## Monitoring backup or restoration progress
194192
195193
During a backup or restoration operation, you can use the `ghe-backup-progress` utility on your backup host to monitor the operation's progress. The utility prints the progress of each job sequentially.
@@ -207,5 +205,3 @@ Optionally, you can run the following command to print the current progress, the
207205
```shell copy
208206
bin/ghe-backup-progress --once
209207
```
210-
211-
{% endif %}

Diff for: content/admin/configuring-settings/configuring-user-applications-for-your-enterprise/configuring-applications.md

-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ You can enable a retention policy for checks, actions, and associated data by se
3636
1. Under "Delete threshold (days)", type the number of days for the deletion threshold. An archived check exists in an archived state for the number of days specified here. After this threshold, the check will be permanently deleted.
3737
{% data reusables.enterprise_management_console.save-settings %}
3838

39-
{% ifversion azure-maps %}
4039
{% ifversion ghes < 3.13 %}
4140

4241
## Enabling interactive maps
4342

4443
You can enable the display of interactive maps in the web interface for users of {% data variables.location.product_location %}. For more information, see [AUTOTITLE](/admin/configuration/configuring-user-applications-for-your-enterprise/configuring-interactive-maps).
4544

4645
{% endif %}
47-
{% endif %}

Diff for: content/admin/configuring-settings/configuring-user-applications-for-your-enterprise/configuring-interactive-maps.md

+3-21
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ intro: 'You can enable the display of interactive maps in the web interface for
44
shortTitle: Configure interactive maps
55
permissions: 'People with access to the {% data variables.enterprise.management_console %} can configure interactive maps.'
66
versions:
7-
feature: azure-maps
7+
ghes: '*'
88
type: how_to
99
topics:
1010
- Enterprise
@@ -18,33 +18,27 @@ You can allow users of {% data variables.location.product_location %} to create
1818

1919
To enable interactive maps, you must provide authentication credentials for Azure Maps.
2020

21-
{% ifversion azure-maps-auth-2023 %}
2221
{% ifversion ghes < 3.13 %}
2322

2423
> [!WARNING]
2524
> Authentication with Azure Maps using an API token is {% data variables.release-phases.retired %} in {% data variables.product.product_name %} {{ allVersions[currentVersion].currentRelease }}.{% ifversion ghes = 3.10 %}4{% elsif ghes = 3.11 %}1{% endif %} and later. If you upgrade to the latest release of {% data variables.product.product_name %} on an instance already configured to authenticate with an API token, interactive maps will be disabled. You must reconfigure authentication using role-based access control (RBAC) for an application on a Microsoft Entra ID (previously known as Azure AD) tenant. {% data reusables.enterprise.azure-maps-auth-deprecation-link %}
2625
27-
{% endif %}
2826
{% endif %}
2927

3028
## Prerequisites
3129

32-
{% ifversion azure-maps-auth-2023 %}
33-
3430
{% ifversion ghes < 3.12 %}
3531

3632
The following prerequisites apply if your instance runs {% data variables.product.product_name %} {{ allVersions[currentVersion].currentRelease }}.{% ifversion ghes = 3.10 %}4{% elsif ghes = 3.11 %}1{% endif %} or later.
3733

3834
{% endif %}
3935

40-
* To configure interactive maps for your instance, you must have {% ifversion azure-maps-auth-2023 %}administrative access to a tenant in Microsoft Entra ID. For more information, contact the administrator for Microsoft resources at your company, or see [Quickstart: Create a new tenant in Microsoft Entra ID](https://learn.microsoft.com/entra/fundamentals/create-new-tenant) on Microsoft Learn{% else %}an API token for Azure Maps{% endif %}.
36+
* To configure interactive maps for your instance, you must have administrative access to a tenant in Microsoft Entra ID. For more information, contact the administrator for Microsoft resources at your company, or see [Quickstart: Create a new tenant in Microsoft Entra ID](https://learn.microsoft.com/entra/fundamentals/create-new-tenant) on Microsoft Learn.
4137

4238
* You must know the tenant ID for your tenant in Entra ID. For more information, see [Get subscription and tenant IDs in the Azure portal](https://learn.microsoft.com/en-us/azure/azure-portal/get-subscription-tenant-id#find-your-microsoft-entra-tenant) on Microsoft Learn.
4339

4440
* Your instance must be able to access https://login.microsoftonline.com.
4541

46-
{% endif %}
47-
4842
{% ifversion ghes < 3.12 %}
4943

5044
If your instance runs {% ifversion ghes < 3.11 %}a release of {% data variables.product.product_name %} in the {{ allVersions[currentVersion].currentRelease }} series earlier than {% else %}{% data variables.product.product_name %} {% endif %}{{ allVersions[currentVersion].currentRelease }}.{% ifversion ghes = 3.10 %}3{% elsif ghes = 3.11 %}0{% endif %}, you must provide an API token for Azure Maps instead.
@@ -53,8 +47,6 @@ If your instance runs {% ifversion ghes < 3.11 %}a release of {% data variables.
5347

5448
{% endif %}
5549

56-
{% ifversion azure-maps-auth-2023 %}
57-
5850
## Generating credentials for Azure Maps
5951

6052
{% ifversion ghes < 3.12 %}
@@ -83,16 +75,10 @@ To generate credentials for Azure Maps, you must create an application for your
8375

8476
* On your Entra ID tenant, from **Access control (IAM)**, you must assign the role of "Azure Maps Data Reader" to "User, group, or service principal", select the application you created earlier in these instructions, and complete the form.
8577

86-
{% endif %}
87-
8878
## Enabling interactive maps
8979

90-
{% ifversion azure-maps-auth-2023 %}
91-
9280
After you create an application on your Entra ID tenant and generate a secret for the use of Azure Maps, you can configure interactive maps on {% data variables.location.product_location %}.
9381

94-
{% endif %}
95-
9682
{% data reusables.enterprise_site_admin_settings.access-settings %}
9783
{% data reusables.enterprise_site_admin_settings.management-console %}
9884
{% data reusables.enterprise_management_console.privacy %}
@@ -104,16 +90,15 @@ After you create an application on your Entra ID tenant and generate a secret fo
10490
```
10591

10692
Store the string in a secure location that you can reference in the next step.
107-
{%- ifversion azure-maps-auth-2023 %}
10893
1. {% ifversion ghes > 3.11 %}Below the headings, type or paste{% else %}Enter{% endif %} your authentication details for Azure Maps.
10994

11095
{%- ifversion ghes < 3.11 %}
11196
* If your instance runs {% ifversion ghes < 3.11 %}a release of {% data variables.product.product_name %} in the {{ allVersions[currentVersion].currentRelease }} series earlier than {% else %}{% data variables.product.product_name %} {% endif %}{{ allVersions[currentVersion].currentRelease }}.{% ifversion ghes = 3.10 %}3{% elsif ghes = 3.11 %}0{% endif %}, below "Azure Maps API Token", type or paste your token.
11297

11398
{% data reusables.enterprise.azure-maps-auth-warning %}
11499
* If your instance runs {% data variables.product.product_name %} {{ allVersions[currentVersion].currentRelease }}.{% ifversion ghes = 3.10 %}4{% elsif ghes = 3.11 %}1{% endif %} or later, below the headings, type or paste the following information.
100+
{%- endif %}
115101

116-
{%- endif %}
117102
* Optionally, to change the style of rendered maps, under "Basemap ID", type the ID for the style you'd like to use.
118103
* Under the headings, type or paste your authentication details.
119104

@@ -124,9 +109,6 @@ After you create an application on your Entra ID tenant and generate a secret fo
124109
| Azure Tenant ID | ID for your tenant on Entra ID | [Prerequisites](#prerequisites) |
125110
| Azure App Client Secret | Client secret that you generated for the application on your Entra ID tenant | [Generating credentials for Azure Maps](#generating-credentials-for-azure-maps)
126111
| CSRF Secret | 32-character string to prevent CSRF attacks | See previous step. |
127-
{%- else %}
128-
1. To configure authentication, under "Azure Maps API Token", paste your token.
129-
{%- endif %}
130112
{% data reusables.enterprise_management_console.save-settings %}
131113

132114
## Disabling interactive maps

Diff for: content/admin/monitoring-and-managing-your-instance/configuring-clustering/rebalancing-cluster-workloads.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ intro: 'You can force your {% data variables.product.product_name %} cluster to
55
product: '{% data reusables.gated-features.cluster %}'
66
permissions: 'People with administrative SSH access to a {% data variables.product.product_name %} instance can rebalance cluster workloads on the instance.'
77
versions:
8-
feature: cluster-rebalancing
8+
ghes: '*'
99
type: how_to
1010
topics:
1111
- Clustering

Diff for: content/admin/monitoring-and-managing-your-instance/configuring-clustering/replacing-a-cluster-node.md

-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ topics:
2121

2222
You can replace a functional node in a {% data variables.product.product_name %} cluster, or you can replace a node that has failed unexpectedly.
2323

24-
{% ifversion cluster-rebalancing %}
2524
After you replace a node, {% data variables.location.product_location %} does not automatically distribute jobs to the new node. You can force your instance to balance jobs across nodes. For more information, see [AUTOTITLE](/admin/enterprise-management/configuring-clustering/rebalancing-cluster-workloads).
26-
{% endif %}
2725

2826
> [!WARNING]
2927
> To avoid conflicts, do not reuse a hostname that was previously assigned to a node in the cluster.

Diff for: content/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ If you need more granular control over your {% data variables.product.prodname_c
5050
Your repository is eligible for default setup for {% data variables.product.prodname_code_scanning %} if:{% ifversion default-setup-pre-enablement %}
5151
<!-- No restrictions on languages. Can be set up before CodeQL supported languages are added. -->
5252
{% else %}
53-
* It includes at least one {% data variables.product.prodname_codeql %}-supported language{% ifversion codeql-swift-advanced-setup %} aside from Swift{% endif %}.{% endif %}
53+
* It includes at least one {% data variables.product.prodname_codeql %}-supported language{% ifversion ghes = 3.10 %} aside from Swift{% endif %}.{% endif %}
5454
* {% data variables.product.prodname_actions %} are enabled.{% ifversion fpt %}
5555
* It is publicly visible.{%- elsif ghec %}
5656
* It is publicly visible, or {% data variables.product.prodname_GH_advanced_security %} is enabled.{%- elsif ghes %}
@@ -62,7 +62,7 @@ Your repository is eligible for default setup for {% data variables.product.prod
6262
If your repository includes at least one {% data variables.product.prodname_codeql %}-supported language, you can use default setup even if your repository also includes languages that aren't supported by {% data variables.product.prodname_codeql %}, such as R. Unsupported languages will not be scanned by default setup. For more information on {% data variables.product.prodname_codeql %}-supported languages, see [AUTOTITLE](/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql#about-codeql).
6363
{% endif %}
6464

65-
You can use default setup for all {% data variables.product.prodname_codeql %}-supported languages{% ifversion codeql-swift-advanced-setup %} except Swift{% endif %} for self-hosted runners or {% data variables.product.prodname_dotcom %}-hosted runners. See [Assigning labels to runners](#assigning-labels-to-runners), later in this article.
65+
You can use default setup for all {% data variables.product.prodname_codeql %}-supported languages{% ifversion ghes = 3.10 %} except Swift{% endif %} for self-hosted runners or {% data variables.product.prodname_dotcom %}-hosted runners. See [Assigning labels to runners](#assigning-labels-to-runners), later in this article.
6666

6767
{% ifversion codeql-no-build %}Default setup uses the `none` build mode for {% data variables.code-scanning.no_build_support %} and uses the `autobuild` build mode for other compiled languages. You should configure your self-hosted runners to make sure they can run all the necessary commands for C/C++, C#, and Swift analysis. Analysis of JavaScript/TypeScript, Go, Ruby, Python, and Kotlin code does not currently require special configuration.{% else %}Default setup runs the `autobuild` action, so you should configure your self-hosted runners to make sure they can run all the necessary commands for {% data variables.code-scanning.compiled_languages %} analysis. Analysis of JavaScript/TypeScript, Go, Ruby, Python, and Kotlin code does not currently require special configuration.{% endif %}
6868

@@ -78,7 +78,7 @@ We recommend that you start using {% data variables.product.prodname_code_scanni
7878
If the code in a repository changes to include Go, JavaScript/TypeScript, Python, or Ruby, {% data variables.product.prodname_dotcom %} will automatically update the {% data variables.product.prodname_code_scanning %} configuration to include the new language. If {% data variables.product.prodname_code_scanning %} fails with the new configuration, {% data variables.product.prodname_dotcom %} will resume the previous configuration automatically so the repository does not lose {% data variables.product.prodname_code_scanning %} coverage.
7979
{% endif %}
8080

81-
Compiled languages are not automatically included in default setup configuration because they often require more advanced configuration, but you can manually select any {% data variables.product.prodname_codeql %}-supported compiled language{% ifversion codeql-swift-advanced-setup %} other than Swift{% endif %} for analysis.
81+
Compiled languages are not automatically included in default setup configuration because they often require more advanced configuration, but you can manually select any {% data variables.product.prodname_codeql %}-supported compiled language{% ifversion ghes = 3.10 %} other than Swift{% endif %} for analysis.
8282

8383
{% endif %}
8484

Diff for: content/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Types of {% data variables.projects.projects_v1_boards %}:
3434

3535
To create a {% data variables.projects.projects_v1_board %} for your organization, you must be an organization member. Organization owners and people with {% data variables.projects.projects_v1_board %} admin permissions can customize access to the {% data variables.projects.projects_v1_board %}.
3636

37-
{% ifversion classic-project-visibility-permissions %}{% data reusables.projects.owners-can-limit-visibility-permissions %}{% endif %}
37+
{% data reusables.projects.owners-can-limit-visibility-permissions %}
3838

3939
{% endif %}
4040

Diff for: content/issues/organizing-your-work-with-project-boards/managing-project-boards/changing-project-board-visibility.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ allowTitleToDifferFromFilename: true
1717
{% data reusables.project-management.project-board-visibility %}
1818

1919
> [!NOTE]
20-
> {% ifversion classic-project-visibility-permissions %}{% data reusables.projects.owners-can-limit-visibility-permissions %}
21-
> * {% endif %}When you make your {% data variables.projects.projects_v1_board %} public, organization members are given read access by default. You can give specific organization members write or admin permissions by giving access to teams they're on or by adding them to the {% data variables.projects.projects_v1_board %} as a collaborator. For more information, see [AUTOTITLE](/organizations/managing-access-to-your-organizations-project-boards/project-board-permissions-for-an-organization).
20+
> {% data reusables.projects.owners-can-limit-visibility-permissions %}
21+
> * When you make your {% data variables.projects.projects_v1_board %} public, organization members are given read access by default. You can give specific organization members write or admin permissions by giving access to teams they're on or by adding them to the {% data variables.projects.projects_v1_board %} as a collaborator. For more information, see [AUTOTITLE](/organizations/managing-access-to-your-organizations-project-boards/project-board-permissions-for-an-organization).
2222
2323
1. Navigate to the {% data variables.projects.projects_v1_board %} you want to make public or private.
2424
{% data reusables.project-management.click-menu %}

Diff for: content/issues/organizing-your-work-with-project-boards/managing-project-boards/creating-a-project-board.md

-4
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,9 @@ You can also configure workflow automations to keep your {% data variables.proje
5959

6060
{% data reusables.projects.classic-project-creation %}
6161

62-
{% ifversion classic-project-visibility-permissions %}
63-
6462
> [!NOTE]
6563
> {% data reusables.projects.owners-can-limit-visibility-permissions %}
6664
67-
{% endif %}
68-
6965
{% data reusables.profile.access_org %}
7066
{% data reusables.user-settings.access_org %}
7167
{% data reusables.organizations.organization-wide-project %}{% ifversion projects-v2 %}

Diff for: content/organizations/managing-access-to-your-organizations-project-boards/project-board-permissions-for-an-organization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For example, if an organization owner has given all organization members read pe
3636

3737
## {% data variables.projects.projects_v1_board_caps %} visibility
3838

39-
{% ifversion classic-project-visibility-permissions %}{% data reusables.projects.owners-can-limit-visibility-permissions %}{% endif %}
39+
{% data reusables.projects.owners-can-limit-visibility-permissions %}
4040

4141
{% data reusables.project-management.project-board-visibility %} You can change the {% data variables.projects.projects_v1_board %}'s visibility from private to public and back again. For more information, see [AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/changing-project-board-visibility).
4242

Diff for: content/organizations/managing-organization-settings/allowing-project-visibility-changes-in-your-organization.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
title: Allowing project visibility changes in your organization
33
intro: 'Organization owners can allow members with admin permissions to adjust the visibility of {% data variables.projects.projects_v2_and_v1 %} in their organization.'
44
versions:
5-
feature: classic-project-visibility-permissions-or-projects-v2
5+
fpt: '*'
6+
ghes: '*'
7+
ghec: '*'
68
topics:
79
- Organizations
810
- Projects

Diff for: data/reusables/advanced-formatting/administrator-must-enable-mapping.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% ifversion azure-maps %}
1+
{% ifversion ghes %}
22

33
To display interactive maps, a site administrator must configure the feature for {% data variables.location.product_location %}. For more information, see [AUTOTITLE](/admin/configuration/configuring-user-applications-for-your-enterprise/configuring-interactive-maps).
44

0 commit comments

Comments
 (0)