Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into services
Browse files Browse the repository at this point in the history
  • Loading branch information
nermalcat69 committed Nov 29, 2024
2 parents e06e14c + b99b4b1 commit a3008ab
Show file tree
Hide file tree
Showing 49 changed files with 2,597 additions and 1,443 deletions.
31 changes: 26 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,37 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Node.js 18
- uses: actions/cache@v4
id: node-modules-cache
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-
- uses: actions/cache@v4
id: build-cache
with:
path: apps/docs/build/~
key: ${{ runner.os }}-docs-build-${{ hashFiles('apps/docs/**/*') }}
restore-keys: |
${{ runner.os }}-docs-build-
- uses: actions/cache@v4
id: turbo-cache
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Node.js 20
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Run Build
run: yarn build

# - name: Run Lint
# run: yarn lint
72 changes: 60 additions & 12 deletions apps/docs/content/dotnet/how-to/build-pipeline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -509,11 +509,29 @@ For example, to connect to a .NET service with hostname = "app" and port = 5000

Each port has following attributes:

| parameter | description |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| port | Defines the port number. You can set any port number between _10_ and _65435_. Ports outside this interval are reserved for internal Zerops systems. |
| protocol | **Optional.** Defines the protocol. Allowed values are `TCP` or `UDP`. Default value is `TCP`. |
| httpSupport | **Optional.** `httpSupport = true` is the default setting for TCP protocol. Set `httpSupport = false` if a web server isn't running on the port. Zerops uses this information for the configuration of [public access](/features/access). `httpSupport = true` is available only in combination with the TCP protocol. |
<table className="w-full rounded-lg my-1.5">
<thead>
<tr>
<th className="w-fit"><strong>Parameter</strong></th>
<th className="w-fit"><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td className="w-fit">port</td>
<td className="w-fit">Defines the port number. You can set any port number between <em>10</em> and <em>65435</em>. Ports outside this interval are reserved for internal Zerops systems.</td>
</tr>
<tr>
<td className="w-fit">protocol</td>
<td className="w-fit"><strong>Optional.</strong> Defines the protocol. Allowed values are <code>TCP</code> or <code>UDP</code>. Default value is <code>TCP</code>.</td>
</tr>
<tr>
<td className="w-fit">httpSupport</td>
<td className="w-fit"><strong>Optional.</strong> <code>httpSupport = true</code> is the default setting for TCP protocol. Set <code>httpSupport = false</code> if a web server isn't running on the port. Zerops uses this information for the configuration of <a href="/features/access">public access</a>. <code>httpSupport = true</code> is available only in combination with the TCP protocol.</td>
</tr>
</tbody>
</table>


### prepareCommands

Expand Down Expand Up @@ -729,10 +747,25 @@ Read more about how the [health check works] in Zerops.
Configures the health check to run a local command.
Following attributes are available:

| Parameter | Description |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **command** | Defines a local command to be run.<br/>The command has access to the same [environment variables](/dotnet/how-to/create#set-environment-variables) as your .NET application.<br/>A single string is required. If you need to run multiple commands create a shell script or, use a multiline format as in the example below. |

<table className="w-full rounded-lg my-1.5">
<thead>
<tr>
<th className="w-fit"><strong>Parameter</strong></th>
<th className="w-fit"><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td className="w-fit"><strong>command</strong></td>
<td className="w-fit">
Defines a local command to be run.<br/>
The command has access to the same <a href="/dotnet/how-to/create#set-environment-variables">environment variables</a> as your .NET application.<br/>
A single string is required. If you need to run multiple commands create a shell script or, use a multiline format as in the example below.
</td>
</tr>
</tbody>
</table>

**Example:**

```yml
Expand Down Expand Up @@ -808,9 +841,24 @@ Read more about how the [readiness check works](/dotnet/how-to/deploy-process#re
Configures the readiness check to run a local command.
Following attributes are available:

| Parameter | Description |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **command** | Defines a local command to be run.<br/>The command has access to the same [environment variables](/dotnet/how-to/create#set-environment-variables) as your .NET application.<br/>A single string is required. If you need to run multiple commands create a shell script or, use a multiline format as in the example below. |
<table className="w-full rounded-lg my-1.5">
<thead>
<tr>
<th className="w-fit"><strong>Parameter</strong></th>
<th className="w-fit"><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td className="w-fit"><strong>command</strong></td>
<td className="w-fit">
Defines a local command to be run.<br/>
The command has access to the same <a href="/dotnet/how-to/create#set-environment-variables">environment variables</a> as your .NET application.<br/>
A single string is required. If you need to run multiple commands create a shell script or, use a multiline format as in the example below.
</td>
</tr>
</tbody>
</table>

**Example:**

Expand Down
Loading

0 comments on commit a3008ab

Please sign in to comment.