Hack week 2025: remove unneeded FBV instances (7) - GHES, Projects, and CodeQL (#53902)
Co-authored-by: Vanessa <vgrl@github.com>
This commit is contained in:
@@ -562,8 +562,6 @@ ghe-webhook-logs -g DELIVERY_GUID
|
||||
|
||||
## Clustering
|
||||
|
||||
{% ifversion cluster-rebalancing %}
|
||||
|
||||
### ghe-cluster-balance
|
||||
|
||||
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:
|
||||
ghe-cluster-balance help
|
||||
```
|
||||
|
||||
{% endif %}
|
||||
|
||||
### ghe-cluster-maintenance
|
||||
|
||||
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
|
||||
To create a standard bundle including data from the last 2 days:
|
||||
|
||||
```shell
|
||||
ssh -p 122 admin@HOSTNAME -- "ghe-cluster-support-bundle -p {% ifversion bundle-cli-syntax-no-quotes %}2days {% endif %} -o" > support-bundle.tgz
|
||||
ssh -p 122 admin@HOSTNAME -- "ghe-cluster-support-bundle -p 2days -o" > support-bundle.tgz
|
||||
```
|
||||
|
||||
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
|
||||
To create a standard bundle including data from the last 2 days:
|
||||
|
||||
```shell
|
||||
ssh -p 122 admin@HOSTNAME -- "ghe-support-bundle -p {% ifversion bundle-cli-syntax-no-quotes %}2days {% endif %} -o" > support-bundle.tgz
|
||||
ssh -p 122 admin@HOSTNAME -- "ghe-support-bundle -p 2days -o" > support-bundle.tgz
|
||||
```
|
||||
|
||||
To create an extended bundle including data from the last 8 days:
|
||||
|
||||
@@ -188,8 +188,6 @@ On an instance in a high-availability configuration, after you restore to new di
|
||||
|
||||
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 %}.
|
||||
|
||||
{% ifversion backup-utilities-progress %}
|
||||
|
||||
## Monitoring backup or restoration progress
|
||||
|
||||
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
|
||||
```shell copy
|
||||
bin/ghe-backup-progress --once
|
||||
```
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -36,7 +36,6 @@ You can enable a retention policy for checks, actions, and associated data by se
|
||||
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.
|
||||
{% data reusables.enterprise_management_console.save-settings %}
|
||||
|
||||
{% ifversion azure-maps %}
|
||||
{% ifversion ghes < 3.13 %}
|
||||
|
||||
## Enabling interactive maps
|
||||
@@ -44,4 +43,3 @@ You can enable a retention policy for checks, actions, and associated data by se
|
||||
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).
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -4,7 +4,7 @@ intro: 'You can enable the display of interactive maps in the web interface for
|
||||
shortTitle: Configure interactive maps
|
||||
permissions: 'People with access to the {% data variables.enterprise.management_console %} can configure interactive maps.'
|
||||
versions:
|
||||
feature: azure-maps
|
||||
ghes: '*'
|
||||
type: how_to
|
||||
topics:
|
||||
- Enterprise
|
||||
@@ -18,33 +18,27 @@ You can allow users of {% data variables.location.product_location %} to create
|
||||
|
||||
To enable interactive maps, you must provide authentication credentials for Azure Maps.
|
||||
|
||||
{% ifversion azure-maps-auth-2023 %}
|
||||
{% ifversion ghes < 3.13 %}
|
||||
|
||||
> [!WARNING]
|
||||
> 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 %}
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
## Prerequisites
|
||||
|
||||
{% ifversion azure-maps-auth-2023 %}
|
||||
|
||||
{% ifversion ghes < 3.12 %}
|
||||
|
||||
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.
|
||||
|
||||
{% endif %}
|
||||
|
||||
* 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 %}.
|
||||
* 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.
|
||||
|
||||
* 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.
|
||||
|
||||
* Your instance must be able to access https://login.microsoftonline.com.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion ghes < 3.12 %}
|
||||
|
||||
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.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion azure-maps-auth-2023 %}
|
||||
|
||||
## Generating credentials for Azure Maps
|
||||
|
||||
{% ifversion ghes < 3.12 %}
|
||||
@@ -83,16 +75,10 @@ To generate credentials for Azure Maps, you must create an application for your
|
||||
|
||||
* 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.
|
||||
|
||||
{% endif %}
|
||||
|
||||
## Enabling interactive maps
|
||||
|
||||
{% ifversion azure-maps-auth-2023 %}
|
||||
|
||||
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 %}.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% data reusables.enterprise_site_admin_settings.access-settings %}
|
||||
{% data reusables.enterprise_site_admin_settings.management-console %}
|
||||
{% data reusables.enterprise_management_console.privacy %}
|
||||
@@ -104,7 +90,6 @@ After you create an application on your Entra ID tenant and generate a secret fo
|
||||
```
|
||||
|
||||
Store the string in a secure location that you can reference in the next step.
|
||||
{%- ifversion azure-maps-auth-2023 %}
|
||||
1. {% ifversion ghes > 3.11 %}Below the headings, type or paste{% else %}Enter{% endif %} your authentication details for Azure Maps.
|
||||
|
||||
{%- ifversion ghes < 3.11 %}
|
||||
@@ -112,8 +97,8 @@ After you create an application on your Entra ID tenant and generate a secret fo
|
||||
|
||||
{% data reusables.enterprise.azure-maps-auth-warning %}
|
||||
* 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.
|
||||
{%- endif %}
|
||||
|
||||
{%- endif %}
|
||||
* Optionally, to change the style of rendered maps, under "Basemap ID", type the ID for the style you'd like to use.
|
||||
* Under the headings, type or paste your authentication details.
|
||||
|
||||
@@ -124,9 +109,6 @@ After you create an application on your Entra ID tenant and generate a secret fo
|
||||
| Azure Tenant ID | ID for your tenant on Entra ID | [Prerequisites](#prerequisites) |
|
||||
| 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)
|
||||
| CSRF Secret | 32-character string to prevent CSRF attacks | See previous step. |
|
||||
{%- else %}
|
||||
1. To configure authentication, under "Azure Maps API Token", paste your token.
|
||||
{%- endif %}
|
||||
{% data reusables.enterprise_management_console.save-settings %}
|
||||
|
||||
## Disabling interactive maps
|
||||
|
||||
@@ -5,7 +5,7 @@ intro: 'You can force your {% data variables.product.product_name %} cluster to
|
||||
product: '{% data reusables.gated-features.cluster %}'
|
||||
permissions: 'People with administrative SSH access to a {% data variables.product.product_name %} instance can rebalance cluster workloads on the instance.'
|
||||
versions:
|
||||
feature: cluster-rebalancing
|
||||
ghes: '*'
|
||||
type: how_to
|
||||
topics:
|
||||
- Clustering
|
||||
|
||||
@@ -21,9 +21,7 @@ topics:
|
||||
|
||||
You can replace a functional node in a {% data variables.product.product_name %} cluster, or you can replace a node that has failed unexpectedly.
|
||||
|
||||
{% ifversion cluster-rebalancing %}
|
||||
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).
|
||||
{% endif %}
|
||||
|
||||
> [!WARNING]
|
||||
> To avoid conflicts, do not reuse a hostname that was previously assigned to a node in the cluster.
|
||||
|
||||
@@ -50,7 +50,7 @@ If you need more granular control over your {% data variables.product.prodname_c
|
||||
Your repository is eligible for default setup for {% data variables.product.prodname_code_scanning %} if:{% ifversion default-setup-pre-enablement %}
|
||||
<!-- No restrictions on languages. Can be set up before CodeQL supported languages are added. -->
|
||||
{% else %}
|
||||
* It includes at least one {% data variables.product.prodname_codeql %}-supported language{% ifversion codeql-swift-advanced-setup %} aside from Swift{% endif %}.{% endif %}
|
||||
* It includes at least one {% data variables.product.prodname_codeql %}-supported language{% ifversion ghes = 3.10 %} aside from Swift{% endif %}.{% endif %}
|
||||
* {% data variables.product.prodname_actions %} are enabled.{% ifversion fpt %}
|
||||
* It is publicly visible.{%- elsif ghec %}
|
||||
* 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
|
||||
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).
|
||||
{% endif %}
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
{% 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 %}
|
||||
|
||||
@@ -78,7 +78,7 @@ We recommend that you start using {% data variables.product.prodname_code_scanni
|
||||
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.
|
||||
{% endif %}
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ Types of {% data variables.projects.projects_v1_boards %}:
|
||||
|
||||
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 %}.
|
||||
|
||||
{% ifversion classic-project-visibility-permissions %}{% data reusables.projects.owners-can-limit-visibility-permissions %}{% endif %}
|
||||
{% data reusables.projects.owners-can-limit-visibility-permissions %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ allowTitleToDifferFromFilename: true
|
||||
{% data reusables.project-management.project-board-visibility %}
|
||||
|
||||
> [!NOTE]
|
||||
> {% ifversion classic-project-visibility-permissions %}{% data reusables.projects.owners-can-limit-visibility-permissions %}
|
||||
> * {% 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).
|
||||
> {% data reusables.projects.owners-can-limit-visibility-permissions %}
|
||||
> * 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).
|
||||
|
||||
1. Navigate to the {% data variables.projects.projects_v1_board %} you want to make public or private.
|
||||
{% data reusables.project-management.click-menu %}
|
||||
|
||||
@@ -59,13 +59,9 @@ You can also configure workflow automations to keep your {% data variables.proje
|
||||
|
||||
{% data reusables.projects.classic-project-creation %}
|
||||
|
||||
{% ifversion classic-project-visibility-permissions %}
|
||||
|
||||
> [!NOTE]
|
||||
> {% data reusables.projects.owners-can-limit-visibility-permissions %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% data reusables.profile.access_org %}
|
||||
{% data reusables.user-settings.access_org %}
|
||||
{% data reusables.organizations.organization-wide-project %}{% ifversion projects-v2 %}
|
||||
|
||||
@@ -36,7 +36,7 @@ For example, if an organization owner has given all organization members read pe
|
||||
|
||||
## {% data variables.projects.projects_v1_board_caps %} visibility
|
||||
|
||||
{% ifversion classic-project-visibility-permissions %}{% data reusables.projects.owners-can-limit-visibility-permissions %}{% endif %}
|
||||
{% data reusables.projects.owners-can-limit-visibility-permissions %}
|
||||
|
||||
{% 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).
|
||||
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
title: Allowing project visibility changes in your organization
|
||||
intro: 'Organization owners can allow members with admin permissions to adjust the visibility of {% data variables.projects.projects_v2_and_v1 %} in their organization.'
|
||||
versions:
|
||||
feature: classic-project-visibility-permissions-or-projects-v2
|
||||
fpt: '*'
|
||||
ghes: '*'
|
||||
ghec: '*'
|
||||
topics:
|
||||
- Organizations
|
||||
- Projects
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% ifversion azure-maps %}
|
||||
{% ifversion ghes %}
|
||||
|
||||
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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user