the env argument for docker_container wants a dict, not a list (#58475)

This commit is contained in:
Chris Francy 2019-06-27 21:59:09 -07:00 committed by Felix Fontein
parent e2d159c40c
commit 3ec4739cc7

View file

@ -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