Want to use an application in your Stemn pipeline that isn't available here? Create an issue to request it, or submit a pull request with your own version!
All containers in a Stemn pipeline are supplied the following environment variables:
The event that caused the pipeline to be run. Can be revision, commit, or release.
The id of the pipeline.
Any parameters passed to the container using params will be supplied as environment variables with the prefix STEMN_PIPELINE_PARAMS. For example, subject will be STEMN_PIPELINE_PARAMS_SUBJECT.
The root directory of the pipeline data directory. Defaults to /pipeline.
A token for authenticating to the Stemn API as a project user. The token is valid only for the duration of the pipeline.
The directory used for storage of metadata about the pipeline (e.g. files create/changed during the pipeline). Defaults to /pipeline/.stemn.
The uid and gid of the user the container is executing as.
All parameters used for selecting files (e.g. attachments, inputFiles, files) are processed by micromatch which provides wildcard support for selecting multiple files e.g. gear/*.stl.