mountReadOnly 定義

要掛接唯讀的磁片區,預設值全部為 false。

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.

注意

此定義是支援的定義,不適合直接在管線中使用。 本文提供此支援類型的 YAML 語法,但不會顯示使用範例。 如需使用此類型所支援之定義的詳細資訊,請參閱下列定義連結。

參考此定義的定義: jobs.job.containerresources.containers.container

屬性

work布林值
將工作目錄掛接為唯讀。

externals布林值
將外部目錄掛接為唯讀。

tools布林值
將工具目錄掛接為唯讀。

tasks布林值
將工作目錄掛接為唯讀。