Documentation
¶
Overview ¶
Package supervisor provides the actions-supervisor: a small POSIX shell script Nuon mounts into an image-backed action's container and runs via the image's own /bin/sh. It installs the nuon_output helper and runs the rendered step script. Shipping it as a shell script (rather than a compiled binary) means it runs in any base image that has a shell — which image-backed actions require anyway, since the customer's inline_contents is itself a shell script — with no arch/libc/static-linking concerns.
Index ¶
Constants ¶
View Source
const ( // OutputFilepathEnvVar names the file the nuon_output helper appends to. OutputFilepathEnvVar = "NUON_ACTIONS_OUTPUT_FILEPATH" // RootEnvVar names the workspace root inside the container. RootEnvVar = "NUON_ACTIONS_ROOT" // Filename is the supervisor script name written into the workspace. Filename = ".nuon-actions-supervisor.sh" )
Variables ¶
View Source
var Script []byte
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.