Skip to content

Commit 5d1a045

Browse files
committed
Document sandbox limits
Signed-off-by: Nikola Forró <[email protected]>
1 parent fcd4a4b commit 5d1a045

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/configuration/actions.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ bash -c "my fancy $command | grep success"
2424
> It's important to quote the content of the `-c` option so shell interprets it
2525
> correctly as a single option input.
2626
27-
All actions are also executed inside Packit Service. The service
28-
creates a new sandbox environment where the command is run.
27+
SRPM creation actions run in Copr while release syncing actions are executed
28+
in a sandbox environment inside Packit Service. This environment has limited resources.
29+
Your actions shouldn't consume more than 768MiB of memory and use more than 3GiB of disk space.
30+
Be aware that cloned upstream and dist-git repos also count towards this limit.
31+
It is recommended to place any temporary artifacts in a subdirectory of `/tmp`,
32+
as it serves as a non-quota-restricted space for transient files.
2933

3034
Actions have a default behaviour which you can override, hooks don't have any -
3135
hooks are a way for you to perform operations following a certain packit event,
@@ -77,7 +81,7 @@ These apply to `propose-downstream` command/job and `pull-from-upstream` job.
7781

7882
### Creating SRPM
7983

80-
These apply to the `srpm` command and building in COPR.
84+
These apply to the `srpm` command and building in Copr.
8185

8286
| | name | working directory | when run | description |
8387
|--------|-----------------------|-------------------|-----------------------------------------------------------------------|------------------------------------------------------|

0 commit comments

Comments
 (0)