Skip to content

Commit

Permalink
Merge pull request #35858 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Jan 8, 2025
2 parents 9405435 + 3ffeee2 commit 272a94b
Show file tree
Hide file tree
Showing 27 changed files with 2,788 additions and 388 deletions.
19 changes: 17 additions & 2 deletions .github/branch_protection_settings/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
"workflows",
"lint-code",
"secret-scanning",
"pagelist"
"pagelist",
"docs-internal-docker-image / docs-internal-docker-image",
"docs-internal-docker-security / docs-internal-docker-security",

This comment was marked as spam.

Copy link
@Jean1943700

Jean1943700 Jan 8, 2025

"app_id":

"docs-internal-moda-config-bundle / docs-internal-moda-config-bundle"
],
"contexts_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_status_checks/contexts",
"checks": [
Expand Down Expand Up @@ -85,7 +88,19 @@
{ "context": "workflows", "app_id": 15368 },
{ "context": "lint-code", "app_id": 15368 },
{ "context": "secret-scanning", "app_id": 15368 },
{ "context": "pagelist", "app_id": 15368 }
{ "context": "pagelist", "app_id": 15368 },
{
"context": "docs-internal-docker-image / docs-internal-docker-image",
"app_id": 15368
},
{
"context": "docs-internal-docker-security / docs-internal-docker-security",
"app_id": 15368
},
{
"context": "docs-internal-moda-config-bundle / docs-internal-moda-config-bundle",
"app_id": 15368
}
]
},
"restrictions": {
Expand Down
33 changes: 28 additions & 5 deletions config/moda/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,36 @@
required_builds:
- docs-internal-moda-config-bundle / docs-internal-moda-config-bundle
- docs-internal-docker-image / docs-internal-docker-image
- docs-internal-docker-security / docs-internal-docker-security
# Deploy configuration reference: https://thehub.github.com/epd/engineering/products-and-services/internal/moda/reference/deployment-yaml/

environments:
- name: production
auto_deploy: true
require_pipeline: true
cluster_selector:
profile: general
region: iad

required_builds:
- docs-internal-moda-config-bundle / docs-internal-moda-config-bundle
- docs-internal-docker-image / docs-internal-docker-image
- docs-internal-docker-security / docs-internal-docker-security

# Make the pipeline start automatically when a PR is enqueued
auto_start_pipeline: production_rollout

pipelines:
production_rollout:
thread_notifications: true
notify_users_via_dm: false
timeout: 1200
stages:
- name: full_production
kind: deployment
start_message: We are now going to deploy {{app}}/{{ref}}! Please pause or cancel the pipeline after the deploy if you want more time before auto-merging your pull request(s).
config:
environment: production
timeout: 1200
# gates:
# - kind: timer
# duration: 1200

notifications:
slack_channels:
- '#docs-ops'
1 change: 1 addition & 0 deletions content/rest/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ children:
- /orgs
- /packages
- /pages
- /private-registries
- /projects
- /pulls
- /rate-limit
Expand Down
13 changes: 13 additions & 0 deletions content/rest/private-registries/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Private registries
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
children:
- /organization-configurations
versions:
fpt: '*'
ghec: '*'
---

17 changes: 17 additions & 0 deletions content/rest/private-registries/organization-configurations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Organization configurations
shortTitle: Organization configurations
intro: Use the REST API to manage private registry configurations for organizations.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
topics:
- API
autogenerated: rest
allowTitleToDifferFromFilename: true
---

> [!NOTE]
> The ability to use the REST API to manage private registries is currently in {% data variables.release-phases.public_preview %} and subject to change.
<!-- Content after this section is automatically generated -->
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,66 @@
}
]
},
"organization_private_registries": {
"title": "Organization private registries",
"displayTitle": "Organization permissions for \"Organization private registries\"",
"permissions": [
{
"category": "private-registries",
"slug": "list-private-registries-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries",
"additional-permissions": false,
"access": "read"
},
{
"category": "private-registries",
"slug": "create-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "post",
"requestPath": "/orgs/{org}/private-registries",
"additional-permissions": false,
"access": "write"
},
{
"category": "private-registries",
"slug": "get-private-registries-public-key-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/public-key",
"additional-permissions": false,
"access": "read"
},
{
"category": "private-registries",
"slug": "get-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/{secret_name}",
"additional-permissions": false,
"access": "read"
},
{
"category": "private-registries",
"slug": "update-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "patch",
"requestPath": "/orgs/{org}/private-registries/{secret_name}",
"additional-permissions": false,
"access": "write"
},
{
"category": "private-registries",
"slug": "delete-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "delete",
"requestPath": "/orgs/{org}/private-registries/{secret_name}",
"additional-permissions": false,
"access": "write"
}
]
},
"organization_personal_access_token_requests": {
"title": "Personal access token requests",
"displayTitle": "Organization permissions for \"Personal access token requests\"",
Expand Down
38 changes: 38 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -3819,6 +3819,44 @@
"requestPath": "/repos/{owner}/{repo}/pages/health"
}
],
"private-registries": [
{
"slug": "list-private-registries-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries"
},
{
"slug": "create-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "post",
"requestPath": "/orgs/{org}/private-registries"
},
{
"slug": "get-private-registries-public-key-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/public-key"
},
{
"slug": "get-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
},
{
"slug": "update-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "patch",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
},
{
"slug": "delete-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "delete",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
}
],
"projects": [
{
"slug": "list-organization-projects",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1699,6 +1699,78 @@
}
]
},
"organization_private_registries": {
"title": "Organization private registries",
"displayTitle": "Organization permissions for \"Organization private registries\"",
"permissions": [
{
"category": "private-registries",
"slug": "list-private-registries-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "private-registries",
"slug": "create-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "post",
"requestPath": "/orgs/{org}/private-registries",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "private-registries",
"slug": "get-private-registries-public-key-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/public-key",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "private-registries",
"slug": "get-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/{secret_name}",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "private-registries",
"slug": "update-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "patch",
"requestPath": "/orgs/{org}/private-registries/{secret_name}",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "private-registries",
"slug": "delete-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "delete",
"requestPath": "/orgs/{org}/private-registries/{secret_name}",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
}
]
},
"organization_personal_access_token_requests": {
"title": "Personal access token requests",
"displayTitle": "Organization permissions for \"Personal access token requests\"",
Expand Down
38 changes: 38 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3351,6 +3351,44 @@
"requestPath": "/repos/{owner}/{repo}/pages/health"
}
],
"private-registries": [
{
"slug": "list-private-registries-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries"
},
{
"slug": "create-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "post",
"requestPath": "/orgs/{org}/private-registries"
},
{
"slug": "get-private-registries-public-key-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/public-key"
},
{
"slug": "get-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
},
{
"slug": "update-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "patch",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
},
{
"slug": "delete-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "delete",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
}
],
"projects": [
{
"slug": "list-organization-projects",
Expand Down
38 changes: 38 additions & 0 deletions src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3819,6 +3819,44 @@
"requestPath": "/repos/{owner}/{repo}/pages/health"
}
],
"private-registries": [
{
"slug": "list-private-registries-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries"
},
{
"slug": "create-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "post",
"requestPath": "/orgs/{org}/private-registries"
},
{
"slug": "get-private-registries-public-key-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/public-key"
},
{
"slug": "get-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "get",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
},
{
"slug": "update-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "patch",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
},
{
"slug": "delete-a-private-registry-for-an-organization",
"subcategory": "organization-configurations",
"verb": "delete",
"requestPath": "/orgs/{org}/private-registries/{secret_name}"
}
],
"projects": [
{
"slug": "list-organization-projects",
Expand Down
Loading

0 comments on commit 272a94b

Please sign in to comment.