This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
This directory supplies the ready-made `python` and `dotnet` scripts. They are not reserved:
|
||||
modify, replace, or remove them like any other script. Place other trusted executable install
|
||||
scripts here and add the desired file names to `AGENTCI_INSTALL_SCRIPTS`. Compose mounts the
|
||||
directory read-only at `/etc/agentci/install-scripts`. Executable files run directly; files without
|
||||
executable mode run as POSIX shell scripts through `/bin/sh` so bind mounts do not depend on host
|
||||
file-mode preservation.
|
||||
scripts here and add the desired file names to `AGENTCI_INSTALL_SCRIPTS`. The Docker build copies
|
||||
this directory to `/etc/agentci/install-scripts`, so rebuild the image after changing its contents.
|
||||
Executable files run directly; files without executable mode run as POSIX shell scripts through
|
||||
`/bin/sh`.
|
||||
|
||||
Scripts run from the cloned repository with a sanitized environment. They receive:
|
||||
|
||||
@@ -13,7 +13,7 @@ Scripts run from the cloned repository with a sanitized environment. They receiv
|
||||
- `PATH`: `$DEV_TOOLS_DIR/bin` followed by the service path
|
||||
- `PYTHON_VERSION` and `DOTNET_CHANNEL`: configured built-in runtime versions
|
||||
|
||||
`DEV_TOOLS_DIR` is shared by jobs through the `agentci_data` volume. Put downloaded SDK/runtime
|
||||
`DEV_TOOLS_DIR` is shared by jobs through the `data/agentci` bind mount. Put downloaded SDK/runtime
|
||||
files beneath it and install command wrappers or symlinks into `$DEV_TOOLS_DIR/bin`; that `bin`
|
||||
directory is prepended to implementation agents' `PATH`. Environment changes made by a script do
|
||||
not persist into implementation turns.
|
||||
|
||||
Reference in New Issue
Block a user