You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
15
15
16
16
### Build numbers
17
17
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_):
19
19
20
20
-_MAJOR\.MINOR_ corresponds to the Actor version number
21
21
-_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_
24
24
25
25
By default, builds have the following resource allocations:
26
26
27
-
- Timeout of_1800_ seconds
27
+
- Timeout:_1800_ seconds
28
28
- Memory: `4096 MB`
29
29
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.
31
31
32
32
## Versioning
33
33
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.
35
35
36
36
For example, an Actor might have:
37
37
@@ -41,7 +41,7 @@ For example, an Actor might have:
41
41
42
42
## Tags
43
43
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.
45
45
46
46
To set a tag for builds of a specific Actor version:
47
47
@@ -52,7 +52,7 @@ By default, the builds are set to the _latest_ tag.
52
52
53
53
## Cache
54
54
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.
0 commit comments