Improve file mode comment

This commit is contained in:
Alex Burlacu 2023-08-24 18:53:00 +03:00
parent edae380a9e
commit 2b815354e0
2 changed files with 7 additions and 5 deletions

View File

@ -206,7 +206,7 @@
default_docker: { default_docker: {
# default docker image to use when running in docker mode # default docker image to use when running in docker mode
image: "nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04" image: "nvidia/cuda:11.0.3-cudnn8-runtime-ubuntu20.04"
# optional arguments to pass to docker image # optional arguments to pass to docker image
# arguments: ["--ipc=host", ] # arguments: ["--ipc=host", ]
@ -302,6 +302,8 @@
# target_format: format used to encode contents before writing into the target file. Supported values are json, # target_format: format used to encode contents before writing into the target file. Supported values are json,
# yaml, yml and bytes (in which case the file will be written in binary mode). Default is text mode. # yaml, yml and bytes (in which case the file will be written in binary mode). Default is text mode.
# overwrite: overwrite the target file in case it exists. Default is true. # overwrite: overwrite the target file in case it exists. Default is true.
# mode: file-system mode to be applied to the file after its creation. The mode string will be parsed into an
# integer (e.g. "0o777" for -rwxrwxrwx)
# #
# Example: # Example:
# files { # files {
@ -367,7 +369,7 @@
# Notice: Matching is done via regular expression, for example "^searchme$" will match exactly "searchme$" string # Notice: Matching is done via regular expression, for example "^searchme$" will match exactly "searchme$" string
# #
# "default_docker": { # "default_docker": {
# "image": "nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04", # "image": "nvidia/cuda:11.0.3-cudnn8-runtime-ubuntu20.04",
# # optional arguments to pass to docker image # # optional arguments to pass to docker image
# # arguments: ["--ipc=host", ] # # arguments: ["--ipc=host", ]
# "match_rules": [ # "match_rules": [

View File

@ -208,7 +208,7 @@ agent {
default_docker: { default_docker: {
# default docker image to use when running in docker mode # default docker image to use when running in docker mode
image: "nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04" image: "nvidia/cuda:11.0.3-cudnn8-runtime-ubuntu20.04"
# optional arguments to pass to docker image # optional arguments to pass to docker image
# arguments: ["--ipc=host"] # arguments: ["--ipc=host"]
@ -218,7 +218,7 @@ agent {
# enterprise version only # enterprise version only
# match_rules: [ # match_rules: [
# { # {
# image: "nvidia/cuda:10.1-cudnn7-runtime-ubuntu18.04" # image: "nvidia/cuda:11.0.3-cudnn8-runtime-ubuntu20.04"
# arguments: "-e define=value" # arguments: "-e define=value"
# match: { # match: {
# script{ # script{
@ -239,7 +239,7 @@ agent {
# } # }
# }, # },
# { # {
# image: "nvidia/cuda:10.1-cudnn7-runtime-ubuntu18.04" # image: "nvidia/cuda:11.0.3-cudnn8-runtime-ubuntu20.04"
# arguments: "-e define=value" # arguments: "-e define=value"
# match: { # match: {
# # must match all requirements (not partial) # # must match all requirements (not partial)