Enterprise bug fixes for the week of April 18, 2022 (#27124)
This commit is contained in:
@@ -14,9 +14,14 @@ redirect_from:
|
|||||||
- /admin/github-actions/enabling-github-actions-with-minio-gateway-for-nas-storage
|
- /admin/github-actions/enabling-github-actions-with-minio-gateway-for-nas-storage
|
||||||
shortTitle: MinIO Gateway for NAS storage
|
shortTitle: MinIO Gateway for NAS storage
|
||||||
---
|
---
|
||||||
## Prerequisites
|
|
||||||
|
|
||||||
{% data reusables.actions.enterprise-s3-support-warning %}
|
{% warning %}
|
||||||
|
|
||||||
|
**Warning**: MinIO has announced removal of MinIO Gateways. Starting June 1st, 2022, support and bug fixes for the current MinIO NAS Gateway implementation will only be available for paid customers via their LTS support contract. If you want to continue using MinIO Gateways with {% data variables.product.prodname_actions %}, we recommend moving to MinIO LTS support. For more information, see [Scheduled removal of MinIO Gateway for GCS, Azure, HDFS](https://github.com/minio/minio/issues/14331) in the minio/minio repository.
|
||||||
|
|
||||||
|
{% endwarning %}
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
Before enabling {% data variables.product.prodname_actions %}, make sure you have completed the following steps:
|
Before enabling {% data variables.product.prodname_actions %}, make sure you have completed the following steps:
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ Each action is a repository in the `actions` organization, and each action repos
|
|||||||
|
|
||||||
**Notes:**
|
**Notes:**
|
||||||
- When using setup actions (such as `actions/setup-LANGUAGE`) on {% data variables.product.product_name %} with self-hosted runners, you might need to set up the tools cache on runners that do not have internet access. For more information, see "[Setting up the tool cache on self-hosted runners without internet access](/enterprise/admin/github-actions/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access)."
|
- When using setup actions (such as `actions/setup-LANGUAGE`) on {% data variables.product.product_name %} with self-hosted runners, you might need to set up the tools cache on runners that do not have internet access. For more information, see "[Setting up the tool cache on self-hosted runners without internet access](/enterprise/admin/github-actions/setting-up-the-tool-cache-on-self-hosted-runners-without-internet-access)."
|
||||||
- Upgrades to {% data variables.product.product_name %} will not result in the bundled actions being updated.
|
- Bundled actions are automatically updated when {% data variables.product.product_name %} is updated.
|
||||||
|
|
||||||
{% endnote %}
|
{% endnote %}
|
||||||
|
|
||||||
|
|||||||
@@ -66,9 +66,9 @@ Name | Description
|
|||||||
 `user:follow`| Grants access to follow or unfollow other users.
|
 `user:follow`| Grants access to follow or unfollow other users.
|
||||||
**`delete_repo`** | Grants access to delete adminable repositories.
|
**`delete_repo`** | Grants access to delete adminable repositories.
|
||||||
**`write:discussion`** | Allows read and write access for team discussions.
|
**`write:discussion`** | Allows read and write access for team discussions.
|
||||||
 `read:discussion` | Allows read access for team discussions.{% ifversion fpt or ghae or ghec %}
|
 `read:discussion` | Allows read access for team discussions.
|
||||||
**`write:packages`** | Grants access to upload or publish a package in {% data variables.product.prodname_registry %}. For more information, see "[Publishing a package](/github/managing-packages-with-github-packages/publishing-a-package)".
|
**`write:packages`** | Grants access to upload or publish a package in {% data variables.product.prodname_registry %}. For more information, see "[Publishing a package](/github/managing-packages-with-github-packages/publishing-a-package)".
|
||||||
**`read:packages`** | Grants access to download or install packages from {% data variables.product.prodname_registry %}. For more information, see "[Installing a package](/github/managing-packages-with-github-packages/installing-a-package)".
|
**`read:packages`** | Grants access to download or install packages from {% data variables.product.prodname_registry %}. For more information, see "[Installing a package](/github/managing-packages-with-github-packages/installing-a-package)".{% ifversion fpt or ghec or ghes > 3.1 or ghae %}
|
||||||
**`delete:packages`** | Grants access to delete packages from {% data variables.product.prodname_registry %}. For more information, see "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)."{% endif %}
|
**`delete:packages`** | Grants access to delete packages from {% data variables.product.prodname_registry %}. For more information, see "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)."{% endif %}
|
||||||
**`admin:gpg_key`** | Fully manage GPG keys.
|
**`admin:gpg_key`** | Fully manage GPG keys.
|
||||||
 `write:gpg_key`| Create, list, and view details for GPG keys.
|
 `write:gpg_key`| Create, list, and view details for GPG keys.
|
||||||
|
|||||||
@@ -810,8 +810,6 @@ Key | Type | Description
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% ifversion fpt or ghae or ghec %}
|
|
||||||
|
|
||||||
## package
|
## package
|
||||||
|
|
||||||
Activity related to {% data variables.product.prodname_registry %}. {% data reusables.webhooks.action_type_desc %} For more information, see "[Managing packages with {% data variables.product.prodname_registry %}](/github/managing-packages-with-github-packages)" to learn more about {% data variables.product.prodname_registry %}.
|
Activity related to {% data variables.product.prodname_registry %}. {% data reusables.webhooks.action_type_desc %} For more information, see "[Managing packages with {% data variables.product.prodname_registry %}](/github/managing-packages-with-github-packages)" to learn more about {% data variables.product.prodname_registry %}.
|
||||||
@@ -831,7 +829,6 @@ Activity related to {% data variables.product.prodname_registry %}. {% data reus
|
|||||||
### Webhook payload example
|
### Webhook payload example
|
||||||
|
|
||||||
{{ webhookPayloadsForCurrentVersion.package.published }}
|
{{ webhookPayloadsForCurrentVersion.package.published }}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
## page_build
|
## page_build
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ shortTitle: Introduction
|
|||||||
|
|
||||||
## About {% data variables.product.prodname_registry %}
|
## About {% data variables.product.prodname_registry %}
|
||||||
|
|
||||||
{% data variables.product.prodname_registry %} is a platform for hosting and managing packages, including containers and other dependencies. {% data variables.product.prodname_registry %} combines your source code and packages in one place to provide integrated permissions management{% ifversion not ghae %} and billing{% endif %}, so you can centralize your software development on {% data variables.product.product_name %}.
|
{% data variables.product.prodname_registry %} is a platform for hosting and managing packages, including containers and other dependencies. {% data variables.product.prodname_registry %} combines your source code and packages in one place to provide integrated permissions management{% ifversion fpt or ghec %} and billing{% endif %}, so you can centralize your software development on {% data variables.product.product_name %}.
|
||||||
|
|
||||||
You can integrate {% data variables.product.prodname_registry %} with {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} APIs, {% data variables.product.prodname_actions %}, and webhooks to create an end-to-end DevOps workflow that includes your code, CI, and deployment solutions.
|
You can integrate {% data variables.product.prodname_registry %} with {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} APIs, {% data variables.product.prodname_actions %}, and webhooks to create an end-to-end DevOps workflow that includes your code, CI, and deployment solutions.
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ In this guide, you'll create a {% data variables.product.prodname_actions %} wor
|
|||||||
1. Create a new repository on {% data variables.product.prodname_dotcom %}, adding the `.gitignore` for Node. For more information, see "[Creating a new repository](/github/creating-cloning-and-archiving-repositories/creating-a-new-repository)."
|
1. Create a new repository on {% data variables.product.prodname_dotcom %}, adding the `.gitignore` for Node. For more information, see "[Creating a new repository](/github/creating-cloning-and-archiving-repositories/creating-a-new-repository)."
|
||||||
2. Clone the repository to your local machine.
|
2. Clone the repository to your local machine.
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://{% ifversion ghae %}<em>YOUR-HOSTNAME</em>{% else %}github.com{% endif %}/<em>YOUR-USERNAME</em>/<em>YOUR-REPOSITORY</em>.git
|
$ git clone https://{% ifversion ghes or ghae %}<em>YOUR-HOSTNAME</em>{% else %}github.com{% endif %}/<em>YOUR-USERNAME</em>/<em>YOUR-REPOSITORY</em>.git
|
||||||
$ cd <em>YOUR-REPOSITORY</em>
|
$ cd <em>YOUR-REPOSITORY</em>
|
||||||
```
|
```
|
||||||
3. Create an `index.js` file and add a basic alert to say "Hello world!"
|
3. Create an `index.js` file and add a basic alert to say "Hello world!"
|
||||||
@@ -49,7 +49,7 @@ In this guide, you'll create a {% data variables.product.prodname_actions %} wor
|
|||||||
$ git push
|
$ git push
|
||||||
```
|
```
|
||||||
6. Create a `.github/workflows` directory. In that directory, create a file named `release-package.yml`.
|
6. Create a `.github/workflows` directory. In that directory, create a file named `release-package.yml`.
|
||||||
7. Copy the following YAML content into the `release-package.yml` file{% ifversion ghae %}, replacing `YOUR-HOSTNAME` with the name of your enterprise{% endif %}.
|
7. Copy the following YAML content into the `release-package.yml` file{% ifversion ghes or ghae %}, replacing `YOUR-HOSTNAME` with the name of your enterprise{% endif %}.
|
||||||
```yaml{:copy}
|
```yaml{:copy}
|
||||||
name: Node.js Package
|
name: Node.js Package
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ In this guide, you'll create a {% data variables.product.prodname_actions %} wor
|
|||||||
- uses: {% data reusables.actions.action-setup-node %}
|
- uses: {% data reusables.actions.action-setup-node %}
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
registry-url: {% ifversion ghae %}https://npm.YOUR-HOSTNAME.com/{% else %}https://npm.pkg.github.com/{% endif %}
|
registry-url: {% ifversion ghes or ghae %}https://npm.YOUR-HOSTNAME.com/{% else %}https://npm.pkg.github.com/{% endif %}
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm publish
|
- run: npm publish
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user