Skip to content

Commit ca4cab6

Browse files
TC-MOfnesveda
andauthored
Apply suggestions from code review
Co-authored-by: František Nesveda <[email protected]>
1 parent d620709 commit ca4cab6

File tree

1 file changed

+7
-7
lines changed
  • sources/platform/actors/development/builds_and_runs

1 file changed

+7
-7
lines changed

sources/platform/actors/development/builds_and_runs/builds.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ slug: /actors/development/builds-and-runs/builds
1111

1212
## Understand Actor builds
1313

14-
Before an Actor can be run, it needs to be built. The build process creates a snapshot of a specific version of the Actor's settings, including its [source code](../actor_definition/source_code.md) and [environment variables](../programming_interface/environment_variables.md). This snapshot is then used to create Docker image that containing everything the Actor needs for its run, such as NPM packages, web browsers, etc.
14+
Before an Actor can be run, it needs to be built. The build process creates a snapshot of a specific version of the Actor's settings, including its [source code](../actor_definition/source_code.md) and [environment variables](../programming_interface/environment_variables.md). This snapshot is then used to create a Docker image containing everything the Actor needs for its run, such as NPM packages, web browsers, etc.
1515

1616
### Build numbers
1717

18-
Each build is assigned a unique build number if the format _MAJOR\.MINOR\.BUILD_ (e.g. _1\.2\.345_):
18+
Each build is assigned a unique build number in the format _MAJOR\.MINOR\.BUILD_ (e.g. _1\.2\.345_):
1919

2020
- _MAJOR\.MINOR_ corresponds to the Actor version number
2121
- _BUILD_ is an automatically incremented number starting at **1**.
@@ -24,14 +24,14 @@ Each build is assigned a unique build number if the format _MAJOR\.MINOR\.BUILD_
2424

2525
By default, builds have the following resource allocations:
2626

27-
- Timeout of _1800_ seconds
27+
- Timeout: _1800_ seconds
2828
- Memory: `4096 MB`
2929

30-
Check out [Resource limits](../../running/index.md) section for more details.
30+
Check out the [Resource limits](../../running/index.md) section for more details.
3131

3232
## Versioning
3333

34-
To support active development, Actors can have multiple versions versions of source code and associated settings, such as the base image and environment. Each version is denoted by a version number of the form _MAJOR.MINOR_; following [Semantic Versioning](https://semver.org/) principles.
34+
To support active development, Actors can have multiple versions of source code and associated settings, such as the base image and environment. Each version is denoted by a version number of the form _MAJOR.MINOR_, following [Semantic Versioning](https://semver.org/) principles.
3535

3636
For example, an Actor might have:
3737

@@ -41,7 +41,7 @@ For example, an Actor might have:
4141

4242
## Tags
4343

44-
Tags simplify the process of specifying which build to use when running an Actor Instead of using a version number, you can use a tag such as _latest_ or _beta_. Tags are unique, meaning only one build can be associated with a specific tag.
44+
Tags simplify the process of specifying which build to use when running an Actor. Instead of using a version number, you can use a tag such as _latest_ or _beta_. Tags are unique, meaning only one build can be associated with a specific tag.
4545

4646
To set a tag for builds of a specific Actor version:
4747

@@ -52,7 +52,7 @@ By default, the builds are set to the _latest_ tag.
5252

5353
## Cache
5454

55-
To speed up builds triggered via API, you can use the `useCache=1` parameter. This instructs the build process to use cached Docker images and layers instead of pulling the latest copies and building each layer from scratch.
55+
To speed up builds triggered via API, you can use the `useCache=1` parameter. This instructs the build process to use cached Docker images and layers instead of pulling the latest copies and building each layer from scratch. Note that the cached images and layers might not always be available on the server building the image, the `useCache` parameter only functions on a best-effort basis.
5656

5757
:::note Clean builds
5858

0 commit comments

Comments
 (0)