the env argument for docker_container wants a dict, not a list (#58475)
This commit is contained in:
parent
e2d159c40c
commit
3ec4739cc7
1 changed files with 4 additions and 4 deletions
|
@ -835,8 +835,8 @@ EXAMPLES = '''
|
||||||
name: test
|
name: test
|
||||||
image: ubuntu:18.04
|
image: ubuntu:18.04
|
||||||
env:
|
env:
|
||||||
- arg1: "true"
|
arg1: "true"
|
||||||
- arg2: "whatever"
|
arg2: "whatever"
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp:/tmp
|
- /tmp:/tmp
|
||||||
comparisons:
|
comparisons:
|
||||||
|
@ -849,8 +849,8 @@ EXAMPLES = '''
|
||||||
name: test
|
name: test
|
||||||
image: ubuntu:18.04
|
image: ubuntu:18.04
|
||||||
env:
|
env:
|
||||||
- arg1: "true"
|
arg1: "true"
|
||||||
- arg2: "whatever"
|
arg2: "whatever"
|
||||||
comparisons:
|
comparisons:
|
||||||
'*': ignore # by default, ignore *all* options (including image)
|
'*': ignore # by default, ignore *all* options (including image)
|
||||||
env: strict # except for environment variables; there, we want to be strict
|
env: strict # except for environment variables; there, we want to be strict
|
||||||
|
|
Loading…
Reference in a new issue