Skip to content

Commit 04d201a

Browse files
committed
feat: update docs
1 parent 183395d commit 04d201a

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

sources/platform/actors/running/runs_and_builds.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ An Actor is a combination of source code and various settings in a Docker contai
1717
A Docker image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries, and settings. For more information visit Docker's [site](https://www.docker.com/resources/what-container/).
1818
:::
1919

20-
With every new version of an Actor, a new build is created. Each Actor build has its number (for example, **1.2.34**), and some builds are tagged for easier use (for example, _latest_ or _beta_). When running an Actor, you can choose what build you want to run by selecting a tag or number in the run options.
20+
With every new version of an Actor, a new build is created. Each Actor build has its number (for example, **1.2.34**), and some builds are tagged for easier use (for example, _latest_ or _beta_). When running an Actor, you can choose what build you want to run by selecting a tag or number in the run options. To change which build a tag refers to, you can reassign it using the [Actor update](/api/v2/act-put) API endpoint.
2121

2222
![Actor run options](./images/runs_and_builds/actor-run-options.png)
2323

@@ -41,16 +41,16 @@ What's happening inside of an Actor is visible on the Actor run log in the Actor
4141

4242
Both **Actor runs** and **builds** have the **Origin** field indicating how the Actor run or build was invoked, respectively. The origin is displayed in Apify Console and available via [API](https://docs.apify.com/api/v2/actor-run-get) in the `meta.origin` field.
4343

44-
|Name|Origin|
45-
|:---|:---|
46-
|`DEVELOPMENT`|Manually from Apify Console in the Development mode (own Actor)|
47-
|`WEB`|Manually from Apify Console in "normal" mode (someone else's Actor or task)|
48-
|`API`|From [Apify API](https://docs.apify.com/api)|
49-
|`CLI`|From [Apify CLI](https://docs.apify.com/cli/)|
50-
|`SCHEDULER`|Using a schedule|
51-
|`WEBHOOK`|Using a webhook|
52-
|`ACTOR`|From another Actor run|
53-
|`STANDBY`|From [Actor Standby](./standby)|
44+
| Name | Origin |
45+
| :------------ | :-------------------------------------------------------------------------- |
46+
| `DEVELOPMENT` | Manually from Apify Console in the Development mode (own Actor) |
47+
| `WEB` | Manually from Apify Console in "normal" mode (someone else's Actor or task) |
48+
| `API` | From [Apify API](https://docs.apify.com/api) |
49+
| `CLI` | From [Apify CLI](https://docs.apify.com/cli/) |
50+
| `SCHEDULER` | Using a schedule |
51+
| `WEBHOOK` | Using a webhook |
52+
| `ACTOR` | From another Actor run |
53+
| `STANDBY` | From [Actor Standby](./standby) |
5454

5555
## Lifecycle
5656

@@ -81,16 +81,15 @@ flowchart LR
8181
---
8282

8383
| Status | Type | Description |
84-
|:-----------|:-------------|:--------------------------------------------|
84+
| :--------- | :----------- | :------------------------------------------ |
8585
| READY | initial | Started but not allocated to any worker yet |
8686
| RUNNING | transitional | Executing on a worker machine |
8787
| SUCCEEDED | terminal | Finished successfully |
8888
| FAILED | terminal | Run failed |
8989
| TIMING-OUT | transitional | Timing out now |
9090
| TIMED-OUT | terminal | Timed out |
91-
| ABORTING | transitional | Being aborted by the user |
92-
| ABORTED | terminal | Aborted by the user |
93-
91+
| ABORTING | transitional | Being aborted by the user |
92+
| ABORTED | terminal | Aborted by the user |
9493

9594
### Aborting runs
9695

@@ -119,7 +118,7 @@ You can also adjust timeout and memory or change Actor build before the resurrec
119118
1. Abort a broken run
120119
2. Update the Actor's code and build the new version
121120
3. Resurrect the run using the new build
122-
:::
121+
:::
123122

124123
### Data retention
125124

0 commit comments

Comments
 (0)