mirror of
https://github.com/containers/podman-compose.git
synced 2025-08-19 09:51:47 +02:00
Test variable interpolation in the YAML
This commit is contained in:
committed by
Muayyad alsadi
parent
080b8a369e
commit
2ad7daa81f
8
tests/interpolation/docker-compose-question-error.yml
Normal file
8
tests/interpolation/docker-compose-question-error.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
version: "3.7"
|
||||
services:
|
||||
variables:
|
||||
image: busybox
|
||||
command: ["/bin/busybox", "sh", "-c", "export | grep EXAMPLE"]
|
||||
environment:
|
||||
EXAMPLE_QUESTION_ERROR: ${NOT_A_VARIABLE?Missing variable}
|
||||
|
Reference in New Issue
Block a user