Skip to content

Commit

Permalink
links fix (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
vankovap authored Feb 2, 2025
1 parent 23276cc commit 2b88143
Show file tree
Hide file tree
Showing 18 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion apps/docs/content/bun/how-to/build-pipeline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ Use init commands to clean or initialise your application cache or similar opera
:::caution
The init commands will delay the start of your application each time a new runtime container is started (including the [horizontal scaling](bun/how-to/scaling#horizontal-auto-scaling) or when a runtime container is restarted).

Do not use the init commands for customising your runtime environment. Use the [run:prepareCommands](bun/how-to/build-pipeline#preparecommands-1) attribute instead.
Do not use the init commands for customising your runtime environment. Use the [run:prepareCommands](bun/how-to/build-pipeline#preparecommands1) attribute instead.
:::

#### Command exit code
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/bun/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The default Bun runtime environment contains:
, Zerops command line tool
- `npm`, `yarn`, `git` and `npx` tools

If you prefer the Ubuntu OS instead of Alpine, set the [build.os](/bun/how-to/build-pipeline#os) attribute to `ubuntu`. To install additional packages or tools add one or more <a href="bun/how-to/build-pipeline#preparecommands-1">`run.prepareCommands`</a> commands to your `zerops.yml`.
If you prefer the Ubuntu OS instead of Alpine, set the [build.os](/bun/how-to/build-pipeline#os) attribute to `ubuntu`. To install additional packages or tools add one or more <a href="bun/how-to/build-pipeline#preparecommands1">`run.prepareCommands`</a> commands to your `zerops.yml`.

When the first deploy with a defined `prepareCommands` attribute is triggered, Zerops will

Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/dotnet/how-to/build-process.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ The default .NET build environment contains:
- ASP .NET and Git

:::note
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os) attribute.
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os-) attribute.

Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands).
Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands-).
:::

:::info
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/dotnet/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ The default .NET runtime environment contains:
- ASP .NET and Git

:::note
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os-1) attribute.
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.

Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands-1).
Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
:::

## Runtime Flow
Expand Down
14 changes: 7 additions & 7 deletions apps/docs/content/features/pipeline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ The time limit for the whole build pipeline is **1 hour**. After 1 hour, Zerops

### Customize the build environment

Each runtime service in Zerops has a default build environment with a major version based on the [build.base](/zerops-yml/specification#base-required) attribute in `zerops.yml`.
To install additional packages or tools add one or more [build.prepareCommands](/zerops-yml/specification#preparecommands) commands to your `zerops.yml`.
Each runtime service in Zerops has a default build environment with a major version based on the [build.base](/zerops-yml/specification#base-) attribute in `zerops.yml`.
To install additional packages or tools add one or more [build.prepareCommands](/zerops-yml/specification#preparecommands-) commands to your `zerops.yml`.

Learn more about what is included in the default build environment:

Expand Down Expand Up @@ -266,8 +266,8 @@ Read the [runtime log](/nodejs/how-to/logs#runtime-log) to troubleshoot failed r

## Customize the runtime environment

Each runtime service in Zerops has a default runtime environment with a major version based on the [run.base](/zerops-yml/specification#base) attribute in `zerops.yml`.
To install additional packages or tools add one or more [run.prepareCommands](/zerops-yml/specification#preparecommands-1) commands to your `zerops.yml`.
Each runtime service in Zerops has a default runtime environment with a major version based on the [run.base](/zerops-yml/specification#base--1) attribute in `zerops.yml`.
To install additional packages or tools add one or more [run.prepareCommands](/zerops-yml/specification#preparecommands--1) commands to your `zerops.yml`.

Learn more about what is included in the default runtime environment:

Expand All @@ -282,15 +282,15 @@ Learn more about what is included in the default runtime environment:
/>
</p>

When the first deploy with a defined [prepareCommands](/zerops-yml/specification#preparecommands-1) attribute is triggered, Zerops will
When the first deploy with a defined [prepareCommands](/zerops-yml/specification#preparecommands--1) attribute is triggered, Zerops will

1. create a prepare runtime container
2. optionally: [copy selected folders or files from your build container]
3. run the [run.prepareCommands](/zerops-yml/specification#preparecommands-1) commands in the defined order
3. run the [run.prepareCommands](/zerops-yml/specification#preparecommands--1) commands in the defined order

Some packages or tools can take a long time to install. Therefore, Zerops caches your custom runtime environment after the installation of your custom packages or tools is completed. When the second or following deploy is triggered, Zerops will use the custom runtime cache from the previous deploy if following conditions are met:

1. Content of the [build.addToRunPrepare](/zerops-yml/specification#addtorunprepare) and [run.prepareCommands](/zerops-yml/specification#preparecommands-1) attributes didn't change from the previous deploy
1. Content of the [build.addToRunPrepare](/zerops-yml/specification#addtorunprepare-) and [run.prepareCommands](/zerops-yml/specification#preparecommands--1) attributes didn't change from the previous deploy
2. The custom runtime cache wasn't invalidated in the Zerops GUI.

When the custom runtime cache is used, Zerops doesn't create a prepare runtime container and executes the deployment of your application directly.
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/go/how-to/build-process.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ The default Go build environment contains:
- `git` and `wget`

:::note
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os) attribute.
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os-) attribute.

Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands).
Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands-).
:::

:::info
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/go/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The default Go runtime environment contains:
- Git

:::note
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os-1) attribute.
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.

Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands-1).
Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
:::

## Runtime Flow
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/java/how-to/build-process.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ The default Java build environment contains:
- Git

:::note
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os) attribute.
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os-) attribute.

Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands).
Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands-).
:::

## Description of the build process
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/java/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The default Java runtime environment contains:
- Git

:::note
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os-1) attribute.
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.

Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands-1).
Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
:::

## Runtime Flow
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/nginx/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The default Nginx runtime environment contains:
- Git and Composer

:::note
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os-1) attribute.
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.

Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands-1).
Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
:::

### Runtime Flow
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/nodejs/how-to/build-process.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ The default NodeJS build environment contains:
- NPM, Yarn, Git and NPX tools

:::note
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os) attribute.
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os-) attribute.

Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands).
Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands-).
:::


Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/nodejs/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ The default Node.js runtime environment contains:
- NPM, Yarn, Git and NPX tools

:::note
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os-1) attribute.
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.

Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands-1).
Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
:::

When the first deploy with a defined `prepareCommands` attribute is triggered, Zerops will
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/php/how-to/build-process.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ The default PHP build environment contains:
- [zCLI](/references/cli)

:::note
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os) attribute.
To use Ubuntu instead of the default Alpine, set the [build.os](/zerops-yml/specification#os-) attribute.

Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands).
Additional packages and tools can be installed using [build.prepareCommands](/zerops-yml/specification#preparecommands-).
:::

## PHP build hardware resources
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/content/php/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ The default PHP runtime environment contains:
- Git and Composer

:::note
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os-1) attribute.
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.

Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands-1).
Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
:::

## Runtime Flow
Expand All @@ -33,7 +33,7 @@ When the first deploy with a defined `prepareCommands` attribute is triggered, Z

1. Create a prepare runtime container
2. Optionally: [copy selected folders or files from your build container](/php/how-to/build-pipeline#copy-folders-or-files-from-your-build-container)
3. Run the [run.prepareCommands](/zerops-yml/specification#preparecommands-1) commands in the defined order
3. Run the [run.prepareCommands](/zerops-yml/specification#preparecommands--1) commands in the defined order

## Command exit code

Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/python/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The default Python runtime environment contains:
- Git and PIP

:::note
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os-1) attribute.
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.

Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands-1).
Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
:::

## Runtime Flow
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/references/ssh.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ SSH connections should not be used for making persistent changes to your service
- In [HA mode](/features/scaling-ha), changes via SSH affect only the current container
- Container replacements or scaling events will deploy the original application version
- For persistent changes across all containers, use:
- [`run.prepareCommands`](https://docs.zerops.io/zerops-yml/specification#preparecommands-1)
- [`run.initCommands`](https://docs.zerops.io/zerops-yml/specification#initcommands)
- [`run.prepareCommands`](/zerops-yml/specification#preparecommands--1)
- [`run.initCommands`](/zerops-yml/specification#initcommands-)
4 changes: 2 additions & 2 deletions apps/docs/content/rust/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The default Rust runtime environment contains:
- Git

:::note
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os-1) attribute.
To use Ubuntu instead of the default Alpine, set the [run.os](/zerops-yml/specification#os--1) attribute.

Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands-1).
Additional packages and tools can be installed using [run.prepareCommands](/zerops-yml/specification#preparecommands--1).
:::

### Runtime Flow
Expand Down
24 changes: 12 additions & 12 deletions apps/docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {
type: 'doc',
id: 'features/infrastructure',
},
label: 'Projects, services & containers',
label: 'Projects, Services & Containers',
customProps: {
sidebar_icon: 'server-stack',
},
Expand All @@ -62,7 +62,7 @@ module.exports = {
type: 'doc',
id: 'features/pipeline',
},
label: 'Prepare, build, deploy pipeline',
label: 'Prepare, Build, Deploy Pipeline',
customProps: {
sidebar_icon: 'circle-stack',
},
Expand All @@ -71,7 +71,7 @@ module.exports = {
{
type: 'doc',
id: 'features/build-cache',
label: 'Build cache',
label: 'Build Cache',
customProps: {
exclude_from_doc_list: false,
},
Expand All @@ -89,7 +89,7 @@ module.exports = {
{
type: 'doc',
id: 'features/scaling-ha',
label: 'Automatic scaling & High Availability',
label: 'Automatic Scaling & High Availability',
customProps: {
sidebar_icon: 'adjustments',
},
Expand All @@ -98,7 +98,7 @@ module.exports = {
{
type: 'doc',
id: 'features/access',
label: 'Custom domains & IP access',
label: 'Custom Domains & IP Access',
customProps: {
sidebar_icon: 'globe-europe',
},
Expand Down Expand Up @@ -286,7 +286,7 @@ module.exports = {
},
{
type: 'category',
label: 'Linux containers & VMs',
label: 'Linux Containers & VMs',
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
Expand Down Expand Up @@ -325,7 +325,7 @@ module.exports = {
},
{
type: 'category',
label: 'Databases, search engines & message brokers',
label: 'Databases, Search Engines & Message Brokers',
collapsible: false,
customProps: {
sidebar_is_group_headline: true,
Expand Down Expand Up @@ -471,7 +471,7 @@ module.exports = {
{
type: 'doc',
id: 'zerops-yml/base-list',
label: 'Base list',
label: 'Base List',
customProps: {
sidebar_icon: 'swatch',
},
Expand Down Expand Up @@ -509,15 +509,15 @@ module.exports = {
{
type: 'doc',
id: 'references/cli/commands',
label: 'Available commands',
label: 'Available Commands',
customProps: {
exclude_from_doc_list: false,
},
},
{
type: 'doc',
id: 'references/cli/access-logs',
label: 'Access logs',
label: 'Access Logs',
customProps: {
exclude_from_doc_list: false,
},
Expand Down Expand Up @@ -566,7 +566,7 @@ module.exports = {
},
{
type: 'category',
label: 'Import file',
label: 'Import File',
link: {
type: 'doc',
id: 'references/import',
Expand All @@ -587,7 +587,7 @@ module.exports = {
{
type: 'doc',
id: 'references/importyml/type-list',
label: 'Service types',
label: 'Service Types',
customProps: {
exclude_from_doc_list: false,
},
Expand Down

0 comments on commit 2b88143

Please sign in to comment.