Skip to content

Commit bc51744

Browse files
docubotfrancisfuzz
andauthored
New translation batch for es (#23337)
* Add crowdin translations * Run script/i18n/homogenize-frontmatter.js * Run script/i18n/fix-translation-errors.js * Run script/i18n/lint-translation-files.js --check rendering * run script/i18n/reset-known-broken-translation-files.js * Check in es CSV report Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
1 parent 8931793 commit bc51744

14 files changed

Lines changed: 168 additions & 66 deletions

File tree

translations/es-ES/content/actions/creating-actions/metadata-syntax-for-github-actions.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,15 @@ runs:
133133

134134
For more information on how to use context syntax, see "[Contexts](/actions/learn-github-actions/contexts)."
135135

136+
## `runs`
137+
138+
**Required** Specifies whether this is a JavaScript action, a composite action or a Docker action and how the action is executed.
139+
136140
## `runs` for JavaScript actions
137141

138-
**Required** Configures the path to the action's code and the application used to execute the code.
142+
**Required** Configures the path to the action's code and the runtime used to execute the code.
139143

140-
### Example using Node.js
144+
### Example using Node.js v12
141145

142146
```yaml
143147
runs:
@@ -147,15 +151,18 @@ runs:
147151

148152
### `runs.using`
149153

150-
**Required** The application used to execute the code specified in [`main`](#runsmain).
154+
**Required** The runtime used to execute the code specified in [`main`](#runsmain).
155+
156+
- Use `node12` for Node.js v12.
157+
- Use `node16` for Node.js v16.
151158

152159
### `runs.main`
153160

154-
**Required** The file that contains your action code. The application specified in [`using`](#runsusing) executes this file.
161+
**Required** The file that contains your action code. The runtime specified in [`using`](#runsusing) executes this file.
155162

156163
### `pre`
157164

158-
**Optional** Allows you to run a script at the start of a job, before the `main:` action begins. For example, you can use `pre:` to run a prerequisite setup script. The application specified with the [`using`](#runsusing) syntax will execute this file. The `pre:` action always runs by default but you can override this using [`pre-if`](#pre-if).
165+
**Optional** Allows you to run a script at the start of a job, before the `main:` action begins. For example, you can use `pre:` to run a prerequisite setup script. The runtime specified with the [`using`](#runsusing) syntax will execute this file. The `pre:` action always runs by default but you can override this using [`pre-if`](#pre-if).
159166

160167
In this example, the `pre:` action runs a script called `setup.js`:
161168

@@ -181,7 +188,7 @@ In this example, `cleanup.js` only runs on Linux-based runners:
181188

182189
### `post`
183190

184-
**Optional** Allows you to run a script at the end of a job, once the `main:` action has completed. For example, you can use `post:` to terminate certain processes or remove unneeded files. The application specified with the [`using`](#runsusing) syntax will execute this file.
191+
**Optional** Allows you to run a script at the end of a job, once the `main:` action has completed. For example, you can use `post:` to terminate certain processes or remove unneeded files. The runtime specified with the [`using`](#runsusing) syntax will execute this file.
185192

186193
In this example, the `post:` action runs a script called `cleanup.js`:
187194

@@ -207,11 +214,11 @@ For example, this `cleanup.js` will only run on Linux-based runners:
207214

208215
## `runs` for composite actions
209216

210-
**Required** Configures the path to the composite action, and the application used to execute the code.
217+
**Required** Configures the path to the composite action.
211218

212219
### `runs.using`
213220

214-
**Required** To use a composite action, set this to `"composite"`.
221+
**Required** You must set this value to `'composite'`.
215222

216223
### `runs.steps`
217224

@@ -354,7 +361,7 @@ runs:
354361

355362
**Optional** Allows you to run a script before the `entrypoint` action begins. For example, you can use `pre-entrypoint:` to run a prerequisite setup script. {% data variables.product.prodname_actions %} uses `docker run` to launch this action, and runs the script inside a new container that uses the same base image. This means that the runtime state is different from the main `entrypoint` container, and any states you require must be accessed in either the workspace, `HOME`, or as a `STATE_` variable. The `pre-entrypoint:` action always runs by default but you can override this using [`pre-if`](#pre-if).
356363

357-
The application specified with the [`using`](#runsusing) syntax will execute this file.
364+
The runtime specified with the [`using`](#runsusing) syntax will execute this file.
358365

359366
In this example, the `pre-entrypoint:` action runs a script called `setup.sh`:
360367

translations/es-ES/content/actions/learn-github-actions/contexts.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ The `runner` context contains information about the runner that is executing the
139139
| Property name | Type | Description |
140140
|---------------|------|-------------|
141141
| `runner.name` | `string` | {% data reusables.actions.runner-name-description %} |
142-
| `runner.os` | `string` | {% data reusables.actions.runner-os-description %} |
142+
| `runner.os` | `string` | {% data reusables.actions.runner-os-description %} |{% if actions-runner-arch-envvars %}
143+
| `runner.arch` | `string` | {% data reusables.actions.runner-arch-description %} |{% endif %}
143144
| `runner.temp` | `string` | {% data reusables.actions.runner-temp-directory-description %} |
144145
| `runner.tool_cache` | `string` | {% ifversion ghae %}For instructions on how to make sure your {% data variables.actions.hosted_runner %} has the required software installed, see "[Creating custom images](/actions/using-github-hosted-runners/creating-custom-images)." {% else %} {% data reusables.actions.runner-tool-cache-description %} {% endif %}|
145146

translations/es-ES/content/actions/learn-github-actions/environment-variables.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ We strongly recommend that actions use environment variables to access the files
7979
| `GITHUB_API_URL` | Returns the API URL. For example: `{% data variables.product.api_url_code %}`.
8080
| `GITHUB_GRAPHQL_URL` | Returns the GraphQL API URL. For example: `{% data variables.product.graphql_url_code %}`.
8181
| `RUNNER_NAME` | {% data reusables.actions.runner-name-description %}
82-
| `RUNNER_OS` | {% data reusables.actions.runner-os-description %}
82+
| `RUNNER_OS` | {% data reusables.actions.runner-os-description %}{% if actions-runner-arch-envvars %}
83+
| `RUNNER_ARCH` | {% data reusables.actions.runner-arch-description %}{% endif %}
8384
| `RUNNER_TEMP` | {% data reusables.actions.runner-temp-directory-description %}
8485
{% ifversion not ghae %}| `RUNNER_TOOL_CACHE` | {% data reusables.actions.runner-tool-cache-description %}{% endif %}
8586

translations/es-ES/content/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources/increasing-cpu-or-memory-resources.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,36 @@ It's not possible to add CPU or memory resources to an existing AWS/EC2 instance
5454
3. Start the instance.
5555
{% data reusables.enterprise_installation.configuration-recognized %}
5656

57+
## Adding CPU or memory resources on Microsoft Azure
58+
59+
{% note %}
60+
61+
**Note:** To add CPU or memory resources in Microsoft Azure, you must be familiar with using either the Azure Portal, Azure CLI or Azure Powershell to manage VM instances. For background and details on using the Azure tools of your choice to perform the resize, please refer to the Azure documentation on [changing the size of a virtual machine](https://docs.microsoft.com/en-us/azure/virtual-machines/resize-vm).
62+
63+
{% endnote %}
64+
65+
### Resizing considerations
66+
67+
Before increasing CPU or memory resources for {% data variables.product.product_location %}, review the following recommendations.
68+
69+
- **Scale your memory with CPUs**. {% data reusables.enterprise_installation.increasing-cpus-req %}
70+
- **Assign a static IP address to the instance**. If you haven't assigned a static IP to your instance, you might have to adjust the DNS A records for your {% data variables.product.prodname_ghe_server %} host after the restart to account for the change in IP address.
71+
72+
### Supported Microsoft Azure instance sizes
73+
74+
You need to determine the instance size you would like to upgrade to based on CPU/memory specifications.
75+
76+
{% data reusables.enterprise_installation.warning-on-scaling %}
77+
78+
{% data reusables.enterprise_installation.azure-instance-recommendation %}
79+
80+
### Resizing for Microsoft Azure
81+
82+
You can scale the VM up by changing the VM size. Changing its size will cause it to be restarted. In some cases, you must deallocate the VM first. This can happen if the new size is not available on the hardware cluster that is currently hosting the VM.
83+
84+
1. Refer to the Azure documentation on [changing the size of a virtual machine](https://docs.microsoft.com/en-us/azure/virtual-machines/resize-vm) for the required steps.
85+
{% data reusables.enterprise_installation.configuration-recognized %}
86+
5787
## Adding CPU or memory resources for OpenStack KVM
5888

5989
It's not possible to add CPU or memory resources to an existing OpenStack KVM instance. Instead, you must:

0 commit comments

Comments
 (0)