title | description | ms.date | monikerRange |
---|---|---|---|
mountReadOnly definition |
Volumes to mount read-only. |
06/11/2024 |
>=azure-pipelines-2020.1 |
:::moniker range=">=azure-pipelines-2020.1"
Volumes to mount read-only, the default is all false.
:::moniker-end
:::moniker range=">=azure-pipelines-2020.1"
mountReadOnly:
work: boolean # Mount the work directory as readonly.
externals: boolean # Mount the externals directory as readonly.
tools: boolean # Mount the tools directory as readonly.
tasks: boolean # Mount the tasks directory as readonly.
:::moniker-end
:::moniker range=">=azure-pipelines-2020.1"
Note
This definition is a supporting definition and is not intended for use directly in a pipeline. This article provides the YAML syntax for this supporting type, but does not show usage examples. For more information on using the definitions that this type supports, see the following definition links.
Definitions that reference this definition: jobs.job.container, resources.containers.container
:::moniker-end
:::moniker range=">=azure-pipelines-2020.1"
work
boolean.
Mount the work directory as readonly.
:::moniker-end
:::moniker range=">=azure-pipelines-2020.1"
externals
boolean.
Mount the externals directory as readonly.
:::moniker-end
:::moniker range=">=azure-pipelines-2020.1"
tools
boolean.
Mount the tools directory as readonly.
:::moniker-end
:::moniker range=">=azure-pipelines-2020.1"
tasks
boolean.
Mount the tasks directory as readonly.
:::moniker-end